Python Weekly (Issue 740 April 9 2026)

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

Learn how to code faster with AI in 5 mins a day

You're spending 40 hours a week writing code that AI could do in 10.

While you're grinding through pull requests, 200k+ engineers at OpenAI, Google & Meta are using AI to ship faster.

How?

The Code newsletter teaches them exactly which AI tools to use and how to use them.

Here's what you get:

  • AI coding techniques used by top engineers at top companies in just 5 mins a day

  • Tools and workflows that cut your coding time in half

  • Tech insights that keep you 6 months ahead

Sign up and get access to the Ultimate Claude code guide to ship 5X faster.


News

DSF is seeking volunteer organizers to host DjangoCon Europe 2027 in any European city, with proposals due by June 1, 2026.


Articles, Tutorials and Talks

The post breaks down coding agents into a few core parts: a model, tools, instructions, and a loop for planning, acting, and verifying. Its main point is that good coding agents are less about raw model power and more about how well they coordinate context, tool use, and iterative feedback.

Async Python appears concurrent, but under the hood its single-threaded event loop schedules tasks in a predictable (FIFO) order, making task startup and execution ordering more deterministic than most developers assume. The key insight is you can build replayable, durable workflows on top of async by leveraging this deterministic scheduling, even though tasks still interleave during execution

A peer-to-peer AI that answers your friends' messages using local data and privacy controls.

Discover TorchTPU, Google’s new engineering stack designed to run PyTorch natively on TPU infrastructure with peak efficiency. Learn how its "Eager First" philosophy and XLA integration simplify model migration while unlocking massive scalability for the next generation of AI.

Use transactions, locks, and constraints in Django to enforce business logic in the database.

This post will walk through how you can use the same principles behind Gradient Boosting Machines (GBM) to predict parameters of models in the same way traditional GBMs predict 1-dimensional targets. This allows us to get the benefits of Gradient Boosting (large feature sets, high dimensional interactions, modeling at scale) to fit things like smoothing splines, survival analysis, and probabilistic models.

The article shows how to combine HTMX, django-tables2, and django-filter to build a reusable “universal table” that supports filtering and exporting in a single view without custom JavaScript. The key idea is consolidating table, filter, and export logic into one composable backend pattern, enabling cleaner views and dynamic UI updates via partial page reloads.

This tutorial demonstrates how to use Qdrant, a specialized vector search engine, to combine semantic similarity with hard metadata filtering in Python for more precise RAG applications

Learn how to efficiently find the Kth largest element using Python's heapq module with the Min heap of size K strategy.

Learn drone programming using Python and the high-fidelity Pyimverse simulator. The course is designed to take you from the fundamentals of 3D movement to deploying advanced computer vision across five practical, real-world missions. By focusing on simulation first, you can develop intelligent autonomous code for tasks like gesture control and line following without the risk of expensive hardware crashes.

The post’s core idea is that NATS JetStream can replace separate Kafka, Redis, and RabbitMQ setups by covering streaming, queueing, and pub/sub in one system. It argues this can simplify architecture and reduce the operational overhead of running multiple messaging tools for different workloads.


Interesting Projects, Tools, and Libraries

Local knowledge graph for Claude Code. Builds a persistent map of your codebase so Claude reads only what matters - 6.8× fewer tokens on reviews and up to 49× on daily coding tasks.

Apple Intelligence from the command line. On-device LLM via FoundationModels framework. No API keys, no cloud, no dependencies.

Zero power PCB hackathon badges.

Semantic search over video footage. Type what you're looking for, get a trimmed clip back.

An open-source video editing model that removes objects from footage and also models the scene’s resulting physical interactions, not just the missing pixels.

A Claude Code skill/plugin and Codex plugin that makes agent talk like caveman - cutting ~75% of output tokens while keeping full technical accuracy. Plus a companion tool that compresses your memory files to cut ~45% of input tokens every session.

A ~9M parameter LLM that talks like a small fish.

OpenHarness delivers core lightweight agent infrastructure: tool-use, skills, memory, and multi-agent coordination.

CLI for managing coding agents.

Civic transparency platform tracking corporate influence on Congress across 8 sectors. 30+ government APIs, 1000+ tracked entities.

A self-contained device that autonomously writes, runs, and watches little Python programs... forever.

Table-based exploration tool for Python profiling data (pstats files).

A lightweight, feature-rich dock for Linux written in Python with GTK 3 and Cairo.

Efficient long reasoning with trigonometric KV cache compression. Enables OpenClaw local deployment on memory-constrained GPUs.

Display registered Django signals and receivers, showing what fires and where.


New Releases

This release includes the following announcements:

  • Search Python Symbols in Installed Packages

  • Experimental: Rust-Based Parallel Indexer


Upcoming Events and Webinars

There will be a hands-on workshop, Build Your First Agent With Python.

There will be following talks

  • Building Agentic GenAI Pipelines with Kedro Builder (Beginner-Friendly)

  • Let AI Agents Manage Your ML & Data Pipelines

There will be following talks

  • Mind the Gap: From insights to accountability

  • From Reactive to Resilient: Using AI/ML to Build Self-Healing Deployment Pipelines

There will be a talk, AI Web Application Firewall.

There will be a talk, Ever wished you could be a Dragon?


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.