What's the current state of the art for publishing Python packages? Resources and link would be helpful!
@gagliardi_vale 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 (https://docs.pypi.org/trusted-publishers/using-a-publisher/#github-actions)
- Otherwise, twine (https://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.
@diazona precious! Thanks!