Issue #743

Stacks & Queues, Django F-Expressions, MCP Clients, and More

July 14, 2026

Stacks & Queues, Django F-Expressions, MCP Clients, and More
#743 – JULY 14, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Stacks and Queues in Python
This post shows you how to use a Python list for stack operations (last-in, first-out) and a deque from the collections module for queue operations (first-in, first-out).
TREY HUNNER

Nifty Django Feature: F Expressions
Django’s F-Expression provides a way of querying fields from the ORM. They’re particularly handy to traverse relationships in more complex queries.
TIM SCHILLING

Secure Your Code, Wherever, or However You Write It
AI coding agents have blind spots, they reproduce patterns but struggle with security context. AURI by Endor Labs plugs into your editor via MCP, catching flaws, signaling exposed secrets, and spotting malicious dependencies. Ship secure by default. Try AURI Free →
ENDOR LABSsponsor

Testing MCP Servers With a Python MCP Client
Learn how to build a Python MCP client that tests MCP servers from your terminal. List their tools, prompts, and resources, then call each one.
REAL PYTHON course

Quiz: Testing MCP Servers With a Python MCP Client
REAL PYTHON

PEP 797: Shared Object Proxies (Rejected)
PYTHON.ORG

Django Security Releases Issued: 6.0.7 and 5.2.16
DJANGO SOFTWARE FOUNDATION


Articles & Tutorials


Constructing and Judging Modern Agentic Workflows
How can you improve your LLM agent systems through specification enrichment? What are the advantages of having an LLM act as a judge within an agent system? This week on the show, Senior IEEE Member and Quality Engineer Suneet Malhotra joins us to discuss building and evaluating agentic architecture.
REAL PYTHON podcast

What for x in y Hides From You
An explanation of how Python’s for x in y syntax is a thin wrapper around the iterator protocol: iter(...), next(...), and StopIteration. Using examples from Memphis, a Python interpreter written in Rust, it shows how this design makes lists, ranges, and generators feel unified rather than magical.
TYLER GREEN • Shared by Tyler Green

Stop stitching 5 different systems together for your agents.
Dev teams spend weeks fitting together vector DBs, graph DBs, relational stores, filesystem primitives and optimizing cache. How about everything via a single API? P90 sub-200ms recall - the fastest graph database to unlock true agent memory, knowledge graphs and user-personalization. Click Here to Try HydraDB Out for Free
HYDRADBsponsor

Building a Fast HTML Toolkit in C for Python
turbohtml began as a patch to speed up html.escape and html.unescape in CPython. When the core team declined to maintain SIMD in the standard library, it became a third party library instead. This post is its story.
BERNÁT GÁBOR • Shared by Bernát Gábor

How to Publish to PyPI Using GitHub Actions Securely
If you’re using GitHub Actions to publish your Python libraries, this article is for you. Learn what are the best practices to ensure the process is secure and what tools you can use to validate it.
BRETT CANNON

Python 3.15’s Ultra-Low Overhead Interpreter Profiling Mode
Ken is one of the key contributors to the experimental JIT. This post talks about how Python 3.15’s interpreter profiling mode is helping them figure out what is working with the JIT and what isn’t.
KEN JIN

PEP 814: Add Frozendict Built-in Type
Victor has been involved in multiple attempts to add a frozen dict type to Python. His latest PEP has been accepted and frozen dictionaries will be added to Python 3.15. This post is his story.
VICTOR STINNER

How to Clean Messy CSV Files With Python
This introductory article shows you how to do data cleaning on CSV files using pandas, including dealing with duplicate rows, missing values, mixed date formats, and more.
ABID ALI AWAN,

PSF News: Security, Elections, and PyCon US 2026
This post is the monthly news round up of all things PSF. It covers a re-cap of PyCon US, several security fixes, updates from the PSF board, and more.
PYTHON SOFTWARE FOUNDATION

How to Use GitHub
Learn how to use GitHub step by step to create a remote repository, push your local Python project, and collaborate with others using GitHub Issues.
REAL PYTHON

Quiz: How to Use GitHub
REAL PYTHON


Projects & Code


Brought to you by Real Pythonsponsor
Online Python Training Created by Experts →

pyStrich: 1D and 2D Barcode Generator Library
GITHUB.COM/MMULQUEEN • Shared by Michael Mulqueen

Snakie: Cross-Platform MicroPython IDE
GITHUB.COM/KEVINMCALEER

Notion2Pandas: Import Notion Databases Into pandas
GitLab.com
GITLAB.COM/JAEGER87

envgap: Find Gaps Between .env, Shell Env, and Python Code
GITHUB.COM/PINAK-DATTA • Shared by Pinak Datta

CLI-based Text-to-Speech Tool
GITHUB.COM/REALPACIFIC • Shared by Prashant Barahi

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
July 15, 2026

PyData Bristol Meetup
July 16, 2026

PyLadies Dublin
July 16, 2026

DjangoGirls Tamale 2026
July 17 to July 19, 2026

EuroSciPy 2026
July 18 to July 24, 2026

PyData PyCon Armenia 2026
July 24 to July 26, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.