@teachmepython.bsky.social

The latest episode of The Python Show Podcast is out now. In this episode, I have special guest, Tim Hopper, author of the Python Developer Tooling Handbook. We chat about #Python, tooling in Python, AI, book writing, and lots more!

Pyrefly, a super fast #Python type checker, dropped version 1.2 last week This release includes: 🐍 New support for Bazel  🐍 New support for attrs 🐍 The type checker coverage tool is now stable 🐍 and more!

My friend, Adam Johnson, has released a new versio nf of time-machine, a library for mocking the current date and time in Python tests New features: 🐍 Python 3.15 support 🐍 Faster patched functions 🐍 Subinterpreter support 🐍 Built-in freezegun migration

Django 6.1 is out now! New features include: 🐍Database level delete options for ForeignKey 🐍Dictionary based email settings 🐍Support for Python 3.12-3.14 🐍Model field fetch modes and more!

collections.ChainMap is a built-in Python class that groups multiple dictionaries or mappings into a single, updatable view. Instead of merging dictionaries and creating new data structures in memory, it links them by reference so you can search and manage them as one

Bild

Have you ever used #Python's deque collection before? A deque is designed specifically for fast, memory-efficient, and thread-safe additions and removals from both ends You can even rotate a deque! Here are some examples:

Bild

Have you ever used the psutil package? It's a great #Python package for getting information about your computer's hardware, and it's cross-platform! Here's an example of getting your RAM:

Bild

Have you tried out the `collections` module in #Python? I really like it. One of my favorite parts of collections if `Counter` which gives you an easy way to take in an iterable and find the most common values within it

Bild

The latest version of Ruff came out last week. Ruff is a rust-base #Python linter and formatter that is super fast! With v0.16.0, Ruff enables 413 rules by default, up from 59 in previous versions.

The EuroPython keynote with Guido van Rossum (creator of #Python) and Pablo Galindo Salgado and Łukasz Langa (core developers) is up now on YouTube. 🐍🔥 This looks like a fun one!

Want to run a #Python script without needing to install Python? Try the new taipan package! Taipan creates a single self-contained binary (Zig + embedded CPython) that runs PEP 723 scripts on machines with no Python installed.