/pmm

PyPi Mirror Manager

Primary LanguagePythonMIT LicenseMIT

PyPi Mirror Manager PyPI

command line demo

Installation

pip install pmm

Usage

usage: pmm [-h] [-m]

Select PyPI index server used by pip.

optional arguments:
  -h, --help     show this help message and exit
  -m, --mirrors  download list of PyPI mirrors and add them to selection

Configuration

You can add package indexes to your pip.conf file. Example:

[global]
use-wheel = True
index-url = https://pypi.python.org/simple
index-servers =
    pypi
    pypi-test
    my-devpi

[pypi]
index = pypi.python.org

[pypi-test]
index = testpypi.python.org/pypi

[my-devpi]
index = devpi.example.com/main/dev
info = Development team local package index

If you have any indexes listed in the index-servers setting in the globals section, pmm will then only offer these indexes for selection, unless you use the -m command line option.

Authors

Credits