- Python Weekly
- Posts
- Python Weekly (Issue 742 April 23 2026)
Python Weekly (Issue 742 April 23 2026)
Welcome to issue 742 of Python Weekly. Let's get straight to the links this week.
[Live on May 6] Stop babysitting your agents
Agents can generate code. Getting it right for your system is the hard part. More MCPs solve access but not understanding. Join us for a FREE webinar on May 6 to see how to give agents exactly what they need, so they generate mergeable code the first time.
Articles, Tutorials and Talks
Most Python developers view generators as a memory optimization, but their deeper value is controlling when computation happens and how data flows through a system. They enable lazy pipelines, backpressure handling, two-way communication, and patterns that extend naturally into async streaming architectures.
Adam Johnson explains how Python 3.14's new incremental garbage collection caused excessive memory growth during Django migrations, leading to out-of-memory errors on resource-constrained servers. He shares a practical workaround by explicitly triggering garbage collection after each migration step, and notes the issue helped support the planned revert to the prior GC behavior in Python 3.14.5.
The article describes how Daniel Diniz used Claude Code to find 575+ confirmed bugs in Python C extensions, then worked with maintainers to land fixes while keeping the process low-friction and responsible. It also highlights the broader lesson: LLM bug-finding can be genuinely useful when it stays human-guided, targets real bug classes, and gives maintainers control over what gets reported.
Adopting the Array API standard lets major Python libraries run the same code across backends like NumPy, PyTorch, CuPy, and JAX, unlocking dramatic speedups with minimal user changes. The broader impact is a more interoperable scientific Python ecosystem where GPU acceleration and new hardware become accessible without rewriting entire libraries.
LLM coding tools can accelerate Django development, but unchecked outputs often create technical debt through poor architecture, weak tests, and overly complex code. The talk focuses on using Claude Code effectively with strong prompts, guardrails, and skepticism so AI becomes a productive assistant rather than a cleanup burden.
The post shows how NOIRLab’s Astro Data Lab uses Jupyter notebooks to let astronomers explore and analyze petabytes of sky data directly in the browser, without local setup. It also highlights the value of notebooks for making large-scale astronomy workflows more interactive, reproducible, and accessible to researchers and students.
Traditional notebooks are evolving as AI shifts more value from writing syntax to guiding workflows, reviewing outputs, and iterating through natural-language prompts. The emerging model emphasizes reactive cells and integrated LLM tooling that can turn linear notebooks into more interactive, dynamic applications.
A deep dive into implementing MikroTik's proprietary RouterOS binary API protocol in Python — variable-length encoding, sentence-based messaging, and programmatic network infrastructure control. Zero dependencies, 137 lines.
So you want to build a Python library in 2026? Here's everything you need to know about the state of the art.
The post shows how to push real-time browser updates in Django without WebSockets, Channels, or Redis by using a simpler HTTP/SSE-based approach. Its main point is that you can get instant UI updates with much less infrastructure and complexity while still keeping the setup practical for existing Django apps.
Django already knows every model in your project, every field, every relationship — down to the last on_delete. So why are you drawing it by hand?
As Django apps grow, stuffing business logic into views, models, and managers creates tangled code, slow tests, and ORM-driven performance issues like overfetching and N+1 queries. The solution proposed is moving domain logic into typed plain-Python classes while using the ORM only for persistence, making systems cleaner, faster, easier to test, and easier to evolve.
Interesting Projects, Tools, and Libraries
From linear algebra to autonomous agent swarms. learn AI with AI, then ship the tools.
State-of-the-art financial intelligence platform with CFA-level analytics, AI automation, and unlimited data connectivity.
Python suite for neuroscience research across all modalities.
Deterministic orchestrator for 18 CLI AI coding agents. Git worktree isolation, HMAC audit trail, MCP server mode.
Dinobase is an agent-first data platform that syncs 100+ sources like APIs, databases, files, and MCP servers into SQL-ready tables with automatic data annotation.
A Multi-Modal World Model for Reconstructing, Generating, and Simulating 3D Worlds.
Terminal tool to watch hockey games.
Self-healing browser harness that enables LLMs to complete any task.
A feed-forward 3D foundation model for reconstructing scenes from streaming data.
Self-evolving agent: grows skill tree from 3.3K-line seed, achieving full system control with 6x less token consumption.
Upcoming Events and Webinars
There will be following talks
Processing CSV and JSON in DuckDB — how fast can we do 1B rows?
Introducing pg-warehouse — a local-first data warehouse at scale
There will be following talks
Large Language Models can Hallucinate Speaker Transitions
Classifying Time Series with Foundation Models
There will be following talks
Agents… in the data-verse!
Building Active Assistance and Agentic Workflows for Logistics
Conversation agents for Retail
There will be following talks
From RAG prototype to production: designing a sovereign data architecture for on-premise AI
Managing speed and control in AI-assisted development: an experience report
JAX: Differentiable Everything — Scientific Computing Beyond NumPy
There will be a talk, Awa, a Postgres-native background job queue.
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.
