How to Publish a Python Package to PyPI (2026)Build your package, test it on TestPyPI, then publish to PyPI with twine, uv, Hatch, or Poetry, plus trusted publishing from GitHub ActionsPackagingTutorial