Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyBites: Create Project-Less Python Utilities with uv and Inline Script Metadata

Link: https://pybit.es/articles/create-project-less-python-utilities-with-uv-and-inline-script-metadata/

The other day I wanted to demo the Google Books API (we use for Pybites Books) to somebody so I started to write some code on the fly to call its endpoints using httpx.Then I thought it would be nice
Kushal Das: Dealing with egl_bad_alloc error for webkit

Link: https://kushaldas.in/posts/dealing-with-egl-bad-alloc-error-for-webkit.html


I was trying out some Toga examples,
and for the webview I kept getting the following error and a blank screen.
Could not create EGL surfaceless context: EGL_BAD_ALLOC.

After many hours of searching
Matt Layman: Signin Email - Building SaaS #212.1

Link: https://www.mattlayman.com/videos/signin-email-building-saas-212/

In this episode, we continued on the sign up workflow simplification. The focus of this stream was on adding the background task that will send the magic link email to allow sign in.
Matt Layman: Building SaaS with Python and Django #212.2

Link: https://www.mattlayman.com/videos/building-saas-with-python-and-django-212/

In this episode, we continued on the sign up workflow simplification. The focus of this stream was on adding the background task that will send the magic link email to allow sign in. This is the secon
Real Python: Python's min() and max(): Find Smallest and Largest Values

Link: https://realpython.com/python-min-and-max/

Python’s built-in functions max() and min() allow you to find the largest and smallest values in a dataset. You can use them with iterables, such as lists or tuples, or a series of regular arguments.
Real Python: The subprocess Module: Wrapping Programs With Python

Link: https://realpython.com/python-subprocess/

Python’s subprocess module allows you to run shell commands and manage external processes directly from your Python code. By using subprocess, you can execute shell commands like ls or dir, launch app
Real Python: Get Started With Django: Build a Portfolio App

Link: https://realpython.com/get-started-with-django-1/

Django is a powerful Python web framework for creating complex applications. It follows the Model-View-Template (MVT) architecture and includes built-in features like authentication, an admin interfac
Real Python: NumPy's max() and maximum(): Find Extreme Values in Arrays

Link: https://realpython.com/numpy-max-maximum/

NumPy’s max() function efficiently finds maximum values within an array, making it a key tool for data analysis in Python. This tutorial guides you through using max() and maximum(), handling missing
Real Python: Understanding the Python Mock Object Library

Link: https://realpython.com/python-mock-library/

Mocking in Python with unittest.mock allows you to simulate complex logic or unpredictable dependencies, such as responses from external services. You create mock objects to replace real ones in your
Fabio Zadrozny: Using (or really misusing) Path.resolve() in Python

Link: http://pydev.blogspot.com/2025/01/using-or-really-misusing-pathresolve-in.html

 I just stumbled upon a code in Python that uses a simple `Path(...).resolve()`
after receiving a path in an API and suddenly reminded myself on the
many the bugs I've tripped over due to it, so, de
Real Python: pandas GroupBy: Your Guide to Grouping Data in Python

Link: https://realpython.com/pandas-groupby/

The pandas .groupby() method allows you to efficiently analyze and transform datasets when working with data in Python. With df.groupby(), you can split a DataFrame into groups based on column values,
Real Python: How to Install Python on Your System: A Guide

Link: https://realpython.com/installing-python/

Installing Python on your system involves a few straightforward steps. First, check if Python is already installed by opening a command-line interface and typing python --version or python3 --version.
Real Python: Create and Modify PDF Files in Python

Link: https://realpython.com/creating-modifying-pdf/

Creating and modifying PDF files in Python is straightforward with libraries like pypdf and ReportLab. You can read, manipulate, and create PDF files using these tools. pypdf lets you extract text, sp
Real Python: Python Class Constructors: Control Your Object Instantiation

Link: https://realpython.com/python-class-constructor/

Creating a class constructor in Python involves understanding the instantiation process, which consists of two steps: instance creation and instance initialization. You start this process by calling t
Real Python: Python Constants: Improve Your Code's Maintainability

Link: https://realpython.com/python-constants/

In Python, constants are identifiers for values that don’t change during a program’s execution. Unlike some other languages, Python lacks built-in syntax for constants, treating them as variables that
Armin Ronacher: Automatic Server Reloading in Rust on change: What is listenfd/systemfd?

Link: http://lucumr.pocoo.org/2025/1/19/what-is-systemfd

When I developed Werkzeug (and
later Flask), the most
important part of the developer experience for me was enabling fast, automatic
reloading. Werkzeug (and with it Flask), this is achieved by using
Seth Michael Larson: How to disable Copilot in GitHub

Link: https://sethmlarson.dev/how-to-disable-copilot-in-github?utm_campaign=rss

For the first time in months GitHub has released
a feature that I actually enjoy: a way to disable
Copilot on the home screen. Thanks to Harry Sintonen for sharing this on Mastodon:


Login to github.
Django Weblog: Django earns the CHAOSS DEI Bronze badge 🫶

Link: https://www.djangoproject.com/weblog/2025/jan/19/django-earns-the-chaoss-dei-bronze-badge/

We’re excited to announce that Django has been awarded the CHAOSS Diversity, Equity, and Inclusion (DEI) Bronze Badge!


This badge reflects our ongoing commitment to fostering a diverse, equitable, a
Michael Foord: New Python Knowledge Share Video Online: List Comprehensions, Generator Expressions & Function Signatures

Link: https://agileabstractions.com/new-video-list-comprehensions/




.embed-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {