Yep_It's_Me
Yep_It's_Me

Reputation: 4801

Python package proxy/cache

I'm trying to find a way to cache or store certain python packages for every computer on my network. I've had a look at the following solutions:

Is there a standard way of doing this? My goals are to protect against loss of internet connectivity or the removal of packages so that the clients on the network can still setup a development or production machine if either of these happen, also to speed up setting up a dev or production machine.

I feel like both devpi and pypiserver are good options, I just seem to be missing something to make them work.

EDIT: It appears I was correct about pypiserver in the fact that is only proxying requests to PyPI. It is for uploading your own packages, so you can download them from pypiserver but if your looking for an official package, you get it from PyPI.

Upvotes: 3

Views: 1072

Answers (1)

Yep_It's_Me
Yep_It's_Me

Reputation: 4801

A new version of Devpi was released a few days ago. The latest documentation has cleared up all my issues and I have decided to use devpi-server 2.0.1. Devpi not only provides a caching proxy for PyPI packages, but allows you to upload custom packages using the devpi-client. As I do not need this functionality, I am just using the root/pypi index as shown here. Though I followed the instructions on this page minus the last part about the devpi-client.

Upvotes: 1

Related Questions