Planet Python RSS
218 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Django Weblog: Run your tests against Django's main!

Link: https://www.djangoproject.com/weblog/2025/apr/17/run-your-tests-against-django-main/

This is the blog version of a talk! If you prefer, watch the recording on YouTube:


Sage Abdullah - Run your tests against Django’s main! - Django London Meetup



Django is known for its
PyCon: Community Organizer Summit and PSF & Meetups Discussion

Link: https://pycon.blogspot.com/2025/04/community-orgs-and-meetups.html

Calling all 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 Python adjac
Everyday Superpowers: Preventing painful coupling

Link: https://everydaysuperpowers.dev/articles/preventing-painful-coupling/

This is the second entry in a five-part series about event sourcing:Why I Finally Embraced Event Sourcing—And Why You Should TooWhat is event sourcing and why you should carePreventing painful couplin
Glyph Lefkowitz: Stop Writing `__init__` Methods

Link: https://blog.glyph.im/2025/04/stop-writing-init-methods.html

The History
Before dataclasses were added to Python in version 3.7 — in June of 2018 — the
__init__ special method had an important use. If you had a class
representing a data structure — for example
Daniel Roy Greenfeld: TIL: webbrowser library

Link: https://daniel.feldroy.com/posts/til-2025-04-webbrowser-library

Python comes with webbrowser, a library for opening webbrowsers to specific pages such as this one.
>>> import webbrowser
>>> url = 'https://daniel.feldroy.com/'
>>> webbrowser.open(url)
Django Weblog: See you at PyCon US in Pittsburgh!

Link: https://www.djangoproject.com/weblog/2025/apr/18/see-you-at-pycon-us-in-pittsburgh/


We’ll be at PyCon US 2025, and hope to see the Django community and all our Python friends there ❤️! We have been granted a community booth at the conference – come say hi in the Expo Hall during ope
death and gravity: Process​Thread​Pool​Executor: when I‍/‍O becomes CPU-bound

Link: https://death.andgravity.com/ptpe

So, you're doing some I‍/‍O bound stuff, in parallel, many times.
Maybe you're scraping some websites – a lot of websites.
Maybe you're deleting tens of millions of DynamoDB items.
You've got your Thr
Real Python: The Real Python Podcast – Episode #247: Exploring DuckDB & Comparing Python Expressions vs Statements

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

Are you looking for a fast database that can handle large datasets in Python? What's the difference between a Python expression and a statement? Christopher Trudeau is back on the show this week, brin
Django Weblog: Django Admin Theme Roundup 2025

Link: https://www.djangoproject.com/weblog/2025/apr/18/admin-theme-roundup/

One of Django’s most appreciated features is the built-in admin functionality. In fact, it was ranked as the most useful contrib app in the 2023 Django developer survey.

With a few lines of code, Dja
Ned Batchelder: Regex affordances

Link: https://nedbatchelder.com/blog/202504/regex_affordances.html

Python regexes have a number of features that bring new power to text
manipulation. I’m not talking about fancy matching features like negative
look-behinds, but ways you can construct and use regexe
Eli Bendersky: Sparsely-gated Mixture Of Experts (MoE)

Link: https://eli.thegreenplace.net/2025/sparsely-gated-mixture-of-experts-moe/

In transformer models, the
attention block
is typically followed by a feed forward layer (FF), which is a simple fully-connected
NN with a hidden layer and nonlinearity. Here's the code for such a blo
Python GUIs: Multithreading PyQt6 applications with QThreadPool — Run background tasks concurrently without impacting your UI

Link: https://www.pythonguis.com/tutorials/multithreading-pyqt6-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
TechBeamers Python: Matplotlib Practice Online: Free Exercises

Link: https://techbeamers.com/matplotlib-practice-online/

📝 Check out a comprehensive set of Matplotlib exercises and practice with our Online Matplotlib Compiler. This library is mainly used for data visualization in Python. From this tutorial, you will get
Real Python: Quiz: Shallow vs Deep Copying of Python Objects

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

In this quiz, you’ll test your understanding of Shallow vs Deep Copying of Python Objects.
By working through this quiz, you’ll revisit the concepts of shallow and deep copying, and how they affect mu
Talk Python to Me: #502: Django Ledger: Accounting with Python

Link: https://talkpython.fm/episodes/show/502/django-ledger-accounting-with-python

Do you or your company need accounting software? Well, there are plenty of SaaS products out there that you can give your data to. but maybe you also really like Django and would rather have a foundat
Real Python: Shallow vs Deep Copying of Python Objects

Link: https://realpython.com/copying-python-objects/

Python’s assignment statements don’t copy objects as they do in some other programming languages. Instead, they create bindings between your variable names and objects. For immutable objects, this dis
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.
Update (April 21, 2025) : The tutorial has been updated for the latest Gemini model - Gemini 2.5 Flash
Python Software Foundation: PSF Grants Program 2024 Transparency Report

Link: https://pyfound.blogspot.com/2025/04/psf-grants-program-2024-transparency.html

The PSF’s Grants Program is a key plank in our charitable mission
to promote, protect, and advance the Python programming language and to
support and facilitate the growth of a diverse and internati