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
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
Python⇒Speed
Unit testing your code’s performance, part 2: Catching speed changes
Got benchmarks in CI? You can (maybe) use tests to catch performance changes even earlier.
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
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
grahamdumpleton.me
Deploying Educates yourself - Graham Dumpleton
Educates is open source, not a SaaS. Deploy it yourself, wherever you want.
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
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
pypodcats.live
Episode 11 with Sheena O'Connell
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 development. She is a founder of Prelude.tech
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
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
Realpython
Hands-On Python 3 Concurrency With the asyncio Module Quiz – Real Python
Test your asyncio skills with a focused quiz on coroutines, event loops, generators, and IO-bound concurrency in Python 3.
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
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
Dependency Management With Python Poetry Quiz – Real Python
Test your knowledge of Python Poetry, from installation and virtual environments to lock files, dependency groups, and updates.
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
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
Realpython
Episode #286: Overcoming Testing Obstacles With Python's Mock Object Library – The Real Python Podcast
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 the show this week with another batch of PyCoder's Weekly…
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
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
sethmlarson.dev
Deprecate confusing APIs like “os.path.commonprefix()”
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...
standard library for at least 35 years (since February 1991)
and in that time has been confusing users and creating security
issues...
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
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
Nedbatchelder
Pytest parameter functions
Pytest’s parametrize can be made even more powerful with your own helper functions to build test cases.
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
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
EuroPython Blog
Humans of EuroPython: Daksh P. Jain
Behind every attendee registered, there's a community. Behind every talk, a team. EuroPython isn't just a conference—it's a labor of grace, 100% volunteer-powered.
To the wranglers who herded sessions, the code guardians updating the conference website,…
To the wranglers who herded sessions, the code guardians updating the conference website,…
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
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
grahamdumpleton.me
Reviewing workshops with AI - Graham Dumpleton
Having the Claude browser extension review an Educates workshop as a real user would.
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
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
talkpython.fm
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 from Harvard’s DARTH team about an unglamorous problem:…
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
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
sethmlarson.dev
“The Legend of Zelda: Link’s Awakening” respects your time
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 p...
early February. The game took me 13 hours to complete the main story and
a few optional side quests. I started p...
Tryton News: Tryton News March 2026
Link: https://discuss.tryton.org/t/tryton-news-march-2026/9121
In the last month we focused on fixing bugs, improving the behaviour of things, speeding-up performance issues - building on the changes from our last release. We also added some new features which
Link: https://discuss.tryton.org/t/tryton-news-march-2026/9121
In the last month we focused on fixing bugs, improving the behaviour of things, speeding-up performance issues - building on the changes from our last release. We also added some new features which
Tryton Discussion
Tryton News March 2026
In the last month we focused on fixing bugs, improving the behaviour of things, speeding-up performance issues - building on the changes from our last release. We also added some new features which we would like to introduce to you in this newsletter. For…
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
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
Real Python
The pandas DataFrame: Make Working With Data Delightful Quiz – Real Python
Test your pandas skills! Practice DataFrame basics, column access, creation, sorting, and data manipulation in this interactive quiz.
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
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
Mathspp
Remove extra spaces
Learn how to remove extra spaces from a string using regex, string splitting, a fixed point, and itertools.groupby.
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
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
Realpython
Automate Python Data Analysis With YData Profiling – Real Python
Automate exploratory data analysis by transforming DataFrames into interactive reports with one command from YData Profiling.
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
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
Mathspp
TIL 139 – 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.
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
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
Tall, Snarky Canadian
State of WASI support for CPython: March 2026
It's 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 developers. For instance, the cpython-devcontainer repo now provides…
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
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
Pythonmorsels
When are classes used in Python?
While you don't often need to make your own classes in Python, they can sometimes make your code reusable and easier to read.
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
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
pythonbytes.fm
The ORM pattern of 2026?
News and announcements from the Python community for the week of Mar 2nd, 2026