Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
TestDriven.io: Database Indexing in Django

Link: https://testdriven.io/blog/django-db-indexing/

This article explores the basics of database indexing, its advantages and disadvantages, and how to apply it in a Django application.
Django Weblog: Hello from the new Steering Council; and a quick temporary voting process change

Link: https://www.djangoproject.com/weblog/2025/jan/16/hello-from-the-new-steering-council-and-a-quick-te/

Hello Django community! The Steering Council is officially in action and we want to give you a heads up on a change we're making for the short-term.
The process for formal Steering Council votes (docu
Real Python: The Real Python Podcast – Episode #235: Principles for Considering Your Python Tooling

Link: https://realpython.com/podcasts/rpp/235/

What are the principles you should consider when making decisions about which Python tools to use? What anti-patterns get in the way of making the right choices for your team? Christopher Trudeau is b
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