Planet Python RSS
210 subscribers
18.5K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Bytes: #475 Haunted warehouses

Link: https://pythonbytes.fm/episodes/show/475/haunted-warehouses

Topics covered in this episode:

Lock the Ghost
Fence for Sandboxing
MALUS: Liberate Open Source
Harden your GitHub Actions Workflows with zizmor, dependency pinning, and dependency cooldowns
Extras
J
Real Python: Quiz: Test-Driven Development With pytest

Link: https://realpython.com/quizzes/test-driven-development-pytest/

In this quiz, you’ll test your understanding of Test-Driven Development With pytest.
By working through this quiz, you’ll revisit creating and executing Python unit tests with pytest, practicing test-
PyCon: Introducing the 8 Companies on Startup Row at PyCon US 2026

Link: https://pycon.blogspot.com/2026/03/introducing-startup-row-pycon-us-2026.html

Each year at PyCon US, Startup Row highlights a select group of early-stage companies building ambitious products with Python at their core. The 2026 cohort reflects a rapidly evolving landscape, wher
Real Python: Adding Python to PATH

Link: https://realpython.com/courses/adding-python-to-path/

You may need to add Python to PATH if you’ve installed Python, but typing python on the command line doesn’t seem to work. You might see a message saying that python isn’t recognized, or you might end
PyCoder’s Weekly: Issue #728: Django With Alpine, Friendly Classes, SQLAlchemy, and More (March 31, 2026)

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

#728 – MARCH 31, 2026 View in Browser » Django Apps With Alpine AJAX, Revisited The author has been modifying his approach to Django projects with Alpine AJAX over the last nine months. This pos
Real Python: Quiz: Exploring Keywords in Python

Link: https://realpython.com/quizzes/exploring-keywords-in-python/

In this quiz, you’ll test your understanding of
Exploring Keywords in Python.
By working through this quiz, you’ll revisit how to identify Python keywords,
understand the difference between regular an
Python⇒Speed: Timesliced reservoir sampling: a new(?) algorithm for profilers

Link: https://pythonspeed.com/articles/reservoir-sampling-profilers/

Imagine you are processing a stream of events, of unknown length. It
could end in 3 seconds, it could run for 3 months; you simply don’t
know. As a result, storing the whole stream in memory or even o
Real Python: Python Classes: The Power of Object-Oriented Programming

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

Python classes are blueprints for creating objects that bundle data and behavior together. Using the class keyword, you define attributes to store state and methods to implement behavior, then create
"Michael Kennedy's Thoughts on Technology": Cutting Python Web App Memory Over 31%

Link: https://mkennedy.codes/posts/cutting-python-web-app-memory-over-31-percent/

tl;dr; I cut 3.2 GB of memory usage from our Python web apps using five techniques: async workers, import isolation, the Raw+DC database pattern, local imports for heavy libraries, and disk-based cach
Peter Bengtsson: pytest "import file mismatch"

Link: http://www.peterbe.com/plog/pytest-import-file-mismatch

Make sure your test files in a pytest tested project sit in directories with a __init__.py
Python Engineering at Microsoft: Python in Visual Studio Code – March 2026 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-march-2026-release/

We’re excited to announce that the March 2026 release of the Python extension for Visual Studio Code are now available!
This release includes the following announcements:

Search Python Symbols in Ins
Graham Dumpleton: Free Python decorator workshops

Link: https://grahamdumpleton.me/posts/2026/04/free-python-decorator-workshops/

I've been working on a set of interactive workshops on Python decorators and they are now available for free on the labs page of this site. There are 22 workshops in total, covering everything from th
Real Python: Quiz: Python's Counter: The Pythonic Way to Count Objects

Link: https://realpython.com/quizzes/python-counter/

In this quiz, you’ll test your understanding of Python’s Counter: The Pythonic Way to Count Objects.
By working through this quiz, you’ll revisit how to create Counter objects, update counts, find mos
death and gravity: reader 3.22 released – new web app

Link: https://death.andgravity.com/reader-3-22

Hi there!
I'm happy to announce version 3.22 of reader, a Python feed reader library.
What's new? #
Here are the highlights since reader 3.20.
New feed reader web app #
The new web application is done
Talk Python Blog: Announcing Course Completion Certificates

Link: https://talkpython.fm/blog/posts/announcing-course-completion-certificates/

I’m very excited to share that you can now generate course completion certificates automatically at Talk Python Training. What’s even better is our certificates allow you to one-click add them as offi
ListenData: How to Use Gemini API in Python

Link: https://www.listendata.com/2024/05/how-to-use-gemini-in-python.html


In this tutorial, you will learn how to use Google's Gemini AI model through its API in Python.
Updated (April 3, 2026): This tutorial has been updated for the latest Gemini models, including Gemini
ListenData: 4 Ways to Use ChatGPT API in Python

Link: https://www.listendata.com/2024/04/4-ways-to-use-chatgpt-api-in-python.html

In this tutorial, we will explain how to use ChatGPT API in Python, along with examples.
Steps to Access ChatGPT API
Please follow the steps below to access the ChatGPT API.

Visit the OpenAI Platform