Planet Python RSS
209 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Tibo Beijen: Introducing the Zen of DevOps

Link: https://www.tibobeijen.nl/2026/02/23/introducing-the-zen-of-devops/

Introduction Over the past ten years or so, my role has gradually shifted from software to platforms. More towards the ‘ops’ side of things, but coming from a background that values APIs, automation,
Real Python: Quiz: Build a Hash Table in Python With TDD

Link: https://realpython.com/quizzes/python-hash-table/

In this quiz, you’ll review hash functions, collision resolution strategies, hash function distribution, the avalanche effect, and key principles of Test-Driven Development.
For more practice and cont
Real Python: Python for Loops: The Pythonic Way

Link: https://realpython.com/python-for-loop/

Python’s for loop allows you to iterate over the items in a collection, such as lists, tuples, strings, and dictionaries. The for loop syntax declares a loop variable that takes each item from the col
Anarcat: PSA: North america changes time forward soon, Europe next

Link: https://anarc.at/blog/2026-02-23-dst-warning/

This is a copy of an email I used to send internally at work and now
made public. I'm not sure I'll make a habit of posting it here,
especially not twice a year, unless people really like it. Right
no
Python Bytes: #470 A Jolting Episode

Link: https://pythonbytes.fm/episodes/show/470/a-jolting-episode

Topics covered in this episode:

Better Python tests with inline-snapshot
jolt Battery intelligence for your laptop
Markdown code formatting with ruff
act - run your GitHub actions locally
Extras
Joke
PyBites: Why do we insist on struggling alone?

Link: https://pybit.es/articles/why-do-we-insist-on-struggling-alone/

A realisation about my son’s basketball team reminded me that we should never be ashamed to ask for help, or better yet, seek formal coaching/support.
Last year, for two straight seasons, my son’s tea
Israel Fruchter: Coodie: A 4-year-old idea brought to life by AI (and some coffee)

Link: http://fruch.github.io/python/2026/02/24/coodie-ai-pydantic-odm

Coodie: A 4-year-old idea brought to life by AI (and some coffee)
So, let’s rewind a bit. About four years ago, I was looking at Beanie — this really nifty, Pydantic-based ODM for MongoDB. And as some
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