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 Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page