Issue #685: Polars Data Validation, reversed, Counting Words, and More (June 10, 2025)

#685 – JUNE 10, 2025

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 →
PGANALYZE sponsor

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) (USA)

Prenosis

Senior Software Engineer – Quant Investment Platform (LA or Dallas) (Los Angeles, CA, USA)

Causeway Capital Management LLC

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

Events

Weekly Real Python Office Hours Q&A (Virtual)

June 11, 2025
REALPYTHON.COM

Python Sucre Summit

June 14 to June 15, 2025
PYTHON-SUCRE-SUMMIT-2025.VERCEL.APP

PyDelhi User Group Meetup

June 14, 2025
MEETUP.COM

Python Fundamentals for Data Analysis (PyAgadez)

June 14, 2025
PYTHONNIGER.ORG

DFW Pythoneers 2nd Saturday Teaching Meeting

June 14, 2025
MEETUP.COM

Happy Pythoning!
This was PyCoder’s Weekly Issue #685.
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