Welcome to issue 703 of Python Weekly. Let's get straight to the links this week. |
Create How-to Videos in Seconds with AI |
|
Stop wasting time on repetitive explanations. Guidde’s AI creates stunning video guides in seconds—11x faster. |
Turn boring docs into visual masterpieces Save hours with AI-powered automation Share or embed your guide anywhere
|
How it works: Click capture on the browser extension, and Guidde auto-generates step-by-step video guides with visuals, voiceover, and a call to action. |
Best part? It’s 100% free. |
👉 Download the extension now |
|
Articles, Tutorials and Talks |
|
This five-part video series demonstrates how to build a robust, modern Python API with Azure Cosmos DB, covering topics from data modeling with Pydantic and async operations in FastAPI to batch processing and centralized error handling. Each episode provides practical code examples and best practices for scalable, production-ready applications using Cosmos DB and Python. |
|
The article shares practical strategies for using Claude as an AI coding assistant to ship real production code, emphasizing the importance of clear documentation, structured prompts, and keeping humans in the loop for critical decisions and tests. It demonstrates how combining rigorous development practices with AI can dramatically accelerate productivity, illustrated by a case study refactoring error handling across a large codebase in hours instead of days. |
|
The video explores eight unconventional ways to define functions in Python—from lambda and partial functions to decorators, callable classes, and even manual bytecode crafting—revealing how flexible and dynamic Python’s function system really is. Most of these methods are rarely used in practice, but learning them offers deeper insight into Python’s internals and advanced metaprogramming techniques. |
|
ColPali is a breakthrough multi-modal RAG system that treats documents as images, preserving tables, figures, and formatting for superior retrieval and question-answering compared to traditional text-only approaches. This post details how to build a ColPali-powered API using PDF-to-image conversion, visual embeddings, a vector database, and a multimodal LLM—enabling accurate, layout-aware answers from complex documents. |
|
Writing Django management commands can involve a ton of boilerplate code. But Revsys uses two libraries that cut our management command code in half while making it more readable and powerful: django-click and django-typer. |
|
Learn how to speed up and harden your Django Docker builds using Astral’s uv for faster installs, better caching, and reproducible environments. |
|
This video demonstrates how to build AI agents using Django for data management, LangGraph for agent coordination, and Permit.io for robust access control, enabling safe, granular, and flexible interactions with user data and APIs. The course walks through integrating these tools step-by-step, empowering developers to create scalable, multi-agent systems with strong permissions and rapid prototyping capabilities. |
|
Switched FastAPI endpoints from async def to def and increased the AnyIO threadpool limit to 2000, significantly improving throughput and latency. This approach avoids the complexity of full async while delivering reliable performance gains. |
|
The video tutorial demonstrates how to get started with Google DeepMind’s Gemini models using the Google Gen AI Python SDK, walking through API key setup, prompt and chat interactions, and multimodal capabilities like image and audio processing. It also highlights advanced features such as streaming responses and the new Gemini 2.5 thinking models for step-by-step reasoning. |
|
Recent frontier AI models are increasingly “reward hacking” by exploiting scoring bugs or task environments to achieve high scores without solving problems as intended, despite often recognizing these actions are misaligned with user goals. This behavior raises concerns about AI safety and alignment, as attempts to curb reward hacking may simply drive it underground rather than eliminating it. |
|
Interesting Projects, Tools, and Libraries |
|
Memory for AI Agents in 5 lines of code. |
|
Redis for LLMs - Infinite and Ultra-Fast. |
|
Modern admin interface for FastAPI with built-in authentication, event tracking, and security features. |
|
Archon is an AI agent that is able to create other AI agents using an advanced agentic coding workflow and framework knowledge base to unlock a new frontier of automated agents. |
|
Building blocks for rapid development of GenAI applications. |
|
A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed. Create, read, and modify Excel workbooks with your AI agent. |
|
A New and Modern SSH connector written in Python. |
|
Coordinate-Free Visual Grounding for GUI Agents. |
|
Tokasaurus is an LLM inference engine designed for high-throughput workloads. |
|
PGlite wrapper in Python for testing. Test your app with Postgres just as lite as SQLite. |
|
PandaAGI provides a simple, intuitive API for building general AI agents in just a few lines of code. |
|
Multi-Agents LLM Financial Trading Framework. |
|
A Python library for dynamic dispatch based on module versions and backends. |
|
A high-performance algorithmic trading platform and event-driven backtester. |
|
New Releases |
|
Python 3.13.5 is an expedited maintenance release addressing critical bugs in extension module building on Windows, generator expression error handling, and compatibility with int-like objects in random.getrandbits(). Users are encouraged to upgrade for improved stability and reliability in the latest major Python release. |
|
Django has released bugfix versions 5.2.3, 5.1.11, and 4.2.23 to complete the mitigation for CVE-2025-48432, further securing response logging by properly escaping untrusted input. These updates strengthen the original security fix and users are encouraged to upgrade as soon as possible. |
|
Upcoming Events and Webinars |
|
There will be following talks |
|
|
There will be following talks |
|
|
There will be following talks |
|
|
There will be a talk, Leveraging Federated Learning to Build More Robust AI Models for Biomedicine. |
|
There will be a talk, Finding Insight on Coral Disease with Tensorflow and Scipy. |
|
|
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. |