Getting started on Gemfury with Python

Install packages with pip

You can configure your Python project to use Gemfury as the primary source of packages. To start, add Gemfury as the main index to the top of your project’s requirements.txt:


This configuration will look for named packages in your Gemfury account with fallback to the public index.

Accessing private packages

To authenticate into your private repository, you can use environment variable expansion in the source URL of the configuration above: 1

--index-url https://${FURY_AUTH}

And then populate FURY_AUTH environment variable with a deploy token:

$ FURY_AUTH=TOKEN pip install -r ./requirements.txt

  1. Supported by pip 9.0+ ↩︎