Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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 {
Michael Foord: The Absolute Minimum Every Python Web Application Developer Must Know About Security

Link: https://agileabstractions.com/absolute-minimum-security/


The Open Source Initiative (OST) is the authority that defines Open Source. They’ve published my guide to security for Python web applications as a three part series. *“The Absolute Minimum Every Pyt
Zato Blog: Converting SOAP and WSDL into REST APIs

Link: https://zato.io/en/blog/soap-wsdl.html


Converting SOAP and WSDL into REST APIs


2025-01-20, by Dariusz Suchojad


Even if most of new APIs today are built around REST, there are still already existing,
production applications and syste
Real Python: Getters and Setters: Manage Attributes in Python

Link: https://realpython.com/python-getter-setter/

Getter and setter methods allow you to access and mutate non-public attributes while maintaining encapsulation. In Python, you’ll typically expose attributes as part of your public API and use propert
Malthe Borch: Keeping tabs on migration processes

Link: https://maltheborch.com/2025/01/keeping-tabs-on-migration-processes.html


To manage migration processes such as adopting a new data integration tool or rehosting applications at scale from one infrastructure service to another, organizations often turn aw