Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Python for Beginners: Split String Into Characters in Python

Link: https://www.pythonforbeginners.com/basics/split-string-into-characters-in-python

Strings are used for text manipulation in Python. In this article, we will discuss different ways to split a string into characters in python.
Table of ContentsSplit String Into Characters Using for L
PyCharm: PyCharm 2023.1: Early Access Program Is Open!

Link: https://blog.jetbrains.com/pycharm/2023/01/2023-1-eap-1/

We are opening the Early Access Program for PyCharm 2023.1! We invite you to take part and help us fine-tune the features we plan to include in PyCharm 2023.1.

If you haven’t yet participated in one
PyBites: Testing membership and empty strings

Link: https://pybit.es/articles/testing-membership-and-empty-strings/

I was working on one of the exercises on the Pybites platform (Bite 29) and encountered a situation I didn’t understand. I needed to check a set of inputs to see if they were alphanumeric or not as pa
CodersLegacy: Python Error: “most likely due to a circular import” (Solution)

Link: https://coderslegacy.com/circular-import-error-with-solution/

In this article we will discuss the Circular Import Error that can occur when importing modules in Python, and how to solve it.



What is a Circular Import?
Circular imports in Python can be a tricky
Kushal Das: Johnnycanencrypt 0.13.0 released

Link: https://kushaldas.in/posts/johnnycanencrypt-0-13-0-released.html


I just now released
v0.13.0
of my johnnycanencrypt project. It is a Python module written in Rust, which
provides OpenPGP functionality including allows usage of Yubikey 4/5 as
smartcards. From 0.12.
Jonathan Street: Updating FIDO U2F to WebAuthn

Link: http://jonathanstreet.com/blog/update-fido-u2f-to-webauthn/

Back in 2018 I published a post on adding support for FIDO U2F second factor authentication to a flask application. At the time, FIDO U2F was a relatively new technology and, based in part on its deve
John Ludhi/nbshare.io: Calculate Stock Options Max Pain Using Data From Yahoo Finance With Python

Link: https://www.nbshare.io/notebook/318554522/Calculate-Stock-Options-Max-Pain-Using-Data-From-Yahoo-Finance-With-Python/







Calculate Stock Options Max Pain Using Data From Yahoo Finance With Python










Max Pain is a theory that suggests that the price of an option contract will tend to move towards a certain s