Planet Python RSS
209 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Seth Michael Larson: Respecting maintainer time should be in security policies

Link: https://sethmlarson.dev/respecting-maintainer-time-should-be-in-security-policies?utm_campaign=rss

Generative AI tools becoming more common means that vulnerability reports
these days are loooong. If you're an open source maintainer, you
unfortunately know what I'm talking about. Markdown-formatted
The Python Coding Stack: “Python’s Plumbing” Is Not As Flashy as “Magic Methods” • But Is It Better?

Link: https://www.thepythoncodingstack.com/p/pythons-plumbing-is-not-as-flashy

You’ve heard this phrase before: “Everything is an object in Python”. But here’s another phrase that’s related but rather less catchy:Everything goes through special methods (dunder methods) in Python
Real Python: Start Building With FastAPI

Link: https://realpython.com/courses/start-building-with-fastapi/

FastAPI is a web framework for building APIs with Python. It leverages standard Python type hints to provide automatic validation, serialization, and interactive documentation. When you’re deciding be
PyCoder’s Weekly: Issue #723: Chained Assignment, Great Tables, Docstrings, and More (Feb. 24, 2026)

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

#723 – FEBRUARY 24, 2026 View in Browser » Chained Assignment in Python Bytecode When doing chained assignment with mutables (e.g. a == b == []) all chained values get assigned to a single mutab
Django Weblog: Google Summer of Code 2026 with Django

Link: https://www.djangoproject.com/weblog/2026/feb/24/google-summer-of-code-2026-with-django/

When we learned that the Django Software Foundation has been accepted as a mentoring organization for Google Summer of Code 2026, it marked another steady milestone in a long-standing relationship. Dj
Real Python: How to Run Your Python Scripts and Code

Link: https://realpython.com/run-python-scripts/

Running Python scripts is essential for executing your code. You can run Python scripts from the command line using python script.py, directly by making files executable with shebangs on Unix systems,
Python Morsels: Lexicographical ordering in Python

Link: https://www.pythonmorsels.com/lexicographical-ordering/

Python lexicographically orders tuples, strings, and all other sequences, comparing element-by-element.



Table of contents

String ordering
Lexicographical ordering
Lexicographical ordering with tup
Python⇒Speed: Unit testing your code's performance, part 2: Testing speed

Link: https://pythonspeed.com/articles/speed-unit-tests/

In a previous post I talked about unit testing for speed, and in particular testing for big-O scalability.
The next step is catching cases where you’ve changed not the scalability, but the direct effi
Graham Dumpleton: Deploying Educates yourself

Link: https://grahamdumpleton.me/posts/2026/02/deploying-educates-yourself/

In my last post I showed how an AI skill can generate a complete interactive workshop for the Educates training platform. The result was a working workshop for the Air Python web framework, and you ca
PyPodcats: Episode 11: With Sheena O'Connell

Link: https://pypodcats.live/episodes/ep-11/

Learn about Sheena's journey. Sheena is a software engineer with high passion for education. She built an alternative education systems with deep expertise in effective teaching and educator developme
Real Python: Quiz: Hands-On Python 3 Concurrency With the asyncio Module

Link: https://realpython.com/quizzes/python-3-concurrency-asyncio-module/

This quiz sharpens your intuition for Python’s asyncio module. You’ll decide when async is the right tool, see how the event loop schedules work, and understand how coroutines pause and resume around
Real Python: Quiz: Dependency Management With Python Poetry

Link: https://realpython.com/quizzes/dependency-management-python-poetry/

Test your understanding of Dependency Management With Python Poetry.
You’ll revisit how to install Poetry the right way, create new projects, manage virtual environments, declare and group dependencie
Real Python: The Real Python Podcast – Episode #286: Overcoming Testing Obstacles With Python's Mock Object Library

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

Do you have complex logic and unpredictable dependencies that make it hard to write reliable tests? How can you use Python's mock object library to improve your tests? Christopher Trudeau is back on t
Seth Michael Larson: Deprecate confusing APIs like “os.path.commonprefix()”

Link: https://sethmlarson.dev/deprecate-confusing-apis-like-os-path-commonprefix?utm_campaign=rss

The os.path.commonprefix() function has been an API in the Python
standard library for at least 35 years (since February 1991)
and in that time has been confusing users and creating security
issues, e
Ned Batchelder: Pytest parameter functions

Link: https://nedbatchelder.com/blog/202602/pytest_parameter_functions

Pytest’s parametrize is a great feature for writing tests without repeating
yourself needlessly. (If you haven’t seen it before, read
Starting with pytest’s parametrize first).
When the data gets comp
EuroPython: Humans of EuroPython: Daksh P. Jain

Link: https://blog.europython.eu/humans-of-ep-daksh/

Behind every attendee registered, there&aposs a community. Behind every talk, a team. EuroPython isn&apost just a conference—it&aposs a labor of grace, 100% volunteer-powered. To the wranglers who her
Graham Dumpleton: Reviewing workshops with AI

Link: https://grahamdumpleton.me/posts/2026/02/reviewing-workshops-with-ai/

In my previous post I walked through deploying an AI-generated Educates workshop on a local Kubernetes cluster. The workshop was up and running, accessible through the training portal, and ready to be
Talk Python to Me: #538: Python in Digital Humanities

Link: https://talkpython.fm/episodes/show/538/python-in-digital-humanities

Digital humanities sounds niche, until you realize it can mean a searchable archive of U.S. amendment proposals, Irish folklore, or pigment science in ancient art. Today I’m talking with David Flood f
Seth Michael Larson: “The Legend of Zelda: Link’s Awakening” respects your time

Link: https://sethmlarson.dev/links-awakening?utm_campaign=rss



I played “The Legend of Zelda: Link’s Awakening” for the first time in January and
early February. The game took me 13 hours to complete the main story and
a few optional side quests. I started play