Many developers choose Twine to publish Python packages. Gemfury supports Twine through our upload endpoint.
To start, you will need an authentication token for your account from the Tokens section of your dashboard.
Upload a single package with the following command:
$ twine upload PACKAGE --repository-url https://push.fury.io/ACCOUNT -u USER -p TOKEN
You can also upload multiple packages by specifying a directory:
$ twine upload dist/* --repository-url https://push.fury.io/ACCOUNT -u USER -p TOKEN
If using Twine as part of a script, securely pass your credentials using
environment variables TWINE_USERNAME and TWINE_PASSWORD:
$ TWINE_USERNAME=USER TWINE_PASSWORD=TOKEN twine upload PACKAGE --repository-url https://push.fury.io/ACCOUNT
You may alternatively use Keyring to store your credentials.