Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCoder’s Weekly: Issue #560 (Jan. 17, 2023)

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

#560 – JANUARY 17, 2023 View in Browser » PEP 703: Making the GIL Optional in CPython This PEP proposes changes to the CPython build process that would allow you to build a GIL-less interpreter.
Sebastian Witowski: Dictionary Comprehension

Link: https://switowski.com/blog/dictionary-comprehension/

Apart from the list comprehension method, in Python, we also have dictionary comprehension - a little less known but very useful feature. It's a perfect tool for creating a dictionary from an iterable
PyBites: Love the process and identify with your habits

Link: https://pybit.es/articles/love-the-process-and-identify-with-your-habits/

This content appeared as a Pybites email first. If you like it, subscribe to our friends list here to be the first to get this valuable Python / Developer / Mindset related content.
Notice: this is no
PyBites: Special podcast #100: Developer + Mindset Tips for 2023 (and our favorite shows)

Link: https://pybit.es/articles/special-podcast-100-developer-mindset-tips-for-2023-and-our-favorite-shows/

Listen here:

Or watch here:


We’re back with… episode 100!
In this episode we highlight our favorite moments from the show:
– How to Say no!
– Being your Authentic Self with Hannah Kook
– Practical
The Python Coding Blog: Some Best Practices When Writing Python Functions [Intermediate Python Functions Series #7]

Link: https://thepythoncodingbook.com/2023/01/18/best-practices-in-python-functions/

You’ve covered a lot of material in this Intermediate Python Functions Series. In this final article, you’ll read about some best practices in Python functions.
This topic is different from the previo
Python for Beginners: Pandas Map Function to Series in Python

Link: https://www.pythonforbeginners.com/basics/pandas-map-function-to-series-in-python

The pandas’ map() method is used to map dictionaries or functions to pandas series or dataframe columns. In this article, we will discuss different ways to map a function, series, or dictionary to a s
Real Python: Working With Linear Systems in Python With scipy.linalg

Link: https://realpython.com/python-scipy-linalg/

Linear algebra is widely used across a variety of subjects, and you can use it to solve many problems once you organize the information using concepts like vectors and linear equations. In Python, mos
Python Bytes: #319 CSS-Style Queries for... JSON?

Link: https://pythonbytes.fm/episodes/show/319/css-style-queries-for...-json

<a href='https://www.youtube.com/watch?v=rvhdSQvzYaM' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by <a href="http://pythonbytes.fm/f
Hynek Schlawack: Why I Like Nox

Link: https://hynek.me/articles/why-i-like-nox/

Ever since I got involved with open-source Python projects, Tox has been vital for testing packages across Python versions (and other factors). However, lately, I’ve been increasingly using Nox for my
Will Kahn-Greene: Socorro: Schema based overhaul of crash ingestion: retrospective (2022)

Link: https://bluesock.org/~willkg/blog/mozilla/socorro_schema_based_overhaul.html

Project

time:
2+ years

impact:

radically reduced risk of data leaks due to misconfigured permissions
centralized and simplified configuration and management of fields
normalization and validation p
Talk Python to Me: #399: Monorepos in Python

Link: https://talkpython.fm/episodes/show/399/monorepos-in-python

Monorepos are contrary to how many of us have been taught to use source control. To start a project or app, the first thing we do is create a git repo for it. This leads to many focused and small repo
Ned Batchelder: Scriv 1.2: create GitHub releases

Link: https://nedbatchelder.com/blog/202301/scriv_12_create_github_releases.html

I’ve been adding to scriv, my changelog management tool.
The latest release is 1.2.0, with improvements to creating GitHub releases.As I mentioned on last
month’s podcast, I think it’s important to ha
Mahmoud Hashemi: Cruising through complex data

Link: http://sedimental.org/cruising_through_data.html

This post is a showcase of data wrangling techniques in Python, using glom.
If you haven't heard of glom, it's a data transformation library and CLI designed for Python.
Think HTML templating, but f
Python⇒Speed: Some reasons to avoid Cython

Link: https://pythonspeed.com/articles/cython-limitations/

If you need to speed up Python, Cython is a very useful tool.
It lets you seamlessly merge Python syntax with calls into C or C++ code, making it easy to write high-performance extensions with rich Py
Daniel Roy Greenfeld: Configuring Sphinx Auto-Doc with projects having Django dependencies

Link: https://daniel.feldroy.com/posts/2023-01-configuring-sphinx-auto-doc-with-django

How to make it so projects with Django as a dependency benefit from Sphinx's auto-documentation features.
The Problem
I want to be able to document open source packages with Sphinx (ex. xocto) and hav
Kay Hayen: Nuitka Package Configuration Kickoff

Link: https://nuitka.net/posts/nuitka-package-config-kickoff.html

The term “kickoff” refers to a series of posts about the Nuitka package
configuration. The details are here on a dedicate page on the web site
only. Nuitka Package Configuration.
This documentation is
Real Python: The Real Python Podcast – Episode #141: Exploring Python With bpython & Formalizing f-String Grammar

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

Have you used the Python Read-Eval-Print Loop (REPL) to explore the language and learn about how it operates? Would it help if it provided syntax highlighting, definitions, and code completion and beh