Issue #738

sleep(), Polars Workflows, Iterators, and More

June 9, 2026

sleep(), Polars Workflows, Iterators, and More
#738 – JUNE 9, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python sleep(): How to Add Time Delays to Your Code
Learn how to use Python’s sleep() function to add time delays and pause your code with time.sleep(), decorators, threads, and asyncio.
REAL PYTHON

Libraries for Your Python Polars Workflows
Four excellent libraries for your data science workflow with support for Polars DataFrames
ISABELLA VELÁSQUEZ • Shared by Isabella Velásquez

B2B AI Agent Auth Support
Your users are asking if they can connect their AI agent to your product, but you want to make sure they can do it safely and securely. PropelAuth makes that possible →
PROPELAUTHsponsor

Down the Iterator Rabbit Hole
Following the trail when you have a chain of iterators
STEPHEN GRUPPETTA

PEP 833: Freezing the HTML Simple Repository API (Accepted)
PYTHON.ORG

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

PEP 798: Unpacking in Comprehensions (Final)
PYTHON.ORG

Python 3.15.0b2 Released
PYTHON.ORG

Django Security Releases Issued: 6.0.6 and 5.2.15
DJANGO SOFTWARE FOUNDATION


Articles & Tutorials


olmOCR-2 vs PaddleOCR-VL: Which Extracts PDF Tables Better?
Compare olmOCR-2 and PaddleOCR-VL on a real arXiv PDF with dense technical tables. This article walks through a Python-based OCR workflow, then evaluates how each model handles table detection, runtime, numeric accuracy, merged cells, and multi-tier headers.
KHUYEN TRAN • Shared by Khuyen Tran

Using Typing in Python Leads to Different Sorts of Code
Chris has been moving lots of code from Python 2 to 3 and experimenting with more rigid type hints as he goes along. He’s found that keeping the type checker happy makes him write code in a different way, almost like writing in a second language.
CHRIS SIEBENMANN

Django: Introducing Django-Integrity-Policy
Recently, browsers have added support for the new Integrity-Policy response header (Firefox 145+, Chrome 138+). Adam quickly went to work to build a library that enables your Django project to take advantage of the feature.
ADAM JOHNSON

PSF Strategic Plan 2026 Draft
The Python Software Foundation board has been developing a strategic plan to guide the foundation’s direction over the next five years. The first draft has been released and they’re looking for community feedback.
PYTHON SOFTWARE FOUNDATION

EuroPython 2026 Language Summit Talks
This year’s EuroPython includes a Python Language Summit. This post highlights the talks scheduled for it, including adding Rust capabilities to CPython, an update on incremental garbage collection, and more.
EUROPYTHON.EU

Free Threading Internals: Reference Counting
This article describes how the lifetime of Python objects are tracked using reference counting and how that is effected by the changes brought about by removing the GIL.
VICTOR STINNER

Keep Your Developer Instincts When AI Writes the Code
The promise was less friction. The cost, it turns out, is instinct, a high price to pay. Bob’s answer: add deliberate practice to your routine, and keep the struggle.
BOB BELDERBOS • Shared by Bob Belderbos

How to Use GitHub Copilot Code Review in Pull Requests
Learn how to use GitHub Copilot code review on pull requests for AI-assisted feedback, one-click fixes, and project-specific custom instructions.
REAL PYTHON

Quiz: How to Use GitHub Copilot Code Review in Pull Requests
REAL PYTHON

Parsing XML EXIF From .avif Files (Plus a Rant)
The .avif format tends to result in smaller files, but the EXIF strippers that Andrew was using didn’t support the format, so he wrote his own.
ANDREW STEPHENS

Structuring Your Python Script
Master Python script structure with best practices for shebangs, ordered imports, formatting with Ruff, constants, and a clean entry point.
REAL PYTHON course


Projects & Code


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

spoof: A Simple HTTP Server for Test Environments
GITHUB.COM/LEXSCA

django-upgrade: Automatically Upgrade Your Django Projects
GITHUB.COM/ADAMCHAINZ

bocpy: Behavior-Oriented Concurrency in Python
GITHUB.COM/MICROSOFT

cohesion: A Tool for Measuring Python Class Cohesion
GITHUB.COM/MSCHWAGER

pypistats.org: PyPI Downloads Analytics Dashboard
GITHUB.COM/PSF

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
June 10, 2026

Python Atlanta
June 11 to June 12, 2026

PyDelhi User Group Meetup
June 13, 2026

DFW Pythoneers 2nd Saturday Teaching Meeting
June 13, 2026

DjangoCologne
June 16, 2026

PyCon Singapore 2026
June 19 to June 22, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.