The State of Python 2025, Python Type Checkers, Loguru and more
with some more interesting news, articles, packages and projects
News
PyCon Sweden 2024
Articles
The State of Python 2025
Michael Kennedy reviewed over 30,000 responses from the eighth annual Python Developers Survey and shared the key trends, insights and takeaways in this post.
# Michael Kennedy
How to Use Redis with Python
Many of us use Redis strings for caching, but Redis actually supports several other data types like Hashes, Lists, Sets, Bitmaps, HyperLogLogs, etc. Each of these comes with its own commands: for example, HSET
, HGET
and HDEL
for hashes, or LPUSH
, LGET
and LREM
for lists. In this article, Federico Trotta explained some of these data types and showed how to use them with examples.
# Federico Trotta
Custom parametrization scheme with Pytest
Parametrizing tests makes it easy to run them across multiple scenarios. But the default syntax has one drawback, it’s hard to tell which parameters belong to which scenario just by looking at the logs. In this article, Christos Liontos shared a clever solution using a custom hook to tackle this problem.
# Christos Liontos
How Well Do New Python Type Checkers Conform? A Deep Dive into Ty, Pyrefly, and Zuban
Python’s type checking space has been very active recently. Three new tools - Ty, Pyrefly and Zuban
, have emerged as promising options. In this article, Rob Hand reviewed the popular type checkers, shared highlights of these new tools, shared Conformance Suite analysis results of them and shared the gap between conformance and real-world usage.
# Rob Hand
Production-Grade Python Logging Made Easier with Loguru
Loguru is one of popular logging libraries, many say it’s what Python’s default logging should have been. If you’d like to learn how to use it, check out this article by Ayooluwa Isaiah. He covered everything from Loguru’s philosophy to how you can bring your Python logs into an observability pipeline.
# Ayooluwa Isaiah
Interesting Packages and Projects to Explore
Thonny - Python IDE for beginners
Cosmic Ray - Mutation testing
Tach - A Python tool to maintain a modular package architecture.
Expression - Practical functional programming for Python 3.10+
TkForge - Drag & drop in Figma to create a Python GUI with ease
Recent Noteworthy Package Releases
pydantic-ai 1.0.0 - Agent Framework / shim to use Pydantic with LLMs
haystack-experimental 0.13.0 - Experimental components and features for the Haystack LLM framework
lancedb 0.25.0 - Developer-friendly, embedded retrieval engine for multimodal AI. Search More; Manage Less
graphiti-core 0.20.x - A temporal graph building library
torchao 0.13.0 - Package for applying ao techniques to GPU models
dag-factory 1.0.0 - Dynamically build Apache Airflow DAGs from YAML files
certbot-dns-cloudflare 5.0.0 - Cloudflare DNS Authenticator plugin for Certbot
pyrefly 0.31.0 - A fast Python type checker written in Rust
fastexcel 0.15.x - A fast excel file reader for Python, written in Rust
pyexasol 1.0.0 - Exasol python driver with extra features
trl 0.22.x - Train transformer language models with reinforcement learning
inference-cli 0.54.x - With no prior knowledge of machine learning or device-specific deployment, you can deploy a computer vision model to a range of devices and environments using Roboflow Inference
sparkmeasure 0.26.0 - Python API for sparkMeasure, a tool for performance troubleshooting of Apache Spark workloads
tokenizers 0.22.0 - 💥 Fast State-of-the-Art Tokenizers optimized for Research and Production