Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yhangf/PyQuickInstall
:zap::zap::zap:超好用的pip下载加速工具,谁用谁知道!
https://github.com/yhangf/PyQuickInstall
install-tools-hacking pypi python
Last synced: about 2 months ago
JSON representation
:zap::zap::zap:超好用的pip下载加速工具,谁用谁知道!
- Host: GitHub
- URL: https://github.com/yhangf/PyQuickInstall
- Owner: yhangf
- License: mit
- Created: 2016-10-28T12:10:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T06:23:14.000Z (7 months ago)
- Last Synced: 2024-11-14T19:16:45.584Z (2 months ago)
- Topics: install-tools-hacking, pypi, python
- Language: Python
- Homepage:
- Size: 478 KB
- Stars: 260
- Watchers: 6
- Forks: 47
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - yhangf/PyQuickInstall - :zap::zap::zap:超好用的pip下载加速工具,谁用谁知道! (Python)
README
```shell
_ __ _,.---._ .=-.-.
.-`.' ,`. ,-.' - , `. /==/_ /
/==/, - \/==/ , - \ |==|, |
|==| _ .=. |==| - .=. , ||==| |
|==| , '=',|==| : ;=: - ||==|- |
|==|- '..'|==|, '=' , ||==| ,|
|==|, | \==\ _ - ;|==|- |
/==/ - | '.='. , ; -\/==/. /
`--`---' `--`--'' `--`--`-`---- by Hangfeng Yang
```
#pqi: a terminal tools for Python:globe_with_meridians:
由于国内通过pip下载python包的速度真的很慢,很容易因为超时而失败,而pqi可以把PyPi源迅速切换为国内源tuna, douban, aliyun, ustc从而大大加快python包的安装速度,提速效果见下图所示。![](https://github.com/yhangf/PyQuickInstall/blob/master/picture/db.png)
## 怎么使用(兼容py2/py3/linux/windows/MacOS)
### 1.安装
#### 方法一(推荐)```
>>> pip install pqi
```#### 方法二
```
>>> git clone https://github.com/yhangf/PyQuickInstall.git
>>> python3 setup.py install
```### 2. 命令行输入 `pqi` 回车
```
>>> pqi
Usage:
pqi ls
pqi use
pqi show
pqi add
pqi remove
pqi (-h | --help)
pqi (-v | --version)
Options:
-h --help Show this screen.
-v --version Show version.
```
* 列举所有支持的PyPi源
```
>>> pqi ls
```* 改变PyPi源
```
>>> pqi use
```
例子,比如运行`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
```### 3. 升级到最新版`pqi`
```
>>> pip install --upgrade pqi
```## LICENSE
[MIT](https://github.com/yhangf/PyQuickInstall/blob/master/LICENSE)