Planet Python RSS
210 subscribers
18.4K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Rodrigo Girão Serrão: Module profiling overview

Link: https://mathspp.com/blog/module-profiling-overview


Learn about the new module profiling that was introduced in Python 3.15 to organise the built-in profiling tools.
The standard library module profiling organises the built-in profiling tools that Pyt
LernerPython blog, from Reuven Lerner: Pandas offset aliases for resample: ME, MS, and other codes

Link: https://lernerpython.com/2026/10/23/pandas-offset-aliases-for-resample-me-ms-and-other-codes/


Using resample in Python Pandas? You’ll want a list of “offset aliases,” the codes that let you specify units.
Some are surprising, such as “ME” and “MS” for “month end” and “month start”.
They’re at
Go Deh: Finding Flaws in Technical Documentation

Link: http://paddy3118.blogspot.com/2026/10/finding-flaws-in-technical-documentation.html

 An ideaI spent some time on a project and had finished updating the tutorials and reference documentation I'd created as Markdown .md files. Then I suddenly thought:Why not use the AI to test the doc
LernerPython blog, from Reuven Lerner: Pandas MultiIndex: Select rows by the outer level with loc

Link: https://lernerpython.com/2026/10/24/pandas-multiindex-select-rows-by-the-outer-level-with-loc/


To retrieve all rows from a multi-indexed Python Pandas data frame or series based on the outermost index, use “loc”:
(
pd
.read_parquet('/Users/reuven/Data/nyc_taxi_2025-11.parquet')
.groupby(['
Stein Magnus Jodal: Introduction to barcode parsing

Link: https://jodal.dev/2026/10/26/barcode-parsing/

Barcodes are everywhere.
They’re so omnipresent that we easily take them for granted,
and rarely think about their existence and how they really work.
Meanwhile,
barcodes are extremely important for a
The Python Coding Stack: A New Price Without Breaking the Old One • The O in SOLID

Link: https://www.thepythoncodingstack.com/p/open-closed-principle-python-solid-series-ocp

The potion shop has a special price for apprentices. They receive ten per cent off a potion’s full price, including any rare-ingredient surcharge.We’ve visited this shop before. In The Potion Shop Tha
Rodrigo Girão Serrão: TypedDict with extra items

Link: https://mathspp.com/blog/typeddict-with-extra-items


Learn how to define a TypedDict that accepts extra items of a given type.
A TypedDict is a type constructor that allows creating specialised types for dictionaries that have a fixed set of string key
Django Weblog: Natalia Bidart - Planned short-term leave

Link: https://www.djangoproject.com/weblog/2026/oct/26/natalia-bidart-planned-short-term-leave/

After more than three years as a Django Fellow, I will be taking a three-month break from Fellow duties during November, December, and January. This time will allow me to properly rest, reset, and rec
Graham Dumpleton: AI slop is the new TLDR

Link: https://grahamdumpleton.me/posts/2026/10/ai-slop-is-the-new-tldr/

It is hard to get through a day online at the moment without someone dismissing something as "AI slop". A pull request, a library, a whole project, all written off with two words. When the thing being
RoseHosting Blog: How to Set Up Flask Python Application with Gunicorn and NGINX on Ubuntu 26.04

Link: https://www.rosehosting.com/blog/how-to-set-up-flask-python-application-with-gunicorn-and-nginx-on-ubuntu-26-04/

Flask is one of the most popular microframeworks for creating websites in Python. Gunicorn (Green Unicorn) is a WSGI (Web ...
Read More
The post How to Set Up Flask Python Application with Gunicorn a
"Michiel's Blog": Python on my wrist

Link: https://tildeweb.nl/~michiel/python-on-my-wrist.html

I have a PineTime. It is a cheap, open,
hackable smartwatch from Pine64.

It’s not an Apple Watch
When people see it, they think: that looks like a smartwatch, so it must be a
smartwatch. Like an Appl
PyPy: The Shift of Theseus — Toy Bit Provenance Abstract Domain

Link: https://www.pypy.org/posts/2026/10/toy-bit-provenance.html

The Knownbits Toy abstract domain that I wrote about earlier is great for
all kinds of bit manipulation rewrites. However, it is not particularly good at
recognizing where bits move around in a sequen