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
[![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 details)
Built Distribution
File details
Details for the file pmm-0.5.0.tar.gz
.
File metadata
- Download URL: pmm-0.5.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9b884d0e7432d0d2774580d15a20ec821ccaa0ffd17a64c1ef5869642ae7fe0 |
|
MD5 | 3e28821efa5ac261d14e32ef8760c920 |
|
BLAKE2b-256 | e91ab3ced4c7ab519691818f45ba0cd53287887e5794d69cd859a5a6e7ec7318 |
File details
Details for the file pmm-0.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pmm-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe70e71c0b68e705fd71afb9a2cbd9a1eb9ec81f54b18d4eda12120f7ccd34a |
|
MD5 | fc31beb6b266025cac8add6b47197aa9 |
|
BLAKE2b-256 | 0baea6b54f843fc8578805e15a486c2fc379016e7c1b50a7fc46ad95a5ede832 |