Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiyusullos/piprepositoryindex
PRI is a Pypi Repository Index manager that helps you to switch pypi repository fastly.
https://github.com/xiyusullos/piprepositoryindex
Last synced: 4 days ago
JSON representation
PRI is a Pypi Repository Index manager that helps you to switch pypi repository fastly.
- Host: GitHub
- URL: https://github.com/xiyusullos/piprepositoryindex
- Owner: xiyusullos
- License: mit
- Created: 2018-06-09T16:25:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T06:39:40.000Z (over 6 years ago)
- Last Synced: 2024-12-01T23:37:32.026Z (23 days ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pri
[`pri`](https://github.com/xiyusullos/PipRepositoryIndex) is a Pypi Repository Index manager that helps you to switch pypi repository fast.
Here's the `pri` usage:
```console
Usage:
pri ls
pri use
pri current
pri (-v | --version)
pri (-h | --help)
Options:
-h, --help output usage information
-v, --version output the version number```
## Installation
```python
pip install pri
```## Upgrading
```python
pip install --upgrade pri
```## Examples
### List all repositories
```consoel
$ pri lsrepository name repository url
-------------------------------------------------------------------------------
pypi https://pypi.python.org/simple/
tuna https://pypi.tuna.tsinghua.edu.cn/simple
douban http://pypi.douban.com/simple/
aliyun https://mirrors.aliyun.com/pypi/simple/
ustc https://mirrors.ustc.edu.cn/pypi/web/simple
```### Use *tuna* repository
```console
$ pri use tunatuna(https://pypi.tuna.tsinghua.edu.cn/simple)
```### List current repository
```console
$ pri currenttuna(https://pypi.tuna.tsinghua.edu.cn/simple)
```