Planet Python RSS
210 subscribers
18.4K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Armin Ronacher: Latent Powers

Link: https://lucumr.pocoo.org/2026/9/5/latent-powers/

A few weeks ago I felt like it would be fun to see if I can make one of those
cheap Chinese CarPlay dongles run something other than the stock firmware. The
idea was that rather than just forwarding
The Python Coding Stack: How I Code (Late 2026 Version)

Link: https://www.thepythoncodingstack.com/p/how-i-code-late-2026-version

You open a blank .py file in your favourite IDE. You have a blank page in front of you. You start writing code.This is how it used to be. And perhaps it’s how it still is for you. This is how I wrote
Glyph Lefkowitz: ... but what about video games?

Link: https://blog.glyph.im/2026/09/but-what-about-video-games.html

I get asked this rhetorical question a lot, in various forms:

Sure, datacenters might use a lot of energy, but you don’t have to use a
hosted frontier model to do software development. What if I jus
Graham Dumpleton: Live tracing with wrapture

Link: https://grahamdumpleton.me/posts/2026/09/live-tracing-with-wrapture/

When I wrote about unit testing with wrapture the pattern in every test was the same: create a binding on a method, open a timeline(), run the code, and read the recorded calls off the tape. What I di
Bob Belderbos: 5 design patterns used in my new habit tracker app

Link: https://belderbos.dev/blog/python-patterns-django-habit-tracker/

There are plenty of habit trackers, but I wanted to build mine with constraints, a calendar view and habit streaks. So I built commitgraph: a small Django + HTMX app. Here are five Python design and t
Graham Dumpleton: Zero-code tracing with wrapture

Link: https://grahamdumpleton.me/posts/2026/09/zero-code-tracing-with-wrapture/

The previous post traced the shop with three bindings and a sink, all applied from the program's own entry point. That is fine when the program is yours. It is less fine when the application is one yo
LernerPython blog, from Reuven Lerner: Claude Code always produces something. That’s the hard part.

Link: https://lernerpython.com/2026/09/08/claude-code-always-produces-something/


For many months, I’ve been using Claude Code several hours each day. Not to experiment, but to get work done. A growing amount of the functionality behind LernerPython.com is now written with Claude
Python Bytes: #495 Banned

Link: https://pythonbytes.fm/episodes/show/495/banned

Topics covered in this episode:

EuroPython 2026 videos are online
The State of Django 2026: Boring is so back
htmx 4.0.0 has been released
🐍 Functionally Zen
Extras
Joke
Watch on YouTube
Sponsored by
PyCoder’s Weekly: Issue #751: Profiling, From pandas to Polars, NotImplemented, and More (2026-09-08)

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

#751 – SEPTEMBER 8, 2026 View in Browser » Profiling and Making Apps Fast by Default How do you plan for the performance of your Python applications? What does a performance budget entail, and w
Django Weblog: Call for volunteers: Fundraising Working Group

Link: https://www.djangoproject.com/weblog/2026/sep/08/call-for-volunteers-fundraising-working-group/

The Django Software Foundation is looking for people to join the Fundraising Working Group.
This is a particularly interesting time to get involved.
The DSF has raised its 2026 fundraising goal to $50
Graham Dumpleton: Tracing Flask with wrapture

Link: https://grahamdumpleton.me/posts/2026/09/tracing-flask-with-wrapture/

For a web application the natural unit of tracing is the request: one HTTP request, its method, path and status, and every observed call made while handling it, as one tree. The config file from last
Python GUIs: How to Check if a QLineEdit is Empty in Python — Empty strings are falsey in Python

Link: https://www.pythonguis.com/faq/check-qlineedit-empty-pyqt/

A reader asked:

I just want to know, how do I check whether a QLineEdit is empty or not?

The QLineEdit class doesn't have an isEmpty() method which you can call to find out if the line edit is empty
Python GUIs: Fixing Crashes When Using NumPy Arrays with QImage in Qt Threads — How to safely pass image data between threads when streaming video or updating displays

Link: https://www.pythonguis.com/faq/crashing-in-qrunner-threads-with-numpy/


I'm using a threaded runner to stream a live video feed by converting a NumPy array to a QImage, then to a QPixmap, and displaying it on a QLabel. But I'm frequently encountering crashes when the lab
Python GUIs: Clean up on exit — Stopping threads when closing a PyQt6 application — How to properly shut down background threads and workers when your application window is closed

Link: https://www.pythonguis.com/faq/clean-up-on-exit-application/


I'm using QThreadPool and worker threads in my PyQt application. When I click the X button to close the window, the threads keep running in the background. What's the best way to clean everything up
Bob Belderbos: Database-Driven RBAC with FastAPI and Azure Entra ID

Link: https://belderbos.dev/blog/database-driven-rbac-fastapi-azure-entra/

This came out of a coaching project: a FastAPI service backing a geotechnical database. We use Azure Entra ID for authentication, but we needed role-based access control (RBAC) granularly per endpoint
Armin Ronacher: Astra for Coding: Why Are We Doing This Again?

Link: https://lucumr.pocoo.org/2026/9/7/astra-why/

I’m more and more convinced that all of AI engineering is
Neijuan (内卷, meaning curl inwards). In
China it describes a system that demands ever more effort and competition
without improving output. T
Graham Dumpleton: Finding slow code with wrapture

Link: https://grahamdumpleton.me/posts/2026/09/finding-slow-code-with-wrapture/

The /order endpoint of the Flask shop is slow. The view calls the order service, the service calls the gateway and then the ledger, and the question is which of those the time is going to. To give the
EuroPython: EuroPython 2026: Videos Published

Link: https://blog.europython.eu/europython-2026-videos-published/

Hi all Pythonistas! 👋EuroPython 2026 took over the ICE Congress Centre in Kraków from 13 - 19 July and it wouldn’t have been possible without all of our attendees, speakers, volunteers, and sponsors.
Hugo van Kemenade: Soft-deprecating re.match()

Link: https://hugovk.dev/blog/2026/soft-deprecating-re.match/

Quick, without looking it up, what does re.match() do? Which of these return a match?
import re
re.match("pi", "pi")
re.match("pi", "pie")
re.match("pi", "api")
re.match("pi", "magpie")
How does it co
Django Weblog: PyCharm & Django Fundraiser Extended to September 14

Link: https://www.djangoproject.com/weblog/2026/sep/10/pycharm-django-fundraiser-extended/

The second half of our annual JetBrains fundraiser has been extended through September 14, 2026. Thank you to JetBrains for the extra time. You still have time to renew your PyCharm license or give it