Planet Python RSS
218 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCon: Call for Volunteers: PyCon US Code of Conduct Team

Link: https://pycon.blogspot.com/2025/03/call-for-volunteers-pycon-us-code-of.html

Help us make PyCon US welcoming, fun, and safe!We are looking for volunteers to join the Code of Conduct Team for PyCon US 2025 in Pittsburgh, PA. The Code of Conduct Team supports the PyCon US commun
Python GUIs: Multithreading PySide6 applications with QThreadPool — Run background tasks concurrently without impacting your UI

Link: https://www.pythonguis.com/tutorials/multithreading-pyside6-applications-qthreadpool/

A common problem when building Python GUI applications is the interface "locking up" when attempting to perform long-running background tasks. In this tutorial, we'll cover quick ways to achieve concu
Real Python: Quiz: Python's Instance, Class, and Static Methods Demystified

Link: https://realpython.com/quizzes/instance-class-and-static-methods-demystified/

In this quiz, you’ll test your understanding of Instance, Class, and Static Methods in Python. By working through this quiz, you’ll revisit the differences between these methods and how to use them ef
Real Python: Quiz: Python Set Comprehensions: How and When to Use Them

Link: https://realpython.com/quizzes/python-set-comprehension/

In this quiz, you’ll test your understanding of Python Set Comprehensions: How and When to Use Them.
Set comprehensions are a concise and quick way to create, transform, and filter sets in Python.
The
Real Python: Quiz: GitHub Actions for Python

Link: https://realpython.com/quizzes/github-actions-python/

In this quiz, you’ll test your understanding of Continuous Integration and Deployment for Python With GitHub Actions.
By working through this quiz, you’ll revisit how to use GitHub Actions and workflo
Real Python: Introducing DuckDB

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

The DuckDB database provides a seamless way to handle large datasets in Python with Online Analytical Processing (OLAP) optimization. You can create databases, verify data imports, and perform efficie
Python Morsels: Checking whether iterables are equal in Python

Link: https://www.pythonmorsels.com/iterable-equality/

You can check whether iterables contain the same elements in Python with equality checks, type conversions, sets, Counter, or looping helpers.



Table of contents

Simple equality checks
Comparing di
Eli Bendersky: Notes on implementing Attention

Link: https://eli.thegreenplace.net/2025/notes-on-implementing-attention/

Some notes on implementing attention blocks in pure Python +
Numpy. The focus here is on the exact implementation in code, explaining all the
shapes throughout the process. The motivation for why atte
Python Anywhere: innit: a new system image, with Python 3.13 and Ubuntu 22.04

Link: https://blog.pythonanywhere.com/219/

If you signed up for an account on PythonAnywhere after 25 March 2025, you’ll
have Python versions 3.11, 3.12 and 3.13 available. Additionally, the underlying operating system for
your account will b
Armin Ronacher: Rust Any Part 3: Finally we have Upcasts

Link: http://lucumr.pocoo.org/2025/3/27/any-upcast

Three years ago I shared the As-Any Hack on
this blog. That hack is a way on stable rust to get upcasting to
supertraits working in Rust. To refresh your memory, the goal was to make
something like
Test and Code: pytest-html - a plugin that generates HTML reports for test results

Link: https://testandcode.com/episodes/pytest-html-a-plugin-that-generates-html-reports-for-test-results

pytest-html has got to be one of my all time favorite plugins. pytest-html is a plugin for pytest that generates a HTML report for test results. This episode digs into some of the super coolness of py
meejah.ca: Magic Wormhole is What?

Link: https://meejah.ca/blog/what-is-magic-wormhole

Various levels of details regarding a secure peer connection technology
Test and Code: pytest-html - a plugin that generates HTML reports for test results

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

pytest-html has got to be one of my all time favorite plugins. pytest-html is a plugin for pytest that generates a HTML report for test results. This episode digs into some of the super coolness of py
Real Python: Quiz: Using Python's .__dict__ to Work With Attributes

Link: https://realpython.com/quizzes/python-dict-attribute/

In this quiz, you’ll test your understanding of Using Python’s .__dict__ to Work With Attributes.
By working through this quiz, you’ll revisit how .__dict__ holds an object’s writable attributes, allo
Robin Wilson: Learning resources for GIS in Python with cloud-native geospatial, PostGIS and more

Link: https://blog.rtwilson.com/learning-resources-for-gis-in-python-with-cloud-native-geospatial-postgis-and-more/

I recently gave a careers talk to students at Solent University, and through that I got to know a MSc student there who had previous GIS experience and was now doing a Data Analytics and AI MSc course
PyCon: Community Organizer Meet-up at PyCon US

Link: https://pycon.blogspot.com/2025/03/community-organizer-meet-up-at-pycon-us.html

Calling all Python community organizers! We want to sit down together and share what’s going well, what new tricks we’ve learned, and what’s been challenging in the area of organizing Python and Pytho
Python GUIs: PyQt6 Toolbars & Menus — QAction — Defining toolbars, menus, and keyboard shortcuts with QAction

Link: https://www.pythonguis.com/tutorials/pyqt6-actions-toolbars-menus/

Next, we'll look at some of the common user interface elements you've probably seen in many other applications — toolbars and menus. We'll also explore the neat system Qt provides for minimizing the d
Ned Batchelder: Human sorting improved

Link: https://nedbatchelder.com/blog/202503/human_sorting_improved.html

When sorting strings, you’d often like the order to make sense to a person.
That means numbers need to be treated numerically even if they are in a larger
string.For example, sorting Python versions w