Making a Simple HTTP Server with Asyncio, Application Logging in Python and more
with some more interesting news, articles, packages and projects
News
Thinking about running for the PSF Board?
PyData London 2025 Videos
Python 3.14.0 beta 4 is here!
This release, 3.14.0b4, is the last of four planned beta releases.
In Python 3.14, Free-threaded will be fully supported as non-experimental
Articles
Koan 1: The Empty Path
In Python, writing if some_object:
is super common and convenient, but have you ever wondered how it actually works behind the scenes or how you can customise that behaviour for your own classes? If not, then you should definitely check out this article by Vivis Dev, where both questions are answered clearly with practical examples.
# Vivis Dev
Making a Simple HTTP Server with Asyncio Protocols
In this article, Jacob Padilla walked through building a simple HTTP server from scratch using asyncio
Protocols - no external libraries. It's a great way to understand how an HTTP server works under the hood.
# Jacob Padilla
Building and Sharing a Practical Python Security Checklist
Some Python functions and tools can introduce subtle security risks if not used carefully. In this article, Adrien highlights examples like eval
, exec
, pickle
, XSS issues and insecure password hashing, along with safer alternatives to use instead.
# Adrien
Application Logging in Python: Recipes for Observability
Logs are crucial for understanding what's happening inside your application, especially in production, where debugging isn't an option. Along with metrics and traces, effective logging provides a clear picture of issues and behaviour. This article by the dash0 team is a must-read for mastering logging in Python. It covers structured JSON logs, centralised logging config and enriching logs with contextvars
and other modern observability practices.
# dash0 team
Simon Willison shared a short demo where he used Claude Code to implement a new GitHub Actions workflow to add a feature to one of his GitHub repositories. A neat example of how AI can assist in real development tasks.
# Simon Willison
Interesting Packages and Projects to Explore
Injector - Python dependency injection framework, inspired by Guice
Ibis - The portable Python dataframe library
Pegen - CPython's PEG parser generator
htmy - Async, pure-Python server-side rendering engine
cryptography - cryptography is a package which provides cryptographic recipes and primitives to Python developers
Recent Noteworthy Package Releases
pybind11 3.0.0 - Seamless operability between C++11 and Python
mcp 1.11.0 - Model Context Protocol SDK
great-tables 0.18.0 - Easily generate information-rich, publication-quality tables from Python.
google-adk 1.6.1 - Agent Development Kit
Datasets 4.0.0 - HuggingFace community-driven open-source library of datasets
Pandera 0.25.0 - A light-weight and flexible data validation and testing tool for statistical data objects.
browser-use 0.5.x - Make websites accessible for AI agents
SQLGlot 27.0.0 - An easily customizable SQL parser and transpiler
Modin 0.34.0 - Make your pandas code run faster by changing one line of code.
pyOCD 0.37.0 - Cortex-M debugger for Python