Honestly, I would say the current state of the art is a community standard which is implemented by different projects, so you get to try them and choose your favorite 😀
But seriously though, I don't know that there's one thing that really qualifies as *the* state of the art. What I would suggest for someone just looking for a recommendation: - If your project lives on one of the sites that supports it, trusted publishing (docs.pypi.org/trusted-publishe…) - Otherwise, twine (pypi.org/project/twine/) is the standard tool for the job. What pip is for installing packages, twine is for publishing them.
If you're looking for something fancier, with more features, then it'd make sense for you to play around with those other projects I mentioned. Things like hatch and Poetry and uv. Which one you'll prefer will depend on your preferences.
Marcel-Jan Krijgsman
in reply to Valentino Gagliardi • • •Though I do not have a lot of experience with it yet, I hear uv is very popular for this.
You can find more on uv and other "hypermodern" #python stuff in this article:
datasciencesouth.com/blog/hype…
Hypermodern Python Toolbox 2025
datasciencesouth.comValentino Gagliardi
in reply to Marcel-Jan Krijgsman • • •David Zaslavsky
in reply to Valentino Gagliardi • • •Honestly, I would say the current state of the art is a community standard which is implemented by different projects, so you get to try them and choose your favorite 😀
But seriously though, I don't know that there's one thing that really qualifies as *the* state of the art. What I would suggest for someone just looking for a recommendation:
- If your project lives on one of the sites that supports it, trusted publishing (docs.pypi.org/trusted-publishe…)
- Otherwise, twine (pypi.org/project/twine/) is the standard tool for the job. What pip is for installing packages, twine is for publishing them.
If you're looking for something fancier, with more features, then it'd make sense for you to play around with those other projects I mentioned. Things like hatch and Poetry and uv. Which one you'll prefer will depend on your preferences.
#Python
Publishing with a Trusted Publisher - PyPI Docs
docs.pypi.orgValentino Gagliardi
in reply to David Zaslavsky • • •