Python Trending Weekly
ISSUE 99

t-string Syntax Officially Accepted!

2025-04-26 Season 4

TL;DR

How to run Python in production, why Browser Use raised $17 million for browser automation, and 15,000 lines of verified cryptography land in CPython.

Articles 12 Projects 12 Media 2 Discussions 2
🦄

Articles & Tutorials

× 12
01 How to run Python in production ashishb.net

The author shares practical experience running Python in production environments, covering multiple aspects including improving project quality, ensuring maintainability, and operational deployment.

02 Browser Use Analysis - Why Could a Small Project Raise $17 Million? blog.cnbang.net

Browser Use is a recent viral star project - a pure technical open-source project by two people with 8,000 lines of core code that raised $17 million! What exactly did it do, and why is it worth so much?

03 Django Admin Theme Roundup 2025 djangoproject.com

Shares some Django Admin themes: Dracula, Daisy, django-jazzmin, django-admin-kubi, django-jet-reboot, django-semantic-admin, Simple UI, Grapelli, django-admin-interface, Unfold.

04 15,000 lines of verified cryptography now in Python jonathan.protzenko.fr

Introduces the journey of Python adopting the verified HACL cryptography library. The author proposed replacing Python's hash implementation in 2022 due to SHA3 vulnerabilities, and after 2.5 years of effort, Python's default hash and HMAC algorithms are now provided by HACL.

05 Frankenstein's `__init__` ohadravid.github.io

Inspired by last week's article suggesting not to write __init__ methods, this author shares an extreme __init__ case they wrote, explaining why the code had errors.

06 Sneak peek: A new ASN.1 API for Python blog.trailofbits.com

Python is about to introduce a new ASN.1 API that improves performance with a pure Rust parser, reduces discrepancy risks by sharing parsers with PyCA Cryptography, and enhances usability with a dataclass-style interface.

07 Regex affordances nedbatchelder.com

Shares a case study of using regular expressions for text manipulation, introducing several practical features like enabling verbose mode for better readability, capturing text through named groups, and optimizing matching logic with non-capturing groups.

08 The next big thing in Python bitecode.dev

The author reflects on the wonderful journey of Python's evolution over 30+ years while pondering how Python should develop and face challenges in the future. The author calls for simplifying program distribution and improving mobile platform development experience.

09 Bootstrapping Python projects with copier blog.dusktreader.dev

Introduces how to use the Copier tool to generate Python project templates with one click, integrating README, LICENSE, project structure, dynamic configuration, CI workflows, and other basic configurations for automated project scaffolding.

10 ProcessThreadPoolExecutor: when I‍/‍O becomes CPU-bound death.andgravity.com

Explores the problem of encountering CPU bottlenecks when handling I/O-intensive tasks in Python, and proposes a solution combining multithreading and multiprocessing: using thread pools in multiple processes to fully utilize CPU resources, solving the problem of high single-thread CPU usage.

11 LLM Agents are simply Graph — Tutorial For Dummies zacharyhuang.substack.com

How do AI agents work? The article explains in an accessible way, revealing that agents are actually directed graphs composed of nodes, branches, and loops, and demonstrates with code how to define nodes, build, and execute an agent.

12 10,000-Word Deep Dive: Conversations with 50 Google Executives Reveal Google's "AI Catch-Up Journey" mp.weixin.qq.com

A story about Google's journey from the crisis triggered by ChatGPT's release to re-establishing AI leadership, featuring detailed recollections from 50+ employees/executives, showcasing Google's turbulent two-year period, the trade-offs and decisions made.

🐿️

Projects & Resources

× 12
01 dia: A TTS model capable of generating ultra-realistic dialogue in one pass github.com

This week's super hot project - a text-to-speech model with only 1.6B parameters that can generate highly realistic dialogue, including laughter, coughing, throat clearing, etc. (11K stars)

02 ai-agents-for-beginners: 10 Lessons to Get Started Building AI Agents github.com

Microsoft's open-source agent beginner course, teaching you to develop an AI agent from scratch. Includes Chinese translation. (17.2K stars)

03 juv: Create, manage, and run Jupyter notebooks with their dependencies github.com

A reproducible Jupyter notebook toolkit powered by uv, supporting PEP-723.

04 fastapi-forge: A UI Based FastAPI Project Generation tool. github.com

Visually define database models through a UI interface, select services to integrate, and quickly generate complete containerized projects with tests and APIs.

05 py-xiaozhi: Python version of Xiaozhi AI github.com

A Xiaozhi voice client implemented in Python, aimed at learning through code and experiencing AI Xiaozhi's voice features without hardware requirements. (1.1K stars)

06 Comprehensive Enhancement of Python Service Observability: Using FastAPI and Grafana Stack as Examples speakerdeck.com

Presentation materials from a talk at PyCon Taiwan 2024.

Comprehensive Enhancement of Python Service Observability: Using FastAPI and Grafana Stack as Examples
07 django-ledger: a double entry accounting system and financial analysis engine built on the Django Web Framework github.com

A financial management system developed using the Django Web framework, supporting double-entry bookkeeping, hierarchical chart of accounts, financial statements, purchase orders, financial ratio calculations, account management, OFX/QFX file imports, etc. (1.1K stars)

08 cooragent: AI agent collaboration community github.com

A community of agents where you can create powerful agents with one sentence, freely combine with other agents, and collaborate to complete complex tasks.

09 Tutorial-Codebase-Knowledge: Turns Codebase into Easy Tutorial with AI github.com

Uses AI to analyze GitHub codebases and create beginner-friendly tutorials with clear visual diagrams, explaining in detail how the code works. (5.9K stars)

10 pyspur: A visual playground for agentic workflows: Iterate over your agents 10x faster github.com

A project for AI engineers that provides visual workflows to more efficiently develop, test, and deploy AI agents. (4.7K stars)

11 WatermarkRemover-AI: AI-Powered Watermark Remover using Florence-2 and LaMA Models github.com

Uses Microsoft's Florence-2 model to precisely detect watermarks and the LaMA model to erase watermarks and naturally fill in the areas. Provides CLI and PyQt6-based graphical interface.

12 index: SOTA Open-Source Browser Agent for autonomously performing complex tasks on the web github.com

An agent for web automation that supports multiple large models, intelligently operates web elements, customizes browser settings, and provides real-time session updates with operation recording. (1.8K stars)

🐢

Podcasts & Videos

× 2
01 Episode 21: A Garbage Episode creators.spotify.com

core.py podcast episode 21, diving deep into CPython garbage collection topics. Other topics include: whether to do type checking on the standard library itself, free-threading development progress, http.server HTTPS support, etc.

02 The Creators of Model Context Protocol latent.space

"Latent Space: The AI Engineer Podcast" episode featuring the creators of MCP (Model Context Protocol), discussing the protocol's origins, challenges, and future development.

🥂

Discussions & Issues

× 2
01 Python group project, what should we build? v2ex.com

What to build for a graduate course project, and how to make it innovative?

02 What tech stack to use for developing mini-programs now? v2ex.com
ESC
↑↓ select · ↵ open175 issues