Issue #687

Scaling With Kubernetes, Substrings, Big-O, and More

June 24, 2025

Scaling With Kubernetes, Substrings, Big-O, and More
#687 โ€“ JUNE 24, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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 โ†’
PGANALYZEsponsor

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)
PRENOSIS ๐Ÿ“ USA

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


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 โ†’

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

๐Ÿ“†๐Ÿ Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
June 25, 2025

PyCamp Leipzig 2025
June 28 to June 30, 2025

Launching Python Katsina Community
June 28 to June 29, 2025

PyDelhi User Group Meetup
June 28, 2025

Workshop: Creating Python Communities
June 29 to June 30, 2025

PyCon Colombia 2025
July 4 to July 7, 2025
Happy Pythoning!
Copyright ยฉ 2025 PyCoder’s Weekly, All rights reserved.