_ __ _,.---._ .=-.-.
.-`.' ,`. ,-.' - , `. /==/_ /
/==/, - \/==/ , - \ |==|, |
|==| _ .=. |==| - .=. , ||==| |
|==| , '=',|==| : ;=: - ||==|- |
|==|- '..'|==|, '=' , ||==| ,|
|==|, | \==\ _ - ;|==|- |
/==/ - | '.='. , ; -\/==/. /
`--`---' `--`--'' `--`--`-`
---- by Hangfeng Yang
>>> pip install pqi
>>> git clone https://github.com/yhangf/PyQuickInstall.git
>>> python3 setup.py install
>>> pqi
Usage:
pqi ls
pqi use <name>
pqi show
pqi add <name> <url>
pqi remove <name>
pqi (-h | --help)
pqi (-v | --version)
Options:
-h --help Show this screen.
-v --version Show version.
- 列举所有支持的PyPi源
>>> pqi ls
- 改变PyPi源
>>> pqi use <name>
例子,比如运行pqi use tuna
即把当前PyPi源改为清华的PyPi源
- 显示当前PyPi源
>>> pqi show
- 添加新的pip源(如添加USTC源)
>>> pqi add ustc https://mirrors.ustc.edu.cn/pypi/web/simple
- 移除pip源(如官方PyPi源)
>>> pqi remove pypi
>>> pip install --upgrade pqi