Private Python packages

Learn how to distribute your private Python packages.


When configuring distribution you will need to provide the package name as defined in your or pyproject.toml.

When you create a release on GitHub, Anystack expects one or more artifacts to be attached to the release, for example:

  • package.tar.gz
  • package.whl

Installation instructions

Your customers can use pip to install your package with the following command:

python3 -m pip install -i package-name
Looking in indexes:
User for [licensee-email]
Password: [license-key]

The user will be prompted to provide their username and password. The username will be their email address and the password will be equal to their license key. If your license policy requires a fingerprint the user will need to append his/her fingerprint to their license key. For example, let's say we have the following licensee and license activation:

  • Contact email: [email protected]
  • License key:
  • Activation fingerprint:

This will require your licensee to enter the following information when prompted for their credentials:

Looking in indexes:
User for [email protected]

To clarify, the license key and fingerprint should be separated by a colon (:). If your license policy does not require a fingerprint both the fingerprint and the colon can be omitted.