Planet Python RSS
210 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Jaime Buelta: Jev webinar video

Link: https://wrongsideofmemphis.com/2026/10/21/jev-webinar-video/

I hosted a webinar on the 20th talking about the Jev model, which is a new AI decision model that works well in responding quickly to simple questions to a particular piece of information. This model
Rodrigo Girão Serrão: Tachyon: sampling profiling in Python

Link: https://mathspp.com/blog/tachyon-sampling-profiling-in-python


Learn how to use Tachyon, Python's sampling profiler.
“Tachyon” is a new sampling profiler that was introduced in Python 3.15.
It provides a CLI that allows running and profiling scripts or attaching
Python Software Foundation: Mark Your Calendars! PSF Board Office Hours for the Year Ahead

Link: https://pyfound.blogspot.com/2026/10/mark-your-calendars-psf-board-office.html

Greetings, Pythonistas- thank you so much for supporting the work of the PSF and the Python community! The newest PSF Board has decided to continue investing in connecting with the global Python commu
Daniel Roy Greenfeld: TIL: How to extract subtitles from video

Link: https://daniel.feldroy.com/posts/til-2026-10-how-to-extract-subtitles-from-video

Recently I've been making more and more videos for my youtube channel. I like videos with subtitles, and decided to add them to my own efforts. This is what I do:
This command assumes you have uv and
Peter Hoffmann: Loading 33,000 Peaks on Demand with a z10 Tile Grid

Link: https://peter-hoffmann.com/2026/loading-peaks-on-demand-with-a-z10-tile-grid.html

biwak.info is my mobile-first map of Alpine huts and
bivouacs. Recently I wanted to add peaks: tap anywhere near a summit and get its
name, elevation, prominence, a photo and the Wikipedia link. The d
Mariatta: Python Core Sprint 2026: Day 3

Link: https://mariatta.ca/posts/python-core-sprint-2026-day-3/

Day 3 of the Python Core Sprint, yesterday, was my last day in the room. Today
I’m traveling to Seattle for SeaGL, where I’m one of the keynote speakers. With the bots
settled on Cabotage and Heroku s
LernerPython blog, from Reuven Lerner: Pandas DatetimeIndex slicing: Fix KeyError with sort_index

Link: https://lernerpython.com/2026/10/20/pandas-datetimeindex-slicing-fix-keyerror-with-sort-index/


Slice an unsorted datetime index in Python Pandas, and you’ll likely get:
KeyError: ‘Value based partial slicing on non-monotonic DatetimeIndexes with non-existing keys is not allowed.’
Why? If the d
Zero-with-Dot (Oleg Żero): Text-to-Diagram for AI Systems: Designing a DSL an LLM Gets Right

Link: https://zerowithdot.com/blog/text-to-diagram-for-ai-systems/

Introduction
I have worked on sensor design, e-commerce, airlines, medicine and CAD software, in several countries. The domains could not be more different, yet one problem kept coming back: people do
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