Skip to main content

PyPI Mirror and Index Server Manager

Project description

### PyPi Mirror Manager

[![command line demo](https://asciinema.org/a/3e67r6npdb4i7syuqdmxkctgm.png)](https://asciinema.org/a/3e67r6npdb4i7syuqdmxkctgm)

#### 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.

#### Credits

* inspired by https://github.com/Pana/nrm
* mirrors data from https://www.pypi-mirrors.org/
* [pick](https://github.com/wong2/pick) for the interactive selection list

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pmm-0.5.0.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

pmm-0.5.0-py2.py3-none-any.whl (6.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page