Issue #685

Polars Data Validation, reversed, Counting Words, and More

June 10, 2025

Polars Data Validation, reversed, Counting Words, and More
#685 – JUNE 10, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Data Validation Libraries for Polars (2025 Edition)
Given that Polars is so hot right now and that data validation is an important part of a data pipeline, this post explores five Python data validation libraries that support Polars DataFrames. Through contrasting and comparison, the post puts forward which of them are best for specific use cases.
POSIT-DEV.GITHUB.IO • Shared by Richard Iannone

Looping in Reverse
Many iterables can be reversed using the built-in reversed function whereas Python’s slicing syntax only works on sequences. Learn how to reverse your data.
TREY HUNNER

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

Python Project: Build a Word Count Command-Line App
A self-paced coding challenge in which you’ll practice your Python skills by building a clone of the popular word count utility (wc) on Unix.
REAL PYTHON course

PEP 734: Multiple Interpreters in the Stdlib (Accepted)
PYTHON.ORG

Anaconda’s Python Packaging Ecosystem Survey
SURVEYMONKEY.COM

Python 3.13.4, 3.12.11, 3.11.13, 3.10.18 and 3.9.23 Security Releases
CPYTHON DEV BLOG

Django Security Releases Issued: 5.2.2, 5.1.10, and 4.2.22
DJANGO SOFTWARE FOUNDATION

PyCon NL 2025 Call for Proposals
PYCON-NL.ORG

PyCon US 2025 Videos
YOUTUBE.COM


Python Jobs


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

Senior Software Engineer – Quant Investment Platform (LA or Dallas)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

More Python Jobs >>>


Articles & Tutorials


Rodrigo Girão Serrão: Python Training, Itertools, and Idioms
Once you’ve learned the vocabulary and syntax of the Python language, how do you progress into learning the right combinations to put into your code? How can Python’s built-in itertools library enhance your skills? This week on the show, we speak with Rodrigo Girão Serrão about teaching Python through his blog and his passion for the itertools library.
REAL PYTHON podcast

Running live_server Tests Last With pytest
You don’t want to go through all your slow tests just to have a fast one fail. Learn how to order your pytest execution so that the faster tests run first.
TIM KAMANIN

Working With INI Files Using configparser
Many programs require configuration and a popular format is the INI file. Python’s configparser library can read these files, learn how to use it.
MIKE DRISCOLL

Thousands Separators
A quick TIL post on how to include thousands separators when converting numbers to strings with an f-string modifier.
RODRIGO GIRÃO SERRÃO

Optimizing Django Docker Builds With Astral’s uv
Learn how to speed up and harden your Django Docker builds using Astral’s uv for faster installs, better caching, and reproducible environments.
COGIT8.ORG • Shared by Rob Hudson

How to Find an Absolute Value in Python
Learn how to calculate the Python absolute value with abs(), implement the math behind it from scratch, and customize it in your own classes.
REAL PYTHON

Quiz: How to Find an Absolute Value in Python
In this quiz, you’ll test your knowledge of calculating absolute values in Python, mastering both built-in functions and common use cases to improve your coding accuracy.
REAL PYTHON

How Local Variables Work in Python Bytecode
To better understand the internals of an interpreter, this article shows you how local variables get stored and how stacks and frames work.
FROM SCRATCH CODE

Personal Highlights of PyCon Italy 2025
Rodrigo shares his personal highlights of PyCon Italy 2025. He covers some lightning talks, a Python quiz, community events, and more.
RODRIGO GIRÃO SERRÃO


Projects & Code


great-tables: Awesome Display Tables Using Python
GITHUB.COM/POSIT-DEV

positron: Data Science IDE
GITHUB.COM/POSIT-DEV

cvxpy: Modeling for Convex Optimization Problems
GITHUB.COM/CVXPY

testcontainers-python: Run Docker Container for Tests
GITHUB.COM/TESTCONTAINERS

moto: Mock Tests Based on AWS Infrastructure
GITHUB.COM/GETMOTO

Happy Pythoning!
Copyright © 2025 PyCoder’s Weekly, All rights reserved.