Issue #687: Scaling With Kubernetes, Substrings, Big-O, and More (June 24, 2025)

#687 – JUNE 24, 2025

Scaling Web Applications With Kubernetes and Karpenter

What goes into scaling a Python web application today? What are resources for learning and practicing DevOps skills? This week on the show, Calvin Hendryx-Parker is back to discuss the tools and infrastructure for autoscaling web applications with Kubernetes and Karpenter.
REAL PYTHON podcast

The Fastest Way to Detect a Vowel in a String

If you need to find the vowels in a string there are several different approaches you could take. This article covers 11 different ways and how each performs.
AUSTIN Z. HENLEY

Prevent Postgres Slowdowns on Python Apps with this Check List

Avoid performance regressions in your Python app by staying on top of Postgres maintenance. This monthly check list outlines what to monitor, how to catch slow queries early, and ways to ensure indexes, autovacuum, and I/O are performing as expected →
PGANALYZE sponsor

O(no) You Didn’t

A deep dive into why real-world performance often defies Big-O expectations and why context and profiling matter more than theoretical complexity
MRSHINY608

PyOhio 2025 (July 26-27) Registration Open

PYOHIO.ORG

Python 3.14.0 Beta 3

CPYTHON DEV BLOG

ruff Release 0.12.0

GITHUB.COM/ASTRAL-SH

streamlit Release 1.46.0

GITHUB.COM/STREAMLIT

Discussions

Ideas: Add Virtual Threads to Python

PYTHON.ORG

Python Jobs

Sr. Software Developer (Python, Healthcare) (USA)

Prenosis

More Python Jobs >>>

Articles & Tutorials

The PSF’s 2024 Annual Impact Report Is Here!

The Python Software Foundation releases a report every year on the state of the PSF and our community. This year’s report gives a run down of the successes of the language, key highlights of PyCon US, updates from the developers in residence, and more.
PYTHON SOFTWARE FOUNDATION

Are Python Dictionaries Ordered Data Structures?

Although dictionaries have maintained insertion order since Python 3.6, they aren’t strictly speaking ordered data structures. Read on to find out why and how the edge cases can be important depending on your use case.
STEPHEN GRUPPETTA

10 Polars Tools and Techniques to Level Up Your Data Science

Are you using Polars for your data science work? There are many libraries out there that might help you write less code. Talk Python interviews Christopher Trudeau and they talk about the Polars ecosystem.
KENNEDY & TRUDEAU podcast

Cut Django DB Latency With Native Connection Pooling

“Deploy Django 5.1’s native connection pooling in 10 minutes to cut database latency by 50-70ms, reduce connection overhead by 60-80%, and improve response times by 10-30% with zero external dependencies.”
SAURABH KUMAR

Will AI Replace Junior Developers?

At PyCon US this year, Adarsh chatted with various Python folks about one big question: will AI replace junior developers? He spoke with Guido van Rossum, Anthony Shaw, Simon Willison, and others.
ADARSH DIVAKARAN • Shared by Adarsh Divakaran

PEP 779: Free-Threaded Python (Accepted)

Free-threaded Python has been upgraded from experimental to part of the supported build. This quick quote from a longer discussion covers exactly what that means.
SIMON WILSON

PSF Board Election Schedule

It is time for the Python Software Foundation Board elections. Nominations are due by July 29th. See the article for the full election schedule and deadlines.
PYTHON SOFTWARE FOUNDATION

Exploring Python’s list Data Type With Examples

In this video course, you’ll dive deep into Python’s lists: how to create them, update their content, populate and grow them – with practical code examples.
REAL PYTHON course

Write Pythonic and Clean Code With namedtuple

Discover how Python’s namedtuple lets you create simple, readable data structures with named fields you can access using dot notation.
REAL PYTHON

Execute Your Python Scripts With a Shebang

In this video course, you’ll learn when and how to use the shebang line in your Python scripts to execute them from a Unix-like shell.
REAL PYTHON course

All About the TypedDict

Are you fan of type hinting in Python? Learn how to add typing to a dictionary with different types of keys.
MIKE DRISCOLL

Projects & Code

smartypants.py: Plain ASCII to “Smart” Punctuation

GITHUB.COM/JUSTINMAYER

nbdev: Create Delightful Software With Jupyter Notebooks

GITHUB.COM/ANSWERDOTAI

tournaments: Web-Based Tournament Management

GITHUB.COM/KOSMOTIVE

bulletchess: High Performance Python Chess

GITHUB.COM/ZEDECKJ

pexpect: Control Interactive Programs in a Pseudo-Terminal

GITHUB.COM/PEXPECT

Events

Weekly Real Python Office Hours Q&A (Virtual)

June 25, 2025
REALPYTHON.COM

PyCamp Leipzig 2025

June 28 to June 30, 2025
BARCAMPS.EU

Launching Python Katsina Community

June 28 to June 29, 2025
PYTHONKATSINA.ORG

PyDelhi User Group Meetup

June 28, 2025
MEETUP.COM

Workshop: Creating Python Communities

June 29 to June 30, 2025
PYTHON-GM.ORG

PyCon Colombia 2025

July 4 to July 7, 2025
PYCON.CO

Happy Pythoning!
This was PyCoder’s Weekly Issue #687.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s