Skip to content

2025

πŸ“‘ Python radar - February/March 2025

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

🐍 The Mutable Trap: Avoiding Unintended Side Effects In Python (pybit.es)
A good reminder on why mutable default parameters in function should be avoided/ In summary, don't do this: f(args=[])

βš™οΈ Using uv to build and install Python CLI apps (mathspp.com)
A nice and quick workflow to setup and install your own CLI app using uv

🧠 The surprising way to save memory with BytesIO (pythonspeed.com)
TL;DR BytesIO getvalue() method does not copy the content as long as you just read from it, that's it !

πŸ€– kdunee/intentguard: A Python library for verifying code properties using natural language assertions (github.com)
What's interesting with this project is that it embeds a small local LLM "fine-tuned from Llama-3.2-1B-Instruct" which runs locally usingΒ llamafile, just "pip-install-it". Disclaimer: I haven't tested it so I don't how good it is, but I like the idea.

πŸ“‘ Python radar - January 2025

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

πŸ› οΈ Cowboy Debugging Python Memory Leaks (rtpg.co)
A recipe for monitoring your app's memory usage live in production, a somewhat cavalier approach but effective!

πŸš€ Better Python Developer Productivity with RDD (REPL Driven Development) (davidvujic.blogspot.com)
The author expands on one of his previous articles (davidvujic.blogspot.com) (which is worth a read) about what could be referred to as "interactive" development, meaning code that is re-executed live during editing with results displayed in overlay in the IDE, I like the concept.

⚠️ Mistakes engineers make in large established codebases (seangoedecke.com)
We slightly diverge from Python here, but here are some relevant recommendations when starting to develop in a "big" complex codebase, notably the main recommendation which is to maintain consistency across the project, illustrated by the author as: You must resist the urge to make your little corner of the codebase nicer than the rest of it.

πŸ“Š Python tools for data visualization (pyviz.org)
A site that lists various Python data visualization tools and aims to help users choose the tool best suited for their needs.

πŸ” How to Use Regular Expressions in Python (blog.appsignal.com)
A quite useful and well-made tutorial that helps you understand a bit better how to use regex in Python.

πŸ“‘ Python radar - December 2024

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

βš™οΈ google/python-fire: automatically generate CLIs from any Python object (github.com)
This tool allows you to automatically create a command line interface (with arguments, options, help, etc.) from a simple Python object, minimalistic and practical.

πŸ–ΌοΈ pyvista/pyvista: streamlined interface for the Visualization Toolkit (VTK) (github.com)
Here’s a Pythonic interface to the famous scientific visualization library VTK that relies on Numpy to manipulate datasets and integrates well with Jupyter to quickly create beautiful interactive displays, not necessarily new but it popped up on my radar.

πŸ•ΉοΈ kitao/pyxel: A retro game engine for Python (github.com)
Okay, this one may not be very relevant in a professional context, but I’m throwing it here for the nostalgic ones πŸ˜‰

πŸ“ Advanced Python Development Workflow in Emacs (blog.serghei.pl)
A very detailed article on how to set up a complete Python development environment in Emacs

πŸ“¦ uv: An In-Depth Guide to Python's Fast and Ambitious New Package Manager (saaspegasus.com)
And yet another article about uv, but I recommend reading this one which clearly describes two types of development workflows with uv: one that’s closer to the classic workflow (uv venv, uv pip install, etc.), and a simpler native uv workflow (uv sync, uv add, uv run) that masks some complexities.