Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Eli Bendersky: Decorator JITs - Python as a DSL

Link: https://eli.thegreenplace.net/2025/decorator-jits-python-as-a-dsl/

Spend enough time looking at Python programs and packages for machine learning,
and you'll notice that the "JIT decorator" pattern is pretty popular. For
example, this JAX snippet:
import jax.numpy as
PyBites: The Mutable Trap: Avoiding Unintended Side Effects in Python

Link: https://pybit.es/articles/the-mutable-trap-avoiding-unintended-side-effects-in-python/

Ever had a Python function behave strangely, remembering values between calls when it shouldn’t? You’re not alone! This is one of Python’s sneakiest pitfalls—mutable default parameters.Recently someon
Armin Ronacher: Fat Rand: How Many Lines Do You Need To Generate A Random Number?

Link: http://lucumr.pocoo.org/2025/2/4/fat-rand

I recently wrote about dependencies in Rust. The feedback, both within and outside
the Rust community, was very different. A lot of people, particularly
some of those I greatly admire expressed supp
Python Circle: Installing Python3.13 on Ubuntu 22.04

Link: https://pythoncircle.com/post/789/installing-python313-on-ubuntu-2204/

python3.13 installation, building python from source code, python 3.13, latest python installation, solving sqlite not found error, python stable version installation on linux, ubuntu python 3.13 inst
Hugo van Kemenade: How to delay a Python release

Link: https://hugovk.dev/blog/2025/how-to-delay-a-python-release/

Prologue #This was a
Twitter thread from 15th January 2022
about my first CPython bug. Eight days from report to fix to merge, not bad!

Delay #I helped
delay the release of Python 3.11.0a4!
But in a
PyCoder’s Weekly: Issue #667: String Templates, Missing Data, Dynamic Forms, and More (Feb. 4, 2025)

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

#667 – FEBRUARY 4, 2025 View in Browser » A Revamped Python String-Formatting Proposal PEP 750 proposes template strings, and the PEP has been through a lot of modifications since it was origina
Python Insider: Python 3.13.2 and 3.12.9 now available!

Link: https://pythoninsider.blogspot.com/2025/02/python-3132-and-3129-now-available.html

 A small release day today! That is to say the releases are relatively
small; the day itself was of average size, as most days are.
Python 3.13.2
Python 3.13’s second maintenance release. About 250 c
Real Python: Quiz: How to Split a String in Python

Link: https://realpython.com/quizzes/python-split-string/

In this quiz, you’ll test your understanding of
Python’s .split() method.
Python’s .split() method lets you divide a string into a list of substrings based on a specified delimiter. By default, .split
ListenData: How to Integrate Gemini API with 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.
Steps to Access Gemini API
Follow the steps below to access the Gemini API and then use it in python.
Django Weblog: Django bugfix releases issued: 5.1.6, 5.0.12, and 4.2.19

Link: https://www.djangoproject.com/weblog/2025/feb/05/bugfix-releases/

Today we've issued
5.1.6,
5.0.12, and
4.2.19 bugfix releases.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for
Real Python: How to Split a String in Python

Link: https://realpython.com/python-split-string/

Python’s .split() method lets you divide a string into a list of substrings based on a specified delimiter. By default, .split() separates at whitespace, including spaces, tabs, and newlines. You can
Python Bytes: #419 Is your back end popular?

Link: https://pythonbytes.fm/episodes/show/419/is-your-back-end-popular

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

<ul>
<li><a href="https://github.com/mikeckennedy/content-types?featured_on=pythonbytes"><strong>content-types package</strong></a> <strong>for b
Hugo van Kemenade: I'm excited to join the Sovereign Tech Fellowship

Link: https://hugovk.dev/blog/2025/im-excited-to-join-the-sovereign-tech-fellowship/

For the duration of 2025, I’m thrilled to join the
Sovereign Tech Fellowship for Maintainers!
This is a pilot programme from the Sovereign Tech Agency
to pay maintainers of critical open source techno
PyPy: PyPy v7.3.18 release

Link: https://www.pypy.org/posts/2025/02/pypy-v7318-release.html

PyPy v7.3.18: release of python 2.7, 3.10 and 3.11 beta
The PyPy team is proud to release version 7.3.18 of PyPy.
This release includes a python 3.11 interpreter. We are labelling it "beta"
because it
ListenData: How to Use Web Search in ChatGPT API

Link: https://www.listendata.com/2025/02/how-to-use-web-search-in-chatgpt-api.html

In this tutorial, we will explore how to use web search in OpenAI API.
By default, the ChatGPT API does not provide the latest web search results. It limits its usefulness for many topics or queries o
Real Python: Quiz: Python "for" Loops: The Pythonic Way

Link: https://realpython.com/quizzes/python-for-loop/

In this quiz, you’ll test your understanding of Python’s for loop.
By working through this quiz, you’ll revisit how to iterate over items in a data collection, how to use range() for a predefined numb
Python Engineering at Microsoft: Python in Visual Studio Code – February 2025 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-february-2025-release/

We’re excited to announce the February 2025 release of the Python, Pylance and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:

No-config debugging
Test d