Skip to content

PyPI

mise-server proxies the Python Package Index, caching the simple index and distribution files (wheels, sdists).

Endpoints

GET /pypi/simple/               # package index
GET /pypi/simple/{package}/     # package version listing
GET /pypi/packages/{path}       # distribution file download

Client Configuration

pip

bash
pip install --index-url http://your-server:3000/pypi/simple/ requests

Or in pip.conf:

ini
[global]
index-url = http://your-server:3000/pypi/simple/

uv

bash
uv pip install --index-url http://your-server:3000/pypi/simple/ requests

Upstream Override

toml
[settings.piers.pypi]
upstream = "https://pypi.org"
bash
export MISE_SERVER_PYPI_UPSTREAM=https://pypi.org

Hosted / Private Packages

Upload private packages with twine or similar tools:

bash
twine upload --repository-url http://your-server:3000/pypi/ dist/*

See Hosted Packages for details.

Licensed under FSL-1.1-ALv2. Maintained by @jdx.