Twine

Utility for publishing Python packages to PyPI-compatible registries.


Using Twine Locally

Ensure the Desktop App is installed, running, and configured for Twine.

Connect Desktop App →

Simply use your standard commands - the Desktop App handles authentication automatically:

Upload:

twine upload dist/*

Alternatively: Manual Configuration

1. Generate an Access Token

Create an access token →

2. Configure

Create ~/.pypirc:

[distutils]
index-servers = fly

[fly]
repository = https://<your-fly-subdomain>.jfrog.io/artifactory/api/pypi/pypi
username = <your-fly-username>
password = <your-fly-token>

3. Upload

twine upload -r fly dist/*

Using Twine in CI/CD

Twine is fully supported in GitHub Actions workflows configured with JFrog Fly.

Learn how to configure GitHub Actions →


For installing packages, see pip → | Back to Python →