Python Weekly (Issue 717 October 9 2025)

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


Build your next app on HubSpot!
The HubSpot Developer Platform gives you the tools to build, extend, and scale with confidence. Create AI-ready apps, integrations, and workflows faster with a unified platform designed to grow alongside your business.

Articles, Tutorials and Talks

The video features Armin Ronacher, creator of Flask and co-founder of a new startup, discussing the strengths and trade-offs of Python, Go, Rust, and TypeScript for different use cases, especially startups. He highlights how AI tools are transforming engineering work, the challenges of language migrations like Python 2 to 3, and the evolving importance of programming languages in an AI-driven future. Armin also shares insights on error handling learned from Sentry and how AI can boost productivity by automating tedious tasks.

Python 3.14 delivers notable performance improvements, including up to 27% speedup in some benchmarks compared to Python 3.13, and enhanced free-threaded execution for better multithreading. The new release also adds features like syntax highlighting in the REPL and improved concurrency support.

The Air framework is a pioneering AI-first Python web framework built on FastAPI and Starlette, designed to optimize developer and AI agent productivity with features like intuitive Air Tags for HTML generation, seamless Jinja template integration, and built-in HTMX support. Inspired by frameworks like Django, Flask, and Pyramid, Air emphasizes modularity, modern developer experience, and AI-optimized documentation and tooling, while still being in early alpha and encouraging community collaboration.

Reactive programming offers significant benefits for Python applications - it reduces bugs, simplifies complexity, and improves maintainability. Yet most Python developers avoid it. The problem isn't reactive programming itself, it's how we've been doing it. Python's reaktiv makes reactive programming as simple as spreadsheet formulas.

Bright Data’s MCP Server lets Python developers connect AI agents to live, reliable web data. Get 5,000 free requests every month with no credit card required. Build smarter, data-driven agents today. SPONSOR

Python 3.14 introduces practical, user-friendly features such as syntax highlighting in the REPL and debugger, improved error messages with helpful suggestions, and pathlib enhancements like copy and move methods. It also adds template string literals (t-strings) for advanced string processing, deferred evaluation of annotations, new UUID versions sortable by creation time, and better concurrency with free-threaded support and subinterpreters.

In this tutorial we build a deep-learning pipeline for echogram segmentation using open-source tools. Echograms are two-dimensional plots of acoustic echo intensity versus time and depth recorded using sonar instruments, in our case echosounders.

Explore Chess.com’s regional pricing, revealing the cheapest and most expensive countries, and tactics used to prevent price discovery.

The blog explains how Triton, a Python-based DSL for CUDA programming now developed by OpenAI, enables writing custom GPU kernels with better performance and ease than direct CUDA. Through a case study simulating Physarum slime mold, the post showcases profiling, optimization, and how Triton can vastly outperform PyTorch by fusing operations and reducing memory overhead.

This Structlog guide covers configuration context JSON output error handling and OpenTelemetry integration to make your logs a useful signal for Observability.

This article serves as a complete reference for all the non-trivial things you should know about Python functions.

The video explains that t-strings are a new string format in Python 3.14 designed to help with SQL query sanitization by separating query parts and parameters for better readability and safety. While t-strings can improve managing complex queries with many parameters, for simple queries they add unnecessary complexity compared to traditional parameterized queries, making them useful mainly in niche, complex scenarios.

NumPy's type-completeness score was improved from 33% to nearly 90% through efforts by Quansight Labs and Meta's Pyrefly team, including a key one-line fix for type annotations and fully typing the MaskedArray class. These improvements enhance developer experience and enable safer downstream library code by providing better static typing coverage in NumPy's public API.

Comparing the Django ORM support across official database backends, so you don’t have to learn it the hard way.

The video explains how to design a scalable Python project using FastAPI, covering key aspects like a balanced folder structure, centralized configuration with pydantic, logging, dependency injection, and isolated testing with an in-memory database. The video also demonstrates Docker-based environment consistency, clean separation of business logic and API routing, and practical tips for maintainable and extendable project architecture.


Interesting Projects, Tools, and Libraries

Like Vercel, but open source and for all languages.

A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.

Discover and explore 500,000+ Python packages with interactive dependency tree visualization.

Lightweight wrapper for generating and editing images from Gemini 2.5 Flash Image/Nano Banana.

Deploy any AI model, agents, database, RAG, and pipeline locally in minutes.

A novel, fast and high-quality quantization method designed to make any Large Language Model smaller while preserving accuracy.

An Intelligent Python Code Quality Analyzer.

A JAX-native LLM Post-Training Library.

Transform any Python function into a web interface automatically.

LLM-based reasoning using Z3 theorem proving.


New Releases

Python 3.14 introduces major new features including official support for free-threaded Python, deferred evaluation of annotations, template string literals, multiple interpreters in the standard library, and a new compression module for Zstandard. It also brings improved error messages, syntax highlighting in the REPL and debugger, an experimental JIT compiler for macOS and Windows, and enhanced UUID support with faster generation and new versions 6-8.


Upcoming Events and Webinars

PyBay is the largest regional Python developer conference held annually in the San Francisco Bay Area, organized by the Bay Area Python Association. The 10th annual event is scheduled for October 18, 2025 at the UCSF Mission Bay Conference Center and features talks on software development, data science, and the Python ecosystem.

A hands-on session, AI Agents 101: Hands-On with Hugging Face and Open-Source Tools.

There will be a talk, Git for Data: How Table Formats Unify Software and Data Development.

There will be a talk, dbt Demystified: Data Warehousing for Python Users.

There will be a talk, The Testing Gap: Why Classic Automation Falls Short with AI Systems.

There will be a talk, Driving Materials Innovation with Data: The MDS-Rely Center.


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.