A python pip (pypi) proxy/mirror that limits package versions available.
| .gitignore | ||
| config.yaml | ||
| go.mod | ||
| go.sum | ||
| LICENSE.txt | ||
| main.go | ||
| README.md | ||
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