Getting started on Gemfury with Python

Install packages with Poetry

You can configure your Poetry project to use Gemfury as the primary source of Python packages. To start, add Gemfury as a source to your project’s pyproject.toml configuration:

[[tool.poetry.source]]
url = "https://pypi.fury.io/USERNAME/"
name = "fury"

Then, specify dependencies from your Gemfury account with:

[tool.poetry.dependencies]
<package_name> = { version = "*", source = "fury" }

And now you’re ready to poetry install your Gemfury packages.

Accessing private packages

To authenticate into your private repository, you can configure repository credentials to use a Gemfury token with the command:

$ poetry config http-basic.fury TOKEN NOPASS