Welcome to issue 707 of Python Weekly. Let's get straight to the links this week. |
Start learning AI in 2025 |
Keeping up with AI is hard – we get it! |
That’s why over 1M professionals read Superhuman AI to stay ahead. |
Get daily AI news, tools, and tutorials Learn new AI skills you can use at work in 3 mins a day Become 10X more productive
|
Sign up and start mastering AI |
|
Articles, Tutorials and Talks |
|
Common Pitfalls and Potential Optimizations in Django. |
|
The post explains how Python's type checkers reject certain Callable and Protocol overrides due to contravariant parameter rules, using a vegetable-peeler analogy to clarify the concept. It then shows how to resolve these issues safely with generics like TypeVar or PEP 695 patterns, avoiding the need to fall back on Any. |
|
The author demonstrates using Lean as an external SMT solver by translating proof goals into SMT queries and reconstructing the results back into valid Lean proofs. He builds a lightweight Python workflow that integrates Lean and SMT solvers seamlessly, enabling automated, proof-generating tactics within Lean. |
|
Ever wondered how to build a clean Python SDK without a giant god class? This video shows you how to design an SDK that uses multiple layers of inheritance to keep your code DRY and easy to scale. |
|
Last time, we built a hybrid concurrent.futures executor using inheritance. Today, we're building it again (twice!) using composition and functions only, to figure out which way is better and why. |
|
The post recommends using GNU Make with Python projects for automation entrypoints, preferring uv for fast interpreter/venv setup and delegating complex logic to Python task runners, keeping the Makefile minimal and focused. |
|
A complete guide to building autonomous systems with agentic AI workflows—covering core concepts, tools, and real-world applications. |
|
The post discusses how Python on Windows (often preinstalled via the Microsoft Store) can be used as a surprisingly effective tool for offensive security and malware operations, thanks to its rich standard library, isolated package management, and low-profile presence in corporate environments. It outlines methods such as malware delivery, offline package installation, and leveraging ctypes for unmanaged code execution, emphasizing both the challenges for defenders and the advantages for attackers who use Python for its legitimacy. |
|
Uncaught exceptions will crash an application. If you don't know how to log these, it can be difficult to troubleshoot such a crash. Let's walk through this gotcha and see how to fix it. |
|
Interesting Projects, Tools, and Libraries |
|
BrowserOS is an open-source agentic web browser. |
|
Voxtral is an open-source AI audio model developed by Mistral, designed for automatic speech recognition and understanding. It offers features like transcription, summarization, and multilingual support at a lower cost compared to proprietary models. |
|
A resilient, high-performance asynchronous connection pool layer for SQLite, designed for efficient and scalable database operations. |
|
A powerful Python library to create beautifully styled text images with a simple, fluent API. |
|
A modern, fully typed Python library for converting HTML to Markdown. |
|
Generate Kubernetes architecture diagrams from Kubernetes manifest files, kustomization files, Helm charts, helmfiles, and actual cluster state |
|
A general-purpose biomedical AI agent. |
|
Leetcode for PyTorch. |
|
Open Deep Research Agent: Automated Knowledge Discovery with TextGAN. |
|
New Releases |
|
This release includes the following announcements: |
|
|
Upcoming Events and Webinars |
|
We'll dive deep into Infrastructure as Code (IaC) using Pulumi with Python examples! |
|
There will be a workshop, Building an LLM-backed chatbot with Chainlit. |
|
There will be a talk, Querying Data In A Django Project 101. |
|
Join PyData Boston for a set of applied talks on using BeeAI for building LLM Agent applications and Docling for document processing! |
|
There will be following talks |
|
|
There will be following talks |
|
|
|
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. |