pythonpypidevpipython-packaging

Difference between devpi and pypi server


Had a quick question here, I am used to devpi and was wondering what is the difference between devpi and pypi server?

Is one better than another? Which of this one scale better?


Solution

  • PyPI (Python Package Index)- is the official repository for third-party Python software packages. Every time you use e.g. pip to install a package that is not in the standard it will get downloaded from the PyPI server.

    All of the packages that are on PyPI are publicly visible. So if you upload your own package then anybody can start using it. And obviously you need internet access in order to use it.

    devpi (not sure what the acronym stands for) - is a self hosted private Python Package server. Additionally you can use it for testing and releasing of your own packages.

    Being self hosted it's ideal for proprietary work that maybe you wouldn't want (or can't) share with the rest of the world.

    So other features that devpi offers:

    So answering you questions:

    The official website is very useful with good examples: http://doc.devpi.net/latest/