Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Engineering at Microsoft: mssql-python vs pyodbc: Benchmarking SQL Server Performance

Link: https://devblogs.microsoft.com/python/mssql-python-vs-pyodbc-benchmarking-sql-server-performance/




Reviewed by Imran Masud and Sumit Sarabhai
When it comes to working with Microsoft SQL Server in Python, pyodbc has long been the de facto driver. It’s mature, trusted and has been serving the comm
Real Python: Working With Python's .__dict__ Attribute

Link: https://realpython.com/courses/working-dict-attributes/

Python’s .__dict__ is a special attribute in classes and instances that acts as a namespace, mapping attribute names to their corresponding values. You can use .__dict__ to inspect, modify, add, or de
Python Morsels: Checking for string prefixes and suffixes in Python

Link: https://www.pythonmorsels.com/prefixes-and-suffixes/

Python's strings have methods for checking whether a string starts or ends with specific text and for removing prefixes and suffixes.



Table of contents

Slicing works, but there's a better way
The
PyCoder’s Weekly: Issue #694: Performance, Classes, t-strings, and More (Aug. 12, 2025)

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

#694 – AUGUST 12, 2025 View in Browser » Python Performance Myths and Fairy Tales This post summarizes a talk by Antonio Cuni who is a long time contributor to PyPy, the alternate Python interpr
Seth Michael Larson: Transferring “UTF8.XYZ

Link: https://sethmlarson.dev/transferring-utf8-xyz?utm_campaign=rss


I'm transferring the UTF8.XYZ domain and service to
Trey Hunner, a friend and beloved member of the Python community.
Trey and I have talked about making this transfer many times
at PyCon US's across
Ned Batchelder: Starting with pytest’s parametrize

Link: https://nedbatchelder.com/blog/202508/starting_with_pytests_parametrize.html

Writing tests can be difficult and repetitive. Pytest has a feature called
parametrize that can make it reduce duplication, but it can be hard to
understand if you are new to the testing world. It’s
PyCharm: Lightning-Fast Python: Mastering the uv Package Manager

Link: https://blog.jetbrains.com/pycharm/2025/08/lightning-fast-python-mastering-the-uv-package-manager/

Check out our recent livestream from August 7 on uv, a next-generation Python package manager revolutionizing Python development with speeds 10-100x faster than pip. Released just last year and writte
Real Python: Python's with Statement: Manage External Resources Safely

Link: https://realpython.com/python-with-statement/

Python’s with statement allows you to manage external resources safely by using objects that support the context manager protocol. These objects automatically handle the setup and cleanup phases of co
Django Weblog: Building better APIs: from Django to client libraries with OpenAPI

Link: https://www.djangoproject.com/weblog/2025/aug/13/building-better-apis-django-to-clients-openapi/


tl;dr
A summary of resources and learnings related to building REST API I put together over the last couple of years. Complete API development workflow from Django backend to frontend clients using D
Ari Lamstein: 🚀 Join Me Tonight for a Hands-On Streamlit Workshop!

Link: https://arilamstein.com/blog/2025/08/13/%f0%9f%9a%80-join-me-tonight-for-a-hands-on-streamlit-workshop/

I’m excited to announce that I’ll be running a live workshop tonight on Streamlit—the Python framework that makes it easy to build interactive web apps for data projects.
This session is designed for
Python Software Foundation: Announcing the PSF Board Candidates for 2025!

Link: https://pyfound.blogspot.com/2025/08/announcing-psf-board-candidates-for-2025.html

What an exciting list! Please take a look at who is running for the PSF Board this year on the 2025 Nominees page. This year there are 4 seats open on the PSF Board. You can see who is currently on th
Python Insider: Python 3.14.0rc2 and 3.13.7 are go!

Link: https://pythoninsider.blogspot.com/2025/08/python-3140rc2-and-3137-are-go.html

Not one but two expedited releases! 🎉 🎉
Python 3.14.0rc2
It’s the
final 🪄 penultimate 🪄 3.14 release candidate!
https://www.python.org/downloads/release/python-3140rc2/
Note: rc2 was originally plann
Glyph Lefkowitz: The Futzing Fraction

Link: https://blog.glyph.im/2025/08/futzing-fraction.html

The most optimistic vision of generative AI1 is that it will relieve us of
the tedious, repetitive elements of knowledge work so that we can get to work
on the really interesting problems that such te
Seth Michael Larson: Nintendo Switch Online + Expansion Pack is great for digital and physical GameCube players

Link: https://sethmlarson.dev/nintendo-switch-online-expansion-pack-is-great-for-digital-and-physical-gamecube-players?utm_campaign=rss


Nintendo just announced that the GameCube game “Chibi Robo!” would be coming in exactly one week to Nintendo
Switch Online + Expansion Pack (NSO+).
Chibi Robo is known for being a hidden gem in the G
Real Python: The Real Python Podcast – Episode #261: Selecting Inheritance or Composition in Python

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

When considering an object-oriented programming problem, should you prefer inheritance or composition? Why wouldn't it just be simpler to use functions? Christopher Trudeau is back on the show this we
John Cook: Converting very long strings to integers in Python

Link: https://www.johndcook.com/blog/2025/08/15/very-long-string-to-int/

In the process of writing the previous post, I wanted to confirm that the number in the post

really is prime. This was useful in debugging my manual conversion of the image to text: errors did not re
Test and Code: 238: So Long, and Thanks for All the Fish

Link: https://testandcode.com/episodes/so-long-and-thanks-for-all-the-fish

A farewell to a fun 10 years.Also, I should have tested it better. :)In the audio I got the numbers wrong.  Doh!This is episode 238, not 237. Oh well.I'll still be around, of course, at:pythontest.com
Made With Mu: RIP Mu

Link: https://madewith.mu/mu/users/2025/08/16/rip.html

Late last year we announced we’d retire Mu. The core maintainers have all moved
onto other things, our lives have changed and the time we have available to
maintain Mu has significantly decreased. Per
Seth Michael Larson: How many RSS subscribers do I have?

Link: https://sethmlarson.dev/how-many-rss-subscribers-do-i-have?utm_campaign=rss

RSS is super rad way to consume internet content (“like a newspaper”). This blog gets syndicated via RSS and an email newsletter. Unlike with my newsletter, it's not clear how many
people are reading