Planet Python RSS
209 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Real Python: Quiz: The pandas DataFrame: Make Working With Data Delightful

Link: https://realpython.com/quizzes/pandas-dataframe/

In this quiz, you’ll test your understanding of the
pandas DataFrame.
By working through this quiz, you’ll review how to create pandas DataFrames, access and modify columns, insert and sort data, extr
Rodrigo Girão Serrão: Remove extra spaces

Link: https://mathspp.com/blog/remove-extra-spaces


Learn how to remove extra spaces from a string using regex, string splitting, a fixed point, and itertools.groupby.
In this article you'll learn about three different ways in which you can remove ext
Real Python: Automate Python Data Analysis With YData Profiling

Link: https://realpython.com/ydata-profiling-eda/

The YData Profiling package generates an exploratory data analysis (EDA) report with a few lines of code. The report provides dataset and column-level analysis, including plots and summary statistics
Rodrigo Girão Serrão: TIL #139 – Multiline input in the REPL

Link: https://mathspp.com/blog/til/multiline-input-in-the-repl


Today I learned how to do multiline input in the REPL using an uncommon combination of arguments for the built-in open.
A while ago I learned I could use open(0) to open standard input.
This unlocks
Brett Cannon: State of WASI support for CPython: March 2026

Link: https://snarky.ca/state-of-wasi-support-for-cpython-march-2026/

It&aposs been a while since I posted about WASI support in CPython! 😅 Up until now, most of the work I have been doing around WASI has been making its maintenance easier for me and other core develope
Python Morsels: When are classes used in Python?

Link: https://www.pythonmorsels.com/when-are-classes-used/

While you don't often need to make your own classes in Python, they can sometimes make your code reusable and easier to read.



Table of contents

Using classes because a framework requires it
Passin
Python Bytes: #471 The ORM pattern of 2026?

Link: https://pythonbytes.fm/episodes/show/471/the-orm-pattern-of-2026

Topics covered in this episode:

Raw+DC: The ORM pattern of 2026?
pytest-check releases
Dataclass Wizard
SQLiteo - “native macOS SQLite browser built for normal people”
Extras
Joke
Watch on YouTube
Ab