Planet Python RSS
217 subscribers
16.6K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
death and gravity: When to use classes in Python? When you repeat similar sets of functions

Link: https://death.andgravity.com/same-functions

Are you having trouble figuring out when to use classes or how to organize them?
Have you repeatedly searched for "when to use classes in Python",
read all the articles and watched all the talks,
and
Test and Code: 235: pytest-django - Adam Johnson

Link: https://testandcode.com/episodes/pytest-django

In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, incl
Real Python: Exploring Python Closures: Examples and Use Cases

Link: https://realpython.com/courses/closures-examples-use-cases/

In Python, a closure is typically a function defined inside another function. This inner function grabs the objects defined in its enclosing scope and associates them with the inner function object it
PyCoder’s Weekly: Issue #691: Inheritance, Logging, marimo, and More (July 22, 2025)

Link: https://pycoders.com/issues/691

#691 – JULY 22, 2025 View in Browser » Inheritance Over Composition, Sometimes In a older post, Adrian wrote some code using inheritance. He got questions from his readers as why it wouldn’t jus
Python Insider: Python 3.14 release candidate 1 is go!

Link: https://pythoninsider.blogspot.com/2025/07/python-314-release-candidate-1-is-go.html

It’s the
first 3.14 release candidate!
https://www.python.org/downloads/release/python-3140rc1/
This is the first release candidate of Python
3.14
This release, 3.14.0rc1, is the penultimate release
p
Python Morsels: Don't call dunder methods

Link: https://www.pythonmorsels.com/avoid-dunder-methods/

It's best to avoid calling dunder methods. It's common to define dunder methods, but uncommon to call them directly.


Table of contents

What is a dunder method?
Define dunder methods on your classes
Daniel Roy Greenfeld: TIL: Single source version package builds with uv

Link: https://daniel.feldroy.com/posts/til-2025-07-single-source-version-package-builds-with-uv


Remove version in pyproject.toml and replace with dynamic = ["version"]
Add [tool.setuptools.dynamic] and specify the location of the version using this dialogue: version = { attr = "mypackage.__vers
Real Python: Python's Requests Library (Guide)

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

The Requests library is the go-to package for making HTTP requests in Python. It abstracts the complexities of making requests behind an intuitive API. Though not part of Python’s standard library, it
Seth Michael Larson: Nintendo Switch 2 physical game price differences

Link: https://sethmlarson.dev/nintendo-switch-2-physical-game-price-differences?utm_campaign=rss

Last week I was able to purchase a Nintendo Switch 2. The console was due to arrive on Monday, so I also picked up a physical copy of Mario Kart World for $80 USD (compared to $70 USD for digital).
Th
Techiediaries - Django: Python Roadmap with Free Courses/Certifcates to High-Paying Jobs

Link: https://www.techiediaries.com/python-high-paying-certifs/

This article serves as a focused investment of your time. We’ll walk you through five free, targeted certifications, each crafted to prepare you for a specific role that ranks among the highest-paying
Python Software Foundation: PSF Board Election Nominations Opening July 29th

Link: https://pyfound.blogspot.com/2025/07/psf-board-nominations-opening-july-29th.html

This year’s PSF Board Election nomination period opens next week on Tuesday, July 29th, 2:00 pm UTC and closes on Tuesday, August 12th, 2:00 pm UTC. Who runs for the board? People who care about the P
The Python Show: Writing Creating TUI Applications with Textual and Python

Link: https://www.pythonshow.com/p/writing-creating-tui-applications

In this episode, Mike Driscoll talks about his latest book, Creating TUI Applications with Textual and Python.Learn about how and why the book came about, what were some pain points in writing the boo
Ned Batchelder: Coverage 7.10.0: patch

Link: https://nedbatchelder.com/blog/202507/coverage_7100_patch.html

Years ago I greeted a friend returning from vacation and asked how it had
been. She answered, “It was good, I got a lot done!” I understand that feeling.
I just had a long vacation myself, and used th
Django Weblog: DjangoCon Africa 2025 Heads to Arusha 🇹🇿

Link: https://www.djangoproject.com/weblog/2025/jul/25/djangocon-africa-2025-heads-to-arusha/

We’re excited to share that DjangoCon Africa is returning this year — and this time we’re heading to Arusha, Tanzania from August 11–15, 2025! 🎉

Arusha city view with Mount Meru in the background, cr
Real Python: The Real Python Podcast – Episode #258: Supporting the Python Package Index

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

What goes into supporting more than 650,000 projects and nearly a million users of the Python Package Index? This week on the show, we speak with Maria Ashna about her first year as the inaugural PyPI