#TIL how to setup a Trusted Publisher on PyPI, so continuous integration tools (Github, Gitlab, etc) can easily push #python releases to PyPI without needing to generate and store secrets.
* https://docs.pypi.org/trusted-publishers/
* https://medium.com/@blackary/publishing-a-python-package-from-github-to-pypi-in-2024-a6fb8635d45d
I guess it has been around for a bit, but it was new to me...
PS. and `uv build; uv publish` is all that's needed.
Edited 10d ago