Auto-publishing a Python Package to PyPI (with GitHub Actions)
March 2026
This guide shows how to configure a pyproject.toml, set up GitHub Actions for automated builds, and auto-publish your Python package to PyPI using trusted publishing triggered by Git tags
(such that your tagged commits will automatically be published as new releases on PyPI).