Skip to main content

一个简单的pip镜像管理工具

Project description

PPMM - Python Pip Mirror Manager

ppmm 是一个命令行工具,用于管理 Python 包管理器(pip)的源。它允许您轻松地列出、切换、测试 pip 源,以及添加、修改、删除和重命名源。

简体中文 | English

特性

  • 使用 mm ls 列出可用源
  • 使用 mm use <name> 切换源
  • 使用 mm test 测试源的响应时间
  • 使用 mm current 显示当前使用的源
  • 使用 mm add <name> <URL> 添加新的源
  • 使用 mm edit <name> <URL> 修改指定的源
  • 使用 mm rm <name> 删除指定的源
  • 使用 mm rename <old name> <new name> 重命名源
  • 使用 mm help 显示帮助信息

安装

您可以使用 pip 安装 ppmm:

pip install ppmm

使用方法

列出源

列出所有可用源:

mm ls

切换源

切换到特定源,例如 阿里云:

mm use ali

测试源

测试所有源的响应时间:

mm test

查看当前源

检查当前使用的源:

mm current

添加新的源

添加一个新的源:

mm add <name> <URL>

修改源

修改镜像的URL:

mm edit <name> <URL>

删除源

删除一个已存在的源:

mm rm <name>

重命名源

重命名一个源:

mm rename <old name>  <new name>

帮助

显示帮助信息:

mm help

贡献

欢迎贡献!请提出问题或提交拉取请求。

许可证

本项目采用 MIT 许可证 - 详见 LICENSE 文件。

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

ppmm-1.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ppmm-1.2.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

ppmm-1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file ppmm-1.2.tar.gz.

File metadata

  • Download URL: ppmm-1.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.0

File hashes

Hashes for ppmm-1.2.tar.gz
Algorithm Hash digest
SHA256 29c3c075f2f9bf97061f3a3f4f95bbcee22483ce46f9860cc3e06797526d3c6c
MD5 925eac20828b022903b5f7475afdd518
BLAKE2b-256 d4edd7b51f1efc60adc025fed06b764588cd1fc2523df76e5628e2ada3feda20

See more details on using hashes here.

File details

Details for the file ppmm-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: ppmm-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.0

File hashes

Hashes for ppmm-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2aee6aef31154675a2acdfcc37fb58df70c8f5bee76eaea5e04093651f94fd94
MD5 aacbd6f65d2e2148024b37944eae703f
BLAKE2b-256 310c7989c9e299295dfded454511c48b99a5d9bef71f2c18a6fb733bfbb26671

See more details on using hashes here.

File details

Details for the file ppmm-1.2-py3-none-any.whl.

File metadata

  • Download URL: ppmm-1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.0

File hashes

Hashes for ppmm-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9edda83159f4e681501f82dbf3a4edeeff5ac17b1700de81bfeafd47e1f3edb0
MD5 464ae0b1072fafcb375e6c792c91887a
BLAKE2b-256 99609396fa3f4cc6741a32041e59fd715baa117e523c57e41e410c165aae5850

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page