Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
PyCoder’s Weekly: Issue #705: Lazy Imports, Descriptors, REPL Customization, and More (Oct. 21, 2025)

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

#705 – OCTOBER 21, 2025 View in Browser » Python Lazy Imports You Can Use Today There’s a proposal for Python to natively support lazy importing starting in Python 3.15. However, there are techn
Seth Michael Larson: Drawing an ASCII TIE fighter for post-quantum cryptography

Link: https://sethmlarson.dev/drawing-an-ascii-tie-fighter-for-post-quantum-cryptography?utm_campaign=rss

This is a funny short story about contributing to internet standards.
The real heroes of the story are Filippo Valsorda and all the other contributors to post-quantum cryptography standards (PQC). Wit
Real Python: Quiz: What Can I Do With Python?

Link: https://realpython.com/quizzes/what-can-i-do-with-python/

How well do you know the different areas where Python shines? In this quiz, you’ll revisit web apps and APIs, GUI apps, CLI tools, machine learning, and more.
You’ll also check what Python isn’t suite
Daniel Roy Greenfeld: uv+just for testing multiple Python versions

Link: https://daniel.feldroy.com/posts/2025-10-uv-just-for-testing-multiple-python-versions

For years I used tox and nox to test my Python projects against multiple Python versions on multiple operating systems. While both tools are powerful, they require configuration complex enough that I
Real Python: What Can I Do With Python?

Link: https://realpython.com/what-can-i-do-with-python/

If you’re new to programming and considering Python, knowing what you can do with it can be motivating. Python is used in many fields, including web and desktop development, data science, artificial i