Python Thread Safety, A Manim demo with Ben Sparks and more
Python 3.13, what didn't make the headlines, Introducing the new starter kit for Wagtail CMS with some more interesting news, articles, packages and projects
News
Posting 2.0 released
Posting is a powerful HTTP client that runs entirely inside your terminal. Version 2.0 has just arrived, bringing some powerful new features to Posting, including scripting, keymaps, and more!
Call for Participation: Python devroom @ FOSDEM 2025
PyBay 2024 conference talk videos are now online!
Python Software Foundation Fellow Members for Q2 2024! 🎉
Articles
Python Thread Safety: Using a Lock and Other Techniques
Python threading lets us run different parts of our code at the same time, making it faster. But we might face problems like race conditions if we don’t handle thread safety properly. In this article, Adarsh Divakaran explained how to find and prevent these problems using tools like locks, semaphores, events, conditions, and barriers.
# Adarsh Divakaran
In this video, Grant Sanderson, who created the Manim (Mathematical Animation Engine) package, explained its background and showed examples of how to make amazing animated math videos. He also mentioned that there are two versions available: his original version and a better-documented and maintained fork.
# Grant Sanderson
Python 3.13, what didn't make the headlines
There are many articles about the Python 3.13 release. Most focus on the new REPL, the no-GIL build, the experimental JIT and improved error messages. But this Bite code article covered other interesting updates that didn’t get as much attention.
# Bite code
Sometimes you might write a simple Python code without an IDE, maybe on a remote server or a small script and if something goes wrong, it's hard to find the issue. In that case, you can use pdb (The Python Debugger) or try ipdb, a similar tool with more features. In this video, Jake Manger shows how to debug code using the ipdb package.
# Jake Manger
Introducing the new starter kit for Wagtail CMS
Currently, if you want to play around with Wagtail CMS, most people head to the Wagtail Bakery Demo (bakerydemo) but the Bakery Demo is not the best starting point. In this article, Jake Howard shared about Wagtail News Template which was created by Torchbox, a template specifically designed to get you off the ground, so to speak. Out of the box, you get a high-performance, production-grade Wagtail site, complete with a fully-featured frontend, and even dark mode.
# Jake Howard
Interesting Packages and Projects to explore
Result - A simple Rust-like Result type for Python 3. Fully type annotated.
python-calamine - Python binding for Rust's library for reading Excel and odf file - calamine.
PyAudio - PyAudio provides Python bindings for PortAudio
About Upcoming Python Events
Canberra Python meetup
Nov 7, 2024
DFW Pythoneers 2nd Saturday Teaching Meeting
Nov 7, 2024