liveBook · Manning

Twine

As explained in Software Engineering for Data Scientists

twine is a Python utility for securely uploading Python package distributions to package indexes such as PyPI.

Twine is a Python utility for securely uploading package distributions to PyPI or other package repositories. It supports authentication, version updates, and testing package releases. section 11.2

How Software Engineering for Data Scientists covers it

How deep it goes
Explains installation, authentication, version updates, testing, and distribution uploads, but not Twine internals.
Examples
Uses pip install twine, python3 -m build, and twine upload dist/* for an ml_model package.
What it assumes
Assumes a Python package with pyproject.toml and package files, while showing installation and build commands.
What you can do after
Operate/configure Twine to upload wheel and source distributions to PyPI after building a package.
How it connects
Connects package metadata, pyproject.toml, build, pip, PyPI, and Python package distribution.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Engineering for Data Scientists. The section links point to the parts of the book it draws on.