Planet Python RSS
217 subscribers
16.6K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Software Foundation: Affirm Your PSF Membership Voting Status

Link: https://pyfound.blogspot.com/2025/07/affirm-your-psf-membership-voting-status.html

Every PSF voting-eligible Member (Supporting, Contributing, and Fellow) needs to affirm their membership to vote in this year’s election.If you wish to vote in this year’s PSF Board election, you must
Real Python: Python Scope and the LEGB Rule: Resolving Names in Your Code

Link: https://realpython.com/python-scope-legb-rule/

The scope of a variable in Python determines where in your code that variable is visible and accessible. Python has four general scope levels: local, enclosing, global, and built-in. When searching fo
Michael Droettboom: How to think about LLMs for OSS development

Link: http://droettboom.com/blog/2025/07/13/how-to-think-about-llms-for-oss-development/

In July, I had the honor of giving a keynote talk at PyCon Colombia 2025. This isn't exactly what I said on stage, but it is the script I was working from. Since some people prefer to read rather th
Wingware: Wing Python IDE Version 11.0.2 - July 17, 2025

Link: https://wingware.com/news/2025-07-17

Wing Python IDE version 11.0.2 is now available. It improves source code analysis,
avoids multiple duplicate evaluation of values in the Watch tool, fixes ruff as an
external code checker in the Code
Matt Layman: Enhancing Chatbot State Management with LangGraph

Link: https://www.mattlayman.com/blog/2025/enhancing-chatbot-state-management/

Picture this: it’s late and I’m deep in a coding session, wrestling with a chatbot that’s starting to feel more like a living thing than a few lines of Python. Today’s mission? Supercharge the chatbot
The Python Coding Stack: Do You Really Know How `or` And `and` Work in Python?

Link: https://www.thepythoncodingstack.com/p/do-you-really-know-how-or-and-and-work-in-python

Let's start with an easy question. Play along, please. I know you know how to use the or keyword, just bear with me for a bit…Have you answered? If you haven't, please do, even if this is a simple que
Mike Driscoll: Announcing Squall: A TUI SQLite Editor

Link: https://www.blog.pythonlibrary.org/2025/07/18/announcing-squall-a-tui-sqlite-editor/

Squall is a SQLite viewer and editor that runs in your terminal. Squall is written in Python and uses the Textual package. Squall allows you to view and edit SQLite databases using SQL. You can check
Talk Python to Me: #514: Python Language Summit 2025

Link: https://talkpython.fm/episodes/show/514/python-language-summit-2025

Every year the core developers of Python convene in person to focus on high priority topics for CPython and beyond. This year they met at PyCon US 2025. Those meetings are closed door to keep focused
Daniel Roy Greenfeld: uv run for running tests on versions of Python

Link: https://daniel.feldroy.com/posts/2025-07-uv-run-for-testing-python-versions

The uv library is not just useful for dependency management, it also comes with a run subcommand that doesn't just run Python scripts, it allows for specific Python versions and setting of dependencie
Armin Ronacher: Welcoming The Next Generation of Programmers

Link: https://lucumr.pocoo.org/2025/7/20/the-next-generation/

This post is addressed to the Python community, one I am glad to be a member of.
I'm product of my community. A decade ago I wrote about how much I owed the
Python community. Recently I found
myself
Go Deh: All Truth in Truthtables!

Link: http://paddy3118.blogspot.com/2025/07/all-truth-in-truthtables.html

    (Best viewed on a larger than phone screen)To crib from my RosettaCode tasks description and examples:A truth table is a display of the inputs to, and the output of a Boolean equation
organised a
Real Python: What Does isinstance() Do in Python?

Link: https://realpython.com/what-does-isinstance-do-in-python/

Python’s isinstance() function helps you determine if an object is an instance of a specified class or its superclass, aiding in writing cleaner and more robust code. You use it to confirm that functi
Python Bytes: #441 It's Michaels All the Way Down

Link: https://pythonbytes.fm/episodes/show/441/its-michaels-all-the-way-down

<strong>Topics covered in this episode:</strong><br>

<ul>
<li><em>* Distributed sqlite follow up: <a href="https://turso.tech?featured_on=pythonbytes">Turso</a> and <a href="https://litestream.io?fe
death and gravity: When to use classes in Python? When you repeat similar sets of functions

Link: https://death.andgravity.com/same-functions

Are you having trouble figuring out when to use classes or how to organize them?
Have you repeatedly searched for "when to use classes in Python",
read all the articles and watched all the talks,
and
Test and Code: 235: pytest-django - Adam Johnson

Link: https://testandcode.com/episodes/pytest-django

In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, incl
Real Python: Exploring Python Closures: Examples and Use Cases

Link: https://realpython.com/courses/closures-examples-use-cases/

In Python, a closure is typically a function defined inside another function. This inner function grabs the objects defined in its enclosing scope and associates them with the inner function object it
PyCoder’s Weekly: Issue #691: Inheritance, Logging, marimo, and More (July 22, 2025)

Link: https://pycoders.com/issues/691

#691 – JULY 22, 2025 View in Browser » Inheritance Over Composition, Sometimes In a older post, Adrian wrote some code using inheritance. He got questions from his readers as why it wouldn’t jus
Python Insider: Python 3.14 release candidate 1 is go!

Link: https://pythoninsider.blogspot.com/2025/07/python-314-release-candidate-1-is-go.html

It’s the
first 3.14 release candidate!
https://www.python.org/downloads/release/python-3140rc1/
This is the first release candidate of Python
3.14
This release, 3.14.0rc1, is the penultimate release
p
Python Morsels: Don't call dunder methods

Link: https://www.pythonmorsels.com/avoid-dunder-methods/

It's best to avoid calling dunder methods. It's common to define dunder methods, but uncommon to call them directly.


Table of contents

What is a dunder method?
Define dunder methods on your classes
Daniel Roy Greenfeld: TIL: Single source version package builds with uv

Link: https://daniel.feldroy.com/posts/til-2025-07-single-source-version-package-builds-with-uv


Remove version in pyproject.toml and replace with dynamic = ["version"]
Add [tool.setuptools.dynamic] and specify the location of the version using this dialogue: version = { attr = "mypackage.__vers