Issue #731

Visualize ML, Vector DBs, Type Checker Comparison, and More

April 21, 2026

Visualize ML, Vector DBs, Type Checker Comparison, and More
#731 – APRIL 21, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Machine Learning Visualized
This is a series of Jupyter notebooks that help visualize the algorithms that are used in machine learning. Learn more about neural networks, regression, k-means clustering, and more.
GAVING HUNG

Vector Databases and Embeddings With ChromaDB
Learn how to use ChromaDB, an open-source vector database, to store embeddings and give context to large language models in Python.
REAL PYTHON course

Wallaby for Python runs Tests as you Type and Streams Results Next to Code, Plus AI Context
Wallaby brings pytest / unittest results, runtime values, coverage, errors, and time-travel debugging into VS Code, so you can fix Python faster and give Copilot, Cursor, or Claude the execution context they need to stop guessing. Try it free, now in beta →
WALLABY TEAMsponsor

Python Type Checker Comparison: Speed and Memory Usage
A benchmark comparison of speed and memory usage across Python type checkers including Pyrefly, Ty, Pyright, and Mypy.
AARON POLLACK

PEP 831: Frame Pointers Everywhere: Enabling System-Level Observability for Python (Draft)
This PEP proposes two things:
PYTHON.ORG

PEP 800: Solid Bases in the Type System (Accepted)
PYTHON.ORG

PEP 772: Packaging Council Governance Process (Accepted)
PYTHON.ORG

PEP 832: Virtual Environment Discovery (Draft)
PYTHON.ORG

PEP 830: Add Timestamps to Exceptions and Tracebacks (Draft)
PYTHON.ORG


Discussions


Reverting the Incremental GC in Python 3.14 and 3.15
PYTHON.ORG


Articles & Tutorials


Reassessing the LLM Landscape & Summoning Ghosts
What are the current techniques being employed to improve the performance of LLM-based systems? How is the industry shifting from post-training towards context engineering and multi-agent orchestration? This week on the show, Jodie Burchell, data scientist and Python Advocacy Team Lead at JetBrains, returns to discuss the current AI coding landscape.
REAL PYTHON podcast

Security Best Practices Featuring uv and pip
This collection of security practices explains how to best use your package management tools to help avoid malicious packages. Example: implement a cool-down period; most malicious packages are found quickly, by not installing on the day of a release your chances of getting something bad go down.
GITHUB.COM/LIRANTAL

Beyond Basic RAG: Build Persistent AI Agents
Master next-gen AI with Python notebooks for agentic reasoning, memory engineering, and multi-agent orchestration. Scale apps using production-ready patterns for LangChain, LlamaIndex, and high-performance vector search. Explore & Star on GitHub →
ORACLEsponsor

The Economics of Software Teams
Subtitled “Why Most Engineering Organizations Are Flying Blind”, this article is a breakdown of what software development teams actually cost, what they need to generate to be financially viable, and why most organizations have no visibility into either number.
VIKTOR CESSAN

OWASP Top 10 (2025 List) for Python Devs
The OWASP Top 10 is a list of common security vulnerabilities in code, like SQL injection. The list has recently been updated and Talk Python interviews Tanya Janca to discuss all the big changes this time around.
TALK PYTHON podcast

Textual: An Intro to DOM Queries
The Textual TUI framework uses a tree structure to store all of the widgets on the page. This DOM is query-able, giving you the ability to find widgets on the fly in your code.
MIKE DRISCOLL

Reflecting on 5 Years as the Developer in Residence
Łukasz Langa is stepping down as the Python Software Foundation’s first CPython Developer in residence. This post talks about his experience there and everything accomplished.
PYTHON SOFTWARE FOUNDATION

Decoupling Your Business Logic From the Django ORM
Where should I keep my business logic? This is a perennial topic in Django. This article proposes a continuum of cases, each with increasing complexity.
CARLTON GIBSON

How to Add Features to a Python Project With Codex CLI
Learn how to use Codex CLI to add features to Python projects via the terminal. Master AI-powered coding without needing a browser or IDE plugins.
REAL PYTHON

PyPI Has Completed Its Second Audit
PyPI has completed its second external security audit. This post shows all the things found and what they’re doing about each of them.
MIKE FIEDLER

New Technical Governance: Request for Community Feedback
The Django Steering Council has proposed new governance mechanism and is looking for feedback from the community.
DJANGO SOFTWARE FOUNDATION


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

django-modern-rest: REST With Types and Async Support
GITHUB.COM/WEMAKE-SERVICES

django-freeze: Convert Django Sites to Static Ones
GITHUB.COM/FABIOCACCAMO

spy: SPy the Compilable Python-Like Language
GITHUB.COM/SPYLANG

prettytable: Tabular Data in a Visually Appealing ASCII
GITHUB.COM/PRETTYTABLE

endcord: Feature Rich Discord TUI Client
GITHUB.COM/SPARKLOST

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
April 22, 2026

The Carpentries
April 22 to April 24, 2026

AgentCamp Amsterdam 2026
April 23, 2026

North Bay Python 2026
April 25 to April 27, 2026

Python Sheffield
April 28, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.