Skip to content

MrPip

Mr. Pip was created as a 'funny' caricature version of the devpi server. The current implementation specifically focuses on proxying pip requests for faster/safer repository downloading. When you are building applications over and over again using CI, the endpoint repositories may start to limit your connection due to the increased amount of requests. This eliminates that problem all together by caching everything that is downloaded in it's local cache.

Release Notes

This first release has passed CI and is functioning exactly the way it should. You bring docker container up and you point your pip.conf index-url to it and it will cache your pip installations for faster CI/CD testing or for avoiding remote repository throttling.

Build

1
2
3
4
git clone git@git.kernelfortress.org:docker/mrpip.git
cd mrpip
git checkout tags/v1.0
docker build -t mrpip:v1.0 .

Run

1
2
3
4
5
docker run -itd \
    --name mrpip \
    --restart unless-stopped \
    -p ${YOUR_PORT}:3142 \
    registry.kernelfortress.org/docker/mrpip:v1.0

Pip Configuration Example

1
2
3
[global]
trusted-host = your_mrpip_host
index-url = http://your_mrpip_host:3142/root/pypi