Planet Python RSS
218 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Morsels: Refactoring long boolean expressions

Link: https://www.pythonmorsels.com/refactoring-boolean-expressions/

You can improve the readability of long boolean expressions by splitting your code, naming sub-expressions, or rewriting your Boolean logic.



Table of contents

Breaking up long expressions
Naming s
Django Weblog: Django 5.2 release candidate 1 released

Link: https://www.djangoproject.com/weblog/2025/mar/19/django-52-rc1/

Django 5.2 release candidate 1 is the final opportunity for you to
try out a composite of new features before Django 5.2 is released.
The release candidate stage marks the string freeze and the call f
Real Python: Quiz: Python's Bytearray

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

In this quiz, you’ll test your understanding of Python’s Bytearray: A Mutable Sequence of Bytes.
By working through this quiz, you’ll revisit the key concepts and uses of bytearray in Python.

[ Impro
Real Python: LangGraph: Build Stateful AI Agents in Python

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

LangGraph is a versatile Python library designed for stateful, cyclic, and multi-actor Large Language Model (LLM) applications. LangGraph builds upon its parent library, LangChain, and allows you to b
Quansight Labs Blog: Quansight Labs Annual Report 2024: Year of focus and execution

Link: https://labs.quansight.org/blog/labs-annual-report-2024

Presenting our 2024 annual report! Read about our open source project and community highlights, initiatives, and work culture.
PyCon: Refund Policy for International Attendees

Link: https://pycon.blogspot.com/2025/03/refund-policy-for-international.html

International travel to the United States has become more complex for many in our community. PyCon US welcomes all community members to Pittsburgh and we are committed to running a safe and friendly
PyBites: Optimizing Python: Understanding Generator Mechanics, Expressions, and Efficiency

Link: https://pybit.es/articles/optimizing-python-understanding-generator-mechanics-expressions-and-efficiency/

Python generators provide an elegant mechanism for handling iteration, particularly for large datasets where traditional approaches may be memory-intensive. Unlike standard functions that compute and
PyBites: Optimizing Python: Understanding Generator Mechanics, Expressions, and Efficiency

Link: https://pybit.es/articles/generator-mechanics-expressions-and-efficiency/

Python generators provide an elegant mechanism for handling iteration, particularly for large datasets where traditional approaches may be memory-intensive. Unlike standard functions that compute and
Seth Michael Larson: I fear for the unauthenticated web

Link: https://sethmlarson.dev/i-fear-for-the-unauthenticated-web?utm_campaign=rss

LLM and AI companies seem to all be in a race to
breathe the last breath of air in every room
they stumble into. This practice started with larger
websites, ones that already had protection from
malic
PyCharm: 数据科学中的数据清理

Link: https://blog.jetbrains.com/pycharm/2025/03/data-cleaning-in-data-science

在本数据科学博文系列中,我们探讨了从哪里获取数据以及如何使用 pandas 探索数据,不过虽然这些数据对于学习非常有用,但它与我们所说的真实世界数据并不相似。 用于学习的数据通常已经过清理和整理,方便您快速学习而不必考虑数据清理,但真实世界数据存在问题并且很混乱。 真实世界数据需要清理才能提供有用的洞察,这就是本文的主题。 
数据问题可能来自数据本身的行为、数据收集方式,甚至是数据输入方式。 流程
Real Python: The Real Python Podcast – Episode #244: A Decade of Automating the Boring Stuff With Python

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

What goes into updating one of the most popular books about working with Python? After a decade of changes in the Python landscape, what projects, libraries, and skills are relevant to an office worke
Daniel Roy Greenfeld: Using pyinstrument to profile FastHTML apps

Link: https://daniel.feldroy.com/posts/2025-03-using-pyinstrument-to-profile-fasthtml-apps

FastHTML is built on Starlette, so we use Starlette's middleware tooling and then pass in the result. Just make sure you install pyinstrument.
WARNING: NOT FOR PRODUCTION ENVIRONMENTS Including a pro
Talk Python to Me: #497: Outlier Detection with Python

Link: https://talkpython.fm/episodes/show/497/outlier-detection-with-python

Have you ever wondered why certain data points stand out so dramatically? They might hold the key to everything from fraud detection to groundbreaking discoveries. This week on Talk Python to Me, we d
Techiediaries - Django: 10xDev Newsletter #1: Vibe Coding, Clone UIs with AI; Python for Mobile Dev; LynxJS — Tiktok New Framework; New Angular 19, React 19, Laravel 12 Features; AI Fakers in Recruitment; Local-First Apps…

Link: https://www.techiediaries.com/vibe-coding-clone-uis-ai-python-mobile-lynxjs-new-angular-19-react-19-laravel-12/

Issue #1 of 10xDev Newsletter for modern dev technologies, productivity, and devneurship in the era of AI!
Anarcat: Losing the war for the free internet

Link: https://anarc.at/blog/2025-03-21-losing-war-internet/

Warning: this is a long ramble I wrote after an outage of my home
internet. You'll get your regular scheduled programming shortly.
I didn't realize this until relatively recently, but we're at war.
Fa
Anarcat: Minor outage at Teksavvy business

Link: https://anarc.at/blog/2025-03-21-another-home-outage/

This morning, internet was down at home. The last time I had such an
issue was in February 2023, when my
provider was Oricom. Now I'm with a business service at Teksavvy
Internet (TSI), in which I pay
Eli Bendersky: Understanding Numpy's einsum

Link: https://eli.thegreenplace.net/2025/understanding-numpys-einsum/

This is a brief explanation and a cookbook for using numpy.einsum,
which lets us use Einstein notation to evaluate operations on
multi-dimensional arrays. The focus here is mostly on einsum's explicit
Go Deh: Incremental combinations without caching

Link: http://paddy3118.blogspot.com/2025/03/incremental-combinations-without-caching.html

 Irie server roomSomeone had a problem where they received initial data d1, worked on all r combinations of the data initially received, but by the time they had finished that, they checked and found
Real Python: Quiz: How to Strip Characters From a Python String

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

In this quiz, you’ll test your understanding of Python’s .strip() method.
You’ll also revisit the related methods .lstrip() and .rstrip(), as well as .removeprefix() and .removesuffix(). These methods
Armin Ronacher: Bridging the Efficiency Gap Between FromStr and String

Link: http://lucumr.pocoo.org/2025/3/23/from-string

Sometimes in Rust, you need to convert a string into a value of a specific
type (for example, converting a string to an integer).
For this, the standard library provides the rather useful FromStr trai