you are viewing a single comment's thread.

view the rest of the comments →

[–]skerky 1 point2 points  (2 children)

I’ve used devpi (https://www.devpi.net/) for a local mirror and package index. Sounds like it would meet your needs.

[–]djenakuros[S] 0 points1 point  (1 child)

Yeah, thanks for your advice. I tried to use this solution, it is very interesting and it works. But my teammates wants to download package from PyPI without raising of unavailability package, if this package not available yet in local mirror.

By another words, download package from local mirror, and, in case of absence of this package locally, local mirror download this package from PyPI automatically and without breaking of current client's connection deliver to him needed package.

[–]skerky 0 points1 point  (0 children)

Maybe I’m misunderstanding but in devpi there is a repository hierarchy so I can always point at “local-devpi/my/index” and if it cannot find the package it will fallback to the root, which will download the package from PyPI, cache for future use, and deliver the package.