Python Weekly (Issue 699 May 15 2025)

Welcome to issue 699 of Python Weekly. Let's get straight to the links this week.

Learn AI in 5 minutes a day

What’s the secret to staying ahead of the curve in the world of AI? Information. Luckily, you can join 1,000,000+ early adopters reading The Rundown AI — the free newsletter that makes you smarter on AI with just a 5-minute read per day.


Articles, Tutorials and Talks

Typerdrive is a Python package that extends Typer to simplify building CLI tools that interact with APIs. It offers built-in support for settings management, caching, error handling, logging, and client configuration, enabling developers to create robust, user-friendly command-line applications more efficiently.

The author advocates writing clever code as a form of deliberate practice to enhance programming skills. While emphasizing that such code shouldn't be committed to production, he suggests that experimenting with complex code structures can deepen understanding and prepare developers for challenging scenarios. This approach encourages pushing the boundaries of one's comfort zone to foster growth as a software engineer.

This study investigates how various Python compilers—such as PyPy, Numba, Nuitka, Mypyc, Codon, Cython, and Pyston-lite—affect execution time, energy consumption, and memory usage across different benchmarks. Results indicate that tools like Codon, PyPy, and Numba can achieve over 90% improvements in speed and energy efficiency compared to standard CPython.

An exploration of using flexicache for caching in Python.

This video provides a step-by-step guide on how to build three beginner-friendly Python AI projects: an AI agent, a resume critiquer, and an image classifier. The tutorial covers the necessary Python libraries and tools, including Langraph, Langchain, Streamlit, TensorFlow, and OpenCV.

A recap of the first year of work on enabling support for the free-threaded build of CPython in community packages.

Task queues are a great way to offload work to the background but scaling Python task queues is tricky. Learn how you can keep your task queues chugging along!

This post sets the stage for a series on useful Django apps by first clarifying what a Django app is and its role within a project. It highlights the benefits of using separate apps for modularity, clarity, and reusability—for both developers and end-users.


Interesting Projects, Tools, and Libraries

kit is a production-ready Python toolkit for codebase mapping, symbol extraction, code search, and building LLM-powered developer tools, agents, and workflows. Use kit to build things like code reviewers, code generators, even IDEs, all enriched with the right code context.

Optimize your code automatically with AI.

CLI tool to detect fake-star campaigns, dependency hijacks, licence red flags, and other signals of open-source risk. Inspired by the 4.5 million fake stars study, StarGuard helps automate open-source due diligence in seconds.

DeerFlow is a community-driven framework for deep research, combining language models with tools like web search, crawling, and Python execution, while contributing back to the open-source community.

A Python SDK for interacting with the Claude CLI tool.

A minimal, open-source setup for serving Agents using FastAPI and Postgres. Built for speed, clarity, and dev happiness.

A monitoring station for carnivorous flora.

This is the official repository for LegoGPT, the first approach for generating physically stable LEGO brick models from text prompts.

A Modular Toolkit for Robot Kinematic Optimization.

Airweave is a tool that lets agents semantically search any app. It's MCP compatible and seamlessly connects any app, database, or API, to transform their contents into agent-ready knowledge.

Generate audiobooks from e-books.


New Releases

This release includes the following announcements:

  • Python Environments Quick Create command

  • Python Environments chat tools

  • Automatic environment activation with Python Environments (Experimental)

  • Color picker with Pylance

  • AI Code Actions: Convert Format String (Experimental)

  • PyConUS 2025


Upcoming Events and Webinars

There will be following talks

  • Specializing Small Language Models With Less Data

  • Exploring fairlearn and practical strategies for assessing and mitigating harm in AI systems

There will be following talks

  • Managing Healthy OSS Projects: Insights from Apache Spark™, Apache Iceberg™, Delta Lake, MLflow, Unity Catalog, and more!

  • Multi-year exabyte-scale lakehouse migration from one open source data management stack (Apache Spark on Iceberg and Parquet) to another nascent open source data management stack (Ray on DeltaCAT and Arrow)

  • May the --force Be With You," celebrates lessons learned and triumphant moments in your startup's journey

There will be following talks

  • Real-time plane-spotting with Python

  • Agentic AI and the Future of Decision-Making

There will be following talks

  • Understanding Load and Stress Testing in Python Applications

  • How to Make Tech Debt Work for You

There will be a talk, AI Agents using LangChain.

There will be a talk, Hyperdimensional computing (HDC): The Brain-Inspired Alternative to Deep Learning.

There will be following talks

  • First principles vibe coding and marketing

  • Fine tuning and distilling open source models


Our Other Newsletters

Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.