pip¶
Use SWNDX as the index, never as an extra one:
pip install --index-url https://py.swndx.dev/public/default/simple/ requests
To make it permanent, set it in pip.conf (pip config set global.index-url https://py.swndx.dev/public/default/simple/) or PIP_INDEX_URL.
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.
Never use --extra-index-url with SWNDX: pip would pick the highest version from either index, so a package left out of SWNDX would still install from PyPI.
With a token, put it in ~/.netrc (mode 600) rather than in the URL:
machine py.swndx.dev
login token
password <your token>