Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Docs Editorial Board: Meeting Minutes: Oct 14, 2025

Link: https://python.github.io/editorial-board/updates/2025-10-14/

Meeting Minutes from Python Docs Editorial Board: Oct 14, 2025
Ari Lamstein: Visualizing Border Patrol Encounters Under the Second Trump Administration

Link: https://arilamstein.com/blog/2025/10/16/visualizing-border-patrol-encounters-under-the-second-trump-administration/

Summary: I just updated my Immigration Enforcement Streamlit App with Border Patrol data from the current administration. This post walks through what changed and why it matters.
Last week, I publishe
Graham Dumpleton: Wrapping immutable objects

Link: https://grahamdumpleton.me/posts/2025/10/wrapping-immutable-types/

I am finally close to releasing wrapt version 2.0.0. The release has been delayed a bit as someone raised a number of questions about special Python dunder methods which the ObjectProxy class in wrapt
Real Python: The Real Python Podcast – Episode #270: Evolving Teaching Python in the Classroom

Link: https://realpython.com/podcasts/rpp/270/

How is teaching young students Python changing with the advent of LLMs? This week on the show, Kelly Schuster-Paredes from the Teaching Python podcast joins us to discuss coding and AI in the classroo
Armin Ronacher: Building an Agent That Leverages Throwaway Code

Link: https://lucumr.pocoo.org/2025/10/17/code/

In August I wrote about my experiments with replacing
MCP (Model Context
Protocol) with code. In
the time since I utilized that idea for exploring non-coding agents at
Earendil. And I’m not alone!
Daniel Roy Greenfeld: Using Asyncpg with FastAPI and Air

Link: https://daniel.feldroy.com/posts/2025-10-using-asyncpg-with-fastapi-and-air

Recently I've was on a few projects using PostgreSQL where SQLAlchemy and SQLModel felt like overkill. Instead of using those libraries I leaned on writing SQL queries and running those directly in as
Hugo van Kemenade: Three times faster with lazy imports

Link: https://hugovk.dev/blog/2025/lazy-imports/

PEP 810 proposes “explicit lazy imports” for Python
3.15:

Lazy imports defer the loading and execution of a module until the first time the
imported name is used, in contrast to ‘normal’ imports, whi
Graham Dumpleton: Wrapt version 2.0.0

Link: https://grahamdumpleton.me/posts/2025/10/wrapt-version-2-0-0/

After a few delays, I have finally released version 2.0.0 of wrapt.
This release has a major version bump for a number of reasons.
The first main reason is simply because there hasn't been any release
Graham Dumpleton: Use lazy module imports now

Link: https://grahamdumpleton.me/posts/2025/10/use-lazy-module-imports-now/

I already made a post a couple of weeks ago about how one could use wrapt to implement lazy module imports for Python. This was in response to PEP 810 (explicit lazy imports) being announced.
The mean
The Python Coding Stack: Are Tuples More Like Lists or Strings? And Why We Don't Really Care • [Club]

Link: https://www.thepythoncodingstack.com/p/are-tuples-more-like-lists-or-strings

This post is not about tuples. It’s not about lists or strings, either. It’s about Python, about its philosophy when dealing with data types, about how you should think about data types when coding in
Stéphane Wirtel: Retour aux études : ma formation en intelligence artificielle chez Alyra

Link: https://wirtel.be/post/2025/10/18/retour-aux-etudes-ma-formation-en-intelligence-artificielle-chez-alyra/

Depuis fin septembre, j’ai commencé une formation sur le développement en intelligence artificielle chez Alyra. Un retour passionnant vers les bases du machine learning et du deep learning, entre math
Real Python: When Should You Use .__repr__() vs .__str__() in Python?

Link: https://realpython.com/python-repr-vs-str/

One of the most common tasks that a computer program performs is to display data. The program often displays this information to the program’s user. However, a program also needs to show information t
Ari Lamstein: When One Graph Isn’t Enough: Upcoming Streamlit Workshop

Link: https://arilamstein.com/blog/2025/10/20/when-one-graph-isnt-enough-upcoming-streamlit-workshop/

Have you ever worked with a dataset so rich, so multidimensional, that no single graph—or even a dashboard—could do it justice?
That was the challenge I kept running into as a data scientist and educa
Python Morsels: Python 3.14's new t-string syntax

Link: https://www.pythonmorsels.com/t-strings-in-python/

Python’s new t-strings may look like f-strings, but they work in a totally different way, allowing you to delay string interpolation.



Table of contents

String formatting: a very brief history
How
Python Bytes: #454 It's some form of Elvish

Link: https://pythonbytes.fm/episodes/show/454/its-some-form-of-elvish

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

<ul>
<li><em>* <a href="https://pypi.org/project/djrest2/?featured_on=pythonbytes">djrest2 -</em>* A small and simple REST library for Django bas
Armin Ronacher: Regulation Isn’t the European Trap — Resignation Is

Link: https://lucumr.pocoo.org/2025/10/21/eu-resigation/

Plenty has been written about how hard it is to build in Europe versus the US.
The list is always the same with little process: brittle politics, dense
bureaucracy, mandatory notaries, endless and rig
Reuven Lerner: Your personal mentor for Python and Pandas

Link: https://lerner.co.il/2025/10/21/your-personal-mentor-for-python-and-pandas/

I’ve been teaching Python and Pandas for decades — in companies, at conferences, and on YouTube — and I keep hearing the same frustrations everywhere I go:

“I understand the basics, but Pandas still