Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Nested Loops in Python

Link: https://realpython.com/nested-loops-python/

Nested loops in Python allow you to place one loop inside another, enabling you to perform repeated actions over multiple sequences. Understanding nested loops helps you write more efficient code, man
Django Weblog: Why, in 2025, do we still need a 3rd party app to write a REST API with Django?

Link: https://www.djangoproject.com/weblog/2025/may/22/why-need-3rd-party-app-rest-api-with-django/


The question was asked to the president of the DSF this year at FOSDEM, after his talk. And it is clearly a legitimate one!
But… is it True? Do we actually need a 3rd party app to write an API with D
Python⇒Speed: Loading Pydantic models from JSON without running out of memory

Link: https://pythonspeed.com/articles/pydantic-json-memory/

You have a large JSON file, and you want to load the data into Pydantic.
Unfortunately, this uses a lot of memory, to the point where large JSON files are very difficult to read.
What to do?
Assuming
Real Python: The Real Python Podcast – Episode #250: DjangoCon Europe 2025: Live Recording From Dublin

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

What goes into making video courses at Real Python? How should you build an installable Django application? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekl
Real Python: Quiz: Marimo: A Reactive, Reproducible Notebook

Link: https://realpython.com/quizzes/marimo-notebook/

Why not challenge yourself and see how much you know about marimo notebooks?
Working your way through this quiz is a great way to reinforce and build on what you learned in the Marimo: A Reactive, Rep
Brian Okken: Unravelling t-strings with pytest

Link: https://pythontest.com/unravelling-t-strings-pytest/

Brett Cannon recently released a great article explaining how Python 3.14’s new t-strings work.
Here’s the article: Unravelling t-strings.
He built up the functionality of how t-strings work in a way
Real Python: Marimo: A Reactive, Reproducible Notebook

Link: https://realpython.com/marimo-notebook/

Marimo notebooks redefine the notebook experience by offering a reactive environment that addresses the limitations of traditional linear notebooks. With marimo, you can seamlessly reproduce and share
Python Insider: Python 3.14.0 beta 2 is here!

Link: https://pythoninsider.blogspot.com/2025/05/python-3140-beta-2-is-here.html

Here’s the second 3.14 beta.
https://www.python.org/downloads/release/python-3140b2/
This is a beta preview of Python 3.14
Python 3.14 is still in development. This release, 3.14.0b2, is the
second of
Python Morsels: Looping in reverse

Link: https://www.pythonmorsels.com/looping-in-reverse/

Any reversible iterable can be reversed using the built-in reversed function whereas Python's slicing syntax only works on sequences.



Table of contents

Reversing sequences with slicing
The list re
Real Python: The LEGB Rule & Understanding Python Scope

Link: https://realpython.com/courses/legb-rule-python-scope/

The concept of scope rules how variables and names are looked up in your code. It determines the visibility of a variable within the code. The scope of a name or variable depends on the place in your
PyCoder’s Weekly: Issue #683: Narwhals, ty, LangChain, and More (May 27, 2025)

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

#683 – MAY 27, 2025 View in Browser » Narwhals: Unified DataFrame Functions Narwhals is a lightweight compatibility layer between DataFrame libraries. You can use it as a common interface to wri
Python Bytes: #433 Dev in the Arena

Link: https://pythonbytes.fm/episodes/show/433/dev-in-the-arena

<strong>Topics covered in this episode:</strong><br>

<ul>
<li><a href="https://github.com/k88hudson/git-flight-rules?featured_on=pythonbytes"><strong>git-flight-rules</strong></a></li>
<li><a href="
Kay Hayen: Nuitka Release 0.6.10

Link: https://nuitka.net/changelog/posts/nuitka-release-0610.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release comes with many new features, e.g. onefile support, as well
a
Kay Hayen: Nuitka Release 0.6.11

Link: https://nuitka.net/changelog/posts/nuitka-release-0611.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release is a massive improvement in many ways with lots of bug
fixes
Kay Hayen: Nuitka Release 0.6.12

Link: https://nuitka.net/changelog/posts/nuitka-release-0612.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release is yet again a massive improvement in many ways with lots
of
Kay Hayen: Nuitka Release 0.6.13

Link: https://nuitka.net/changelog/posts/nuitka-release-0613.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release follows up with yet again massive improvement in many ways
wi