Mariano Semelman
msemelman.bsky.social
Mariano Semelman
@msemelman.bsky.social
Reposted by Mariano Semelman
TLDR; The PSF has made the decision to put our community and our shared diversity, equity, and inclusion values ahead of seeking $1.5M in new revenue. Please read and share. pyfound.blogspot.com/2025/10/NSF-...
🧵
The official home of the Python Programming Language
www.python.org
October 27, 2025 at 2:47 PM
Today I Learned
Don't write enumeration values by hand.

In Python, you can use `auto` to do that for you!

`auto` will assign consecutive integers to enumeration members, which is super convenient.

For flag enums, it'll use consecutive powers of 2.

For string enums, it'll lowercase the member names!
April 25, 2025 at 7:43 PM
Reposted by Mariano Semelman
UV 0.6.15 has preliminary pylock.toml support!

That means there is either merged code or a release with pylock.toml support in:

1. Pip
2. Pip-audit
3. PDM
4. uv

github.com/astral-sh/uv...
Release 0.6.15 · astral-sh/uv
Release Notes This release includes preliminary support for the pylock.toml file format, as standardized in PEP 751. pylock.toml is an alternative resolution output format intended to replace requi...
github.com
April 23, 2025 at 12:28 AM
Reposted by Mariano Semelman
Reinventing Notebooks as Reusable Python Programs #python
Reinventing Notebooks as Reusable Python Programs #python
Marimo is a Jupyter replacement that uses Python as its source instead of JSON, solving a lot of issues with notebooks. This article shows you why you might switch to marimo.
marimo.io
April 20, 2025 at 3:00 AM