Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Talk Python to Me: #432: Migrating to Pydantic 2.0: Beanie for MongoDB

Link: https://talkpython.fm/episodes/show/432/migrating-to-pydantic-2.0-beanie-for-mongodb

By now, surely you've heard how awesome Pydantic version 2 is. The team led by Samual Colvin spent almost a year refactoring and reworking the core into a high-performance Rust version while keeping t
Python Engineering at Microsoft: Python in Visual Studio Code – October 2023 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-october-2023-release/

We’re excited to announce the October 2023 release of the Python and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:

Python Debugger extension updates
De
Robin Wilson: Upcoming talks: Cafe Sci Oxford & PyData Southampton

Link: https://blog.rtwilson.com/upcoming-talks-cafe-sci-oxford-pydata-southampton/

I’m giving two talks in the next two weeks, and wanted to publicise them here in case anyone local-ish wants to come.
Oxford Cafe Scientifique

I’ve spoken at various Cafe Scientifique meet-ups before
TechBeamers Python: Python Dictionary to JSON

Link: https://www.techbeamers.com/python-dictionary-to-json/

Dictionaries are data structures that store key-value pairs. Often, in Python programs, you need to convert these dictionaries into JSON (JavaScript Object Notation) format sometimes for data storage,
TechBeamers Python: Python Sorting a Dictionary

Link: https://www.techbeamers.com/python-sorting-dictionary/

Sorting a dictionary in Python allows you to organize its key-value pairs based on certain criteria. It includes sorting by keys or values, in ascending or descending order. Python provides several me
TypeThePipe: How to upper strip in Python

Link: https://typethepipe.com/vizs-and-tips/upper-strip-python/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
Mike Driscoll: PyDev of the Week: Pradeep Kumar Srinivasan

Link: https://www.blog.pythonlibrary.org/2023/10/09/pydev-of-the-week-pradeep-kumar-srinivasan/

This week, we welcome Pradeep Kumar Srinivasan as our PyDev of the Week! Pradeep works on the Pyre package, which is a performant type-checker for Python as well as the Pysa security tool.
You can som
Real Python: Python News: What's New From September 2023

Link: https://realpython.com/python-news-september-2023/

As the leaves turned yellow and fall set in, the Python community prepared for the release of Python 3.12 in early October. This new version of the most popular programming language brings several exc
TypeThePipe: Sort in Python Polars. Arrange your DataFrames and Series

Link: https://typethepipe.com/vizs-and-tips/python-polars-sort/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
EuroPython Society: EPS Board 2023-2024

Link: https://www.europython-society.org/eps-board-2023-2024/

We’re happy to announce our new board for the next term 2023-2024:Alexander HendorfAnders Hammarquist (Treasurer)Artem Kisloskiy (Vice Chair) Artur Czepiel (Chair)Laís CarvalhoSangharshanan Veera Seba
Real Python: Using Python's min() and max()

Link: https://realpython.com/courses/python-min-max/

Python’s built-in min() and max() functions come in handy when you need to find the smallest and largest values in an iterable or in a series of regular arguments. Even though these might seem like fa
Stack Abuse: Fix "ModuleNotFoundError: No module named 'pip'" in Python

Link: https://stackabuse.com/fix-modulenotfounderror-no-module-named-pip-in-python/

Introduction
As a Python developer, you may have encountered the error ModuleNotFoundError: No module named 'pip'. This error is typically thrown when you attempt to use pip, Python's package installe
PyCoder’s Weekly: Issue #598 (Oct. 10, 2023)

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

#598 – OCTOBER 10, 2023 View in Browser » Python’s tuple Data Type: A Deep Dive With Examples In Python, a tuple is a built-in data type that allows you to create immutable sequences of values.
Python Bytes: #356 Ripping from PyPY

Link: https://pythonbytes.fm/episodes/show/356/ripping-from-pypy

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

<ul>
<li><a href="https://www.psycopg.org/psycopg3/"><strong>Psycopg 3</strong></a></li>
<li><a href="https://github.com/konradhalas/dacite"><str
PyBites: Using Python in Excel with PyXLL

Link: https://pybit.es/articles/using-python-in-excel-with-pyxll/

In this podcast episode we talk with Tony Roberts, creator of PyXLL (pronounced “pixel”). 
Listen here:

Also released on our YouTube channel:


We dive into the backstory of this Python Excel Add-in,
Daniel Roy Greenfeld: TIL: Capture stdout & stderr with pytest

Link: https://daniel.feldroy.com/posts/til-2023-10-capture-stdout-stderr-with-pytest

I wish I knew this earlier, but I know it now thanks to Cody Antunez. Here it is:
import sys

def test_myoutput(capsys): # or use "capfd" for fd-level

# Write some text
print("hello")
sy
TypeThePipe: Mastering Python Polars json manipulation. Do it in an easy and robust way!

Link: https://typethepipe.com/vizs-and-tips/python-polars-json-manipulation/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
PyCharm: 2023 and Beyond: The Future of Data Science Told By 79,306 People

Link: https://blog.jetbrains.com/pycharm/2023/10/future-of-data-science/

Data science has been the hottest thing for a while now, but it still continues to be a major talking point even today. In fact, according to the U.S. Bureau of Labor Statistics, it’s estimated that a