Unit Testing: Catching Speed Changes This second post in a series covers how to use unit testing to ensure the performance of your code. This post talks about catching differences in performance after code has changed. ITAMAR TURNER-TRAURING
Lexicographical Ordering in Python Python lexicographically orders tuples, strings, and all other sequences, comparing element-by-element. Learn what this means when you compare values or sort. TREY HUNNER
Start Building With FastAPI Learn how to build APIs with FastAPI in Python, including Pydantic models, HTTP methods, CRUD operations, and interactive documentation. REAL PYTHONcourse
Serving Private Files With Django and S3 Django’s FileField and ImageField are good at storing files, but on their own they don’t let you control access. Serving files from S3 just makes this more complicated. Learn how to secure a file behind your login wall. RICHARD TERRY
FastAPI Error Handling: Types, Methods, and Best Practices FastAPI provides various error-handling mechanisms to help you build robust applications. With built-in validation models, exceptions, and custom exception handlers, you can build robust and scalable FastAPI applications. HONEYBADGER.IO • Shared by Addison Curtis
CLI Subcommands With Lazy Imports Python 3.15 will support lazy imports, meaning modules don’t get pulled in until they are needed. This can be particularly useful with Command Line Interfaces where a subcommand doesn’t need everything to be useful. BRETT CANNON
How the Self-Driving Tech Stack Works A technical guide to how self-driving cars actually work. CAN bus protocols, neural networks, sensor fusion, and control system with open source implementations, most of which can be accessed through Python. CARDOG
Datastar: Modern Web Dev, Simplified Talk Python interviews Delaney Gillilan, Ben Croker, and Chris May about the Datastar framework, a library that combines the concepts of HTMX, Alpine, and more. TALK PYTHONpodcast
Introducing the Zen of DevOps Inspired by the Zen of Python, Tibo has written a Zen of DevOps, applying similar ideas from your favorite language to the world of servers and deployment. TIBO BEIJEN