pip-proxy/README.md
2025-07-14 10:22:59 -05:00

483 B

pip-proxy

A proxy server to set as your PIP mirror and limit what versions of a package is available, based on python version and or individual package versions.

Using the proxy as an mirror

In either /etc/pip.conf or ~/pip/pip.conf:

[global]
index-url=http://192.168.122.1:8080/simple
trusted-host=192.168.122.1

In /root/.pydistutils.cfg:

[easy_install]
index-url=http://192.168.122.1:8080/simple

To configure the constraints, edit config.yaml