A python pip (pypi) proxy/mirror that limits package versions available.
Find a file
2025-07-14 10:22:59 -05:00
.gitignore First commit 2025-07-14 10:22:59 -05:00
config.yaml First commit 2025-07-14 10:22:59 -05:00
go.mod First commit 2025-07-14 10:22:59 -05:00
go.sum First commit 2025-07-14 10:22:59 -05:00
LICENSE.txt First commit 2025-07-14 10:22:59 -05:00
main.go First commit 2025-07-14 10:22:59 -05:00
README.md First commit 2025-07-14 10:22:59 -05:00

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