Skip to main content

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


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.5.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

ppmm-1.1.5-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppmm-1.1.5.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for ppmm-1.1.5.tar.gz
Algorithm Hash digest
SHA256 d40db724d95bfda3211de11d76da130567d9e3edb983e4b6620a65b036cae130
MD5 902f90dd60351962c7e324dd09f9f5e4
BLAKE2b-256 b6ff08518b1e164828023e4367bcd1ea524f6e35fcd5c3fecedba814564903fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppmm-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for ppmm-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 40c93e0485a664827b41bc7e27e8a9a743eb2b823d1271fb99b9104c7461121f
MD5 dd60b46c2bd5b98f083d9a8c72f3203c
BLAKE2b-256 d7365966fe85bb4d87bebfc918af52fa21353dc48a89b114e95176800d04901d

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