#665 – JANUARY 21, 2025
Building Dictionary Comprehensions in Python
In this video course, you’ll learn how to write dictionary comprehensions in Python. You’ll also explore the most common use cases for dictionary comprehensions and learn about some bad practices that you should avoid when using them in your code.
REAL PYTHON course
PyViz: Python Tools for Data Visualization
This site contains an overview of all the different visualization libraries in the Python ecosystem. If you’re trying to pick a tool, this is a great place to better understand the pros and cons of each.
PYVIZ.ORG
Building AI Agents With Your Enterprise Data: A Developer’s Guide
Building AI agents over enterprise data is hard—legacy systems, scattered data, complex queries. MindsDB, a leading open-source enterprise AI platform, makes it much easier: turn your data into AI-driven ‘skills’ and build smarter, more customized agents →
MINDSDB sponsor
Catching Memory Leaks With Your Test Suite
“If you have a good test suite, you may be able to use pytest
fixtures to identify memory and other resource leaks.”
ITAMAR TURNER-TRAURING
Djangonaut Space Session 4 Applications Open
DJANGONAUT.SPACE
Python 3.14.0 Alpha 4 Released
PYTHON.ORG
Django 5.2 Alpha 1 Released
DJANGO SOFTWARE FOUNDATION
Django Security Releases Issued: 5.1.5, 5.0.11, and 4.2.18
DJANGO SOFTWARE FOUNDATION
EuroPython Prague 2025 Call for Proposals
EUROPYTHON.EU
Python Jobs
Backend Software Engineer (Anywhere)
Brilliant.org
More Python Jobs >>>
Articles & Tutorials
10 Ways to Work With Large Files in Python
“Handling large text files in Python can feel overwhelming. When files grow into gigabytes, attempting to load them into memory all at once can crash your program.” This article covers different ways of dealing with this challenge.
ALEKSEI ALEINIKOV
Investigating the Popularity of Python Build Backends
This post analyzes the popularity of build backends used in pyproject.toml
files over time. Over half of the projects analyzed use setuptools
, with Poetry coming in second around 30%.
BASTIAN VENTHUR
Testing Your Python Package Releases
Upon creating the release for the Django Debug Toolbar, Tim discovered a problem when uploading to PyPI. This article talks about how he could have caught it earlier with better tests.
TIM SCHILLING
How I Automated Data Cleaning in Python
Learn how to automate data cleaning in Python using reusable functions and pipelines. Improve efficiency by handling missing values, duplicates, and data types.
SATYAM SAHU
The “Active Enum” Pattern
This article talks about the challenges associated with enum declarations being separate from their associated business logic, and proposes some alternatives.
GLYPH LEFKOWITZ
A Guide to JAX for PyTorch Developers
“PyTorch users can learn about JAX in this tutorial that connects JAX concepts to the PyTorch building blocks that they’re already familiar with.”
ANFAL SIDDIQUI
Use a Python venv
in a Container Like Docker
Bite code talks about why you should use a virtual environment inside of Docker containers, even though that is containment within a container.
BITE CODE!
Creating a Fitness Tracker App With Python Reflex
A detailed guide to building a simple Fitness Tracker app in Python using Reflex that lets you log the number of workouts completed per week.
BOB BELDERBOS • Shared by Bob Belderbos
Database Indexing in Django
This article explores the basics of database indexing, its advantages and disadvantages, and how to apply it in a Django application.
OLUWOLE MAJIYAGBE • Shared by Michael Herman
Python’s range()
Function
The range()
function can be used for counting upward, countdown downward, or performing an operation a number of times.
TREY HUNNER
Quickly Visualizing an SBOM Document
Quick instructions on how to chart a Software Bill-Of-Materials (SBOM) document.
SETH LARSON
Projects & Code
Zasper: A Supercharged IDE for Data Science
N/A
ZASPER.IO • Shared by Poruri Sai Rahul
pyper: Concurrent Python Made Simple
GITHUB.COM/PYPER-DEV
freezegun: Mocks the datetime
Module for Testing
GITHUB.COM/SPULEC
guppy3: Guppy/Heapy Ported to Python3
GITHUB.COM/ZHUYIFEI1999
VocabCLI: Word Insights TUI
GITHUB.COM/HIGHNESSATHARVA • Shared by Atharva Shah
Events
Weekly Real Python Office Hours Q&A (Virtual)
January 22, 2025
REALPYTHON.COM
PyCon+Web 2025
January 24 to January 26, 2025
PYCONWEB.COM
PyDelhi User Group Meetup
January 25, 2025
MEETUP.COM
PythOnRio Meetup
January 25, 2025
PYTHON.ORG.BR
Python Leiden User Group
January 27, 2025
MEETUP.COM
Python Sheffield
January 28, 2025
GOOGLE.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #665.
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