Skip to content

pipenv

In the Pipfile, make SWNDX the only source:

[[source]]
name = "swndx"
url = "https://py.swndx.dev/public/default/simple/"
verify_ssl = true

With a token, pipenv expands environment variables in the URL: url = "https://token:${SWNDX_TOKEN}@py.swndx.dev/public/default/simple/". Keep the variable in your shell or CI secrets, never in the Pipfile itself.

Which index? These examples use default (wheels only). If your dependencies need source distributions or approved pre-releases, use relaxed instead: https://py.swndx.dev/public/relaxed/simple/ (replace default with relaxed in every URL above). Compare the two. Use one or the other, never both.