Publishing with twine
Upload to PyPI.
The Final Step
You have built artifacts in dist/. The last step is uploading them to PyPI so the world can pip install your package. The standard tool for this is twine.
twine uploads securely over HTTPS and validates artifacts before sending.
Installing twine
Install it with pip install twine. It is a small, focused tool: its job is purely to validate and upload the files in dist/. It does not build anything.
All lessons in this course
- Project Structure and pyproject.toml
- Building with build
- Versioning and Metadata
- Publishing with twine