📡 Python radar - December 2023
A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).
🗃️ Serialize Your Data With Python (realpython.com)
A long article that thoroughly covers the various ways to serialize Python objects (i.e., convert them into a transferable format) depending on the type of object and application.
⚙️ Configuration in Python Applications: No Magic, Just Necessary Practice (robertrode.com)
A very good article detailing best practices for configuring Python code, with a special mention for pydantic-settings (which I discovered while reading this article).
🧩 Real-world match/case (nedbatchelder.com)
A small example of using the "structural pattern matching" mechanism introduced in Python 3.10, but the main interest of this article is to enable me to share the link to this much more interesting piece: Structural pattern matching in Python 3.10 (benhoyt.com).
📐 Python, C, Assembly - 2,500x Faster Cosine Similarity 📐 (ashvardanian.com)
Another step-by-step optimization exercise of a very common algorithm these days; it's very technical and goes deep but will surely interest quite a few people.