Pydantic, PSF Office Hours, Polars, and More

#646 – SEPTEMBER 10, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Using Pydantic to Simplify Python Data Validation
Discover the power of Pydantic, Python’s most popular data parsing, validation, and serialization library. In this hands-on video course, you’ll learn how to make your code more robust, trustworthy, and easier to debug with Pydantic.
REAL PYTHON course

Introducing Monthly PSF Board Office Hours
The PSF is introducing monthly office hours on the PSF Discord discussion board. This is a chance to connect with the board members and learn more about what they do. The schedule for the next 12 sessions is in the post.
PYTHON SOFTWARE FOUNDATION

500 Devs, Deploying 200x a Day, While Maintaining 4 Million Lines of Code 😮‍💨
Sounds tricky right? Well that’s exactly what Kraken Technologies is doing. Learn how they manage 100s of deployments a day and how they handle errors when they crop up. Sneak peak: they use Sentry to reduce noise, prioritize issues, and maintain code quality–without relying on a dedicated QA team →
SENTRYsponsor

Why I’m Switching From pandas to Polars
Ari is switching from pandas to Polars and surprisingly (even to himself) it isn’t because of the better performance. Read on for the reasons why.
ARI LAMSTEIN

DjangoCon US Durham, NC Sept 22-27, Tickets Still Available
DJANGOCON.US

Announcing Djangonaut Space Session 3 Applications Open!
DJANGONAUT.SPACE

Django Security Releases Issued: 5.1.1, 5.0.9, and 4.2.16
DJANGO SOFTWARE FOUNDATION

Quiz: Asynchronous Iterators and Iterables in Python
REAL PYTHON

Quiz: Functional Programming in Python
REAL PYTHON


Articles & Tutorials


How to Create a Pre-Commit Hook
Pre-commit hooks are a great way to help maintain code quality. However, some of your code quality standards may be specific to your project, and therefore, not covered by existing code linting and formatting tools. In this article, Stefanie shows you how to incorporate custom checks into your pre-commit setup.
STEFANIEMOLIN.COM • Shared by Stefanie Molin

Debugging With Trace and PYREPL_TRACE
Just how does one debug the tool one is using to find bugs? Python 3.13’s new REPL is implemented in Python and adding print statements means you get output in your output. This quick post talks about the environment variable PYREPL_TRACE and how to use it to capture debug information.
RODRIGO GIRÃO SERRÃO

Evolving Django’s auth.User
Carlton has some strong opinions on how Django manages usernames and custom users through auth.User and how the current solution is daunting to folks new to Django. This article dives into why the current approach might be problematic and what could be done.
CARLTON GIBSON

Please Don’t Hijack My Python Root Logger
Redowan keeps running into code that mucks with the root logger’s settings, which leaks into his own code. This post explains the problem and how to make sure you aren’t doing it in your own libraries.
REDOWAN DELOWAR

Polars Has a New Lightweight Plotting Backend
Polars 1.6 allows you to natively create beautiful plots without pandas, NumPy, or PyArrow. This is enabled by Narwhals, a lightweight compatibility layer between dataframe libraries.
POLA.RS • Shared by Marco Gorelli

Why I Still Use Python Virtual Environments in Docker
Hynek often gets challenged when he suggests the use of virtual environments within Docker containers, and this post explains why he still does.
HYNEK SCHLAWACK

Web Scraping With Scrapy and MongoDB
This tutorial covers how to write a Python web crawler using Scrapy to scrape and parse data, and then store the data in MongoDB.
REAL PYTHON

Escaping From Anaconda’s Stranglehold on macOS
Once you’ve got Anaconda on macOS, using any other Python can be problematic. This article walks you through escaping Anaconda.
PAUL ROMER

I Will F(l)ail at Your Tech Interviews
Frak talks about how technical interviews often have false negatives and how this impacts your organization.
FRAK LOPEZ


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 →

microrabbit: Lightweight, Asynch Framework for RabbitMQ
GITHUB.COM/TONNOBELLOSNELLO

csv_trimming: Remove Common Ugliness From CSV Files
GITHUB.COM/LUCACAPPELLETTI94

Ibis: Dataframe API That Executes on Any Query Engine
IBIS-PROJECT.ORG

PyRoboCOP: Control Robotics With Algebra
GITHUB.COM/MERLRESEARCH

django-tables2: Create HTML Tables in Django
GITHUB.COM/JIETER

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
September 11, 2024

Python Atlanta
September 12 to September 13, 2024

Python Sul 2024 (Brazil)
September 13 to September 16, 2024

PyData Amsterdam 2024
September 18 to September 21, 2024

PyCon Latam 2024, Mazatlán, México
September 19 to September 22, 2024

PyCon India 2024
September 20 to September 24, 2024

PyCon TW 2024
September 21 to September 23, 2024

PythonCamp Rügen 2024
September 21 to September 23, 2024
Happy Pythoning!
Copyright © 2024 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Astronomy, Language Summit, Built-ins, and More

Tuesday, September 3, 2024

Using Astropy for Astronomy With Python #645 – SEPTEMBER 3, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Using Astropy for Astronomy With Python This course covers two problems from introductory

Astrophysics, pyproject.toml, Query Languages, and More

Tuesday, August 27, 2024

Exploring Astrophysics in Python With pandas and Matplotlib #644 – AUGUST 27, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Astrophysics in Python With pandas and Matplotlib This course

Scrapy Extensions, REST APIs, Django Sub-Commands, and More

Tuesday, August 20, 2024

Using a Custom Scrapy Extension to Log to a DB #643 – AUGUST 20, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Using a Custom Scrapy Extension to Log to a DB The Scrapy crawl stat logs are useful

Testing with nox, Async Iterators, Log Propagation, and More

Tuesday, August 13, 2024

Testing Coverage and Using `nox` #642 – AUGUST 13, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Testing Coverage and Using nox This is part 9 in an in-depth series on testing. This part talks

Setuptools Deprecation, Installable Django Apps, Flask, and More

Tuesday, August 6, 2024

Setuptools Breaks Things, Then Fixes Them #641 – AUGUST 6, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Setuptools Breaks Things, Then Fixes Them This post is Bite Code's monthly summary, but

You Might Also Like

This Week in Rust #565

Thursday, September 19, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 565 — 18 SEP 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

Daily Coding Problem: Problem #1561 [Easy]

Thursday, September 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Print the nodes in a binary tree level-wise. For example, the following

Sixteen Candles Down the Drain

Thursday, September 19, 2024

Spectacles, Vestager, EC Posts, Meta Letters, PayPal Design, Microsoft Deals, Palmer Luckey Goggles, Spotify Ads Sixteen Candles Down the Drain Spectacles, Vestager, EC Posts, Meta Letters, PayPal

How Greedy Miners Are Breaking DAG Blockchains

Thursday, September 19, 2024

Top Tech Content sent at Noon! A dev conference with discussions, workshops, and 1:1 feedback sessions Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today

Issue 332 - Camouflaged Tesla Robotaxi prototype sighted

Thursday, September 19, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 332 -

Programmer Weekly - Issue 223

Thursday, September 19, 2024

View this email in your browser Programmer Weekly Welcome to issue 223 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "It's tempting to write a long

Data Science Weekly - Issue 565

Thursday, September 19, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Contrarian Report Shades GitHub Copilot Productivity, Bits Polished as .NET 9 Nears, Python in VS Code, More

Thursday, September 19, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight September 19, 2024 THIS ISSUE SPONSORED BY: ■ dtSearch® - INSTANTLY SEARCH TERABYTES ■ Live! 360: Developer / IT / Security / Data

Web Tools #583 - No Code Maps, React, Testing, Git/CLI

Thursday, September 19, 2024

WEB VERSION Issue #583 • September 19, 2024 The following is a paid product review for No Code Map App, a platform for building custom interactive maps from almost any data source, no coding required.

Python Weekly - Issue 668

Thursday, September 19, 2024

View this email in your browser Python Weekly Welcome to issue 668 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly