A simple pip mirror management tool
Project description
PPMM - Python Pip Mirror Manager
ppmm 是一个命令行工具,用于管理 Python 包管理器(pip)的源。它允许您轻松地列出、切换、测试 pip 源,以及添加、删除和重命名源。
特性
- 使用
mm ls列出可用源 - 使用
mm use <名称>切换源 - 使用
mm test测试源的响应时间 - 使用
mm current显示当前使用的源 - 使用
mm add <名称> <URL>添加新的源 - 使用
mm rm <名称>删除指定的源 - 使用
mm rename <旧名称> <新名称>重命名源 - 使用
mm help显示帮助信息
安装
您可以使用 pip 安装 ppmm:
pip install ppmm
使用方法
列出源
列出所有可用源:
mm ls
切换源
切换到特定源,例如 阿里云:
mm use ali
测试源
测试所有源的响应时间:
mm test
查看当前源
检查当前使用的源:
mm current
添加新的源
添加一个新的源:
mm add <名称> <URL>
删除源
删除一个已存在的源:
mm rm <名称>
重命名源
重命名一个源:
mm rename <旧名称> <新名称>
帮助
显示帮助信息:
mm help
贡献
欢迎贡献!请提出问题或提交拉取请求。
许可证
本项目采用 MIT 许可证 - 详见 LICENSE 文件。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ppmm-1.1.2.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ppmm-1.1.2-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file ppmm-1.1.2.tar.gz.
File metadata
- Download URL: ppmm-1.1.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efbc9733593e9149fafa5f3704705ab3a551ccb093a13a9b57fbaf9b500ee159
|
|
| MD5 |
e8d161c09d7c555e85e05ee2a371070d
|
|
| BLAKE2b-256 |
dcf238efacd44dd2e28bb37b4bdac9ac50cf49135c8158560b18784658de7405
|
File details
Details for the file ppmm-1.1.2-py3-none-any.whl.
File metadata
- Download URL: ppmm-1.1.2-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfd65beb2773157a102daea0e852b92b1d8670d2dbd1fbb998f6ee61c29b745b
|
|
| MD5 |
3d1852c1da6e7f30894438511a455f62
|
|
| BLAKE2b-256 |
4c28824b790d229737f1b4d9225cfbe2177908a07291717cc8c0ab0f94ecee97
|