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

Link: https://realpython.com/courses/building-dictionary-comprehensions/

Dictionary comprehensions are a concise and quick way to create, transform, and filter dictionaries in Python. They can significantly enhance your code’s conciseness and readability compared to using
Daniel Roy Greenfeld: TIL: Using inspect and timeit together

Link: https://daniel.feldroy.com/posts/til-2025-01-timeit-and-inspect

Two libraries in Python's standard library that are useful for keeping load testing code all in one module.
Python Morsels: Python's range() function

Link: https://www.pythonmorsels.com/range/

The range function can be used for counting upward, countdown downward, or performing an operation a number of times.



Table of contents

Counting upwards in Python
Using range with a step value
Cou
Python⇒Speed: Catching memory leaks with your test suite

Link: https://pythonspeed.com/articles/identifying-resource-leaks-with-pytest/

Resource leaks are an unpleasant type of bug.
Little by little your program uses more memory, or more file descriptors, or some other limited resource.
Everything seems fine—until you run, and now you
Python Insider: Python 3.14.0 alpha 4 is out

Link: https://pythoninsider.blogspot.com/2025/01/python-3140-alpha-4-is-out.html

Hello, three dot fourteen dot zero alpha four!
https://www.python.org/downloads/release/python-3140a4/
This is an early developer preview of Python
3.14
Major
new features of the 3.14 series, compared
PyCoder’s Weekly: Issue #664: Django vs FastAPI, Interacting With Python, Data Cleaning, and More (Jan. 14, 2025)

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

#664 – JANUARY 14, 2025 View in Browser » Django vs. FastAPI, an Honest Comparison David has worked with Django for a long time, but recently has done some deeper coding with FastAPI. As a resul
Peter Bengtsson: How I run standalone Python in 2025

Link: http://www.peterbe.com/plog/run-standalone-python-2025

`uv run --python 3.12 --with requests python $@` to quickly start a Python interpreter with the `requests` package installed without creating a whole project.
Mike Driscoll: Textual – Switching Screens in Your Terminal

Link: https://www.blog.pythonlibrary.org/2025/01/14/textual-switching-screens-in-your-terminal/

The Screen is a container for your widgets. These screens occupy the dimensions of your terminal by default. While you can have many different screens in a single application, only one screen may be a
Glyph Lefkowitz: Small PINPal Update

Link: https://blog.glyph.im/2025/01/small-pinpal-update.html

Today on stream, I updated
PINPal to fix the memorization algorithm.
If you haven’t heard of PINPal before, it is a vault password memorization
tool. For more detail on what that means, you can check
Real Python: How to Replace a String in Python

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

Replacing strings in Python is a fundamental skill. You can use the .replace() method for straightforward replacements, while re.sub() allows for more advanced pattern matching and replacement. Both o
The Python Show: 52 - PyTorch and LLMs with Daniel Voigt Godoy

Link: https://www.pythonshow.com/p/52-pytorch-and-llms-with-daniel-voigt

In today’s podcast, we welcome Daniel Voigt Godoy to the show. Daniel is the author of Deep Learning with PyTorch Step-by-Step among other books.We chatted about the following topics:Favorite Python p
Steve Holden: I want to bang some heads together!

Link: http://holdenweb.blogspot.com/2025/01/i-want-toang-some-heads-together.html

 It's frustrating when useful tools refuse to work together nicely. In the past I've experienced conflicts between black and flake8 that made it impossible to commit via my default commit hooks. Now I
Seth Michael Larson: Quickly visualizing an SBOM document

Link: https://sethmlarson.dev/quickly-visualizing-sbom-with-cli?utm_campaign=rss

Have you ever had a Software Bill-of-Materials (SBOM) document
and just want to look at the dang thing? Preferably using CLI tools? SBOMs
tend to be quite large for non-trivial software projects, so
l
Django Weblog: Django 5.2 alpha 1 released

Link: https://www.djangoproject.com/weblog/2025/jan/16/django-52-alpha-1-released/

Django 5.2 alpha 1 is now available. It represents the first stage in the 5.2
release cycle and is an opportunity for you to try out the changes coming in
Django 5.2.
Django 5.2 brings a composite of
PyCharm: Anomaly Detection in Machine Learning Using Python

Link: https://blog.jetbrains.com/pycharm/2025/01/anomaly-detection-in-machine-learning/


In recent years, many of our applications have been driven by the high volume of data that we are able to collect and process. Some may refer to us being in the age of data. One of the essential aspe
PyBites: Creating a Fitness Tracker App with Python Reflex

Link: https://pybit.es/articles/fitness-tracker-app-with-python-reflex/

In this post, I will build a simple fitness tracker app using Python Reflex. Reflex is a Python library that allows you to create reactive applications using a functional and declarative approach. We
TestDriven.io: Database Indexing in Django

Link: https://testdriven.io/blog/django-db-indexing/

This article explores the basics of database indexing, its advantages and disadvantages, and how to apply it in a Django application.
Django Weblog: Hello from the new Steering Council; and a quick temporary voting process change

Link: https://www.djangoproject.com/weblog/2025/jan/16/hello-from-the-new-steering-council-and-a-quick-te/

Hello Django community! The Steering Council is officially in action and we want to give you a heads up on a change we're making for the short-term.
The process for formal Steering Council votes (docu
Real Python: The Real Python Podcast – Episode #235: Principles for Considering Your Python Tooling

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

What are the principles you should consider when making decisions about which Python tools to use? What anti-patterns get in the way of making the right choices for your team? Christopher Trudeau is b
PyBites: Create Project-Less Python Utilities with uv and Inline Script Metadata

Link: https://pybit.es/articles/create-project-less-python-utilities-with-uv-and-inline-script-metadata/

The other day I wanted to demo the Google Books API (we use for Pybites Books) to somebody so I started to write some code on the fly to call its endpoints using httpx.Then I thought it would be nice