Skip to main content

A simple pip mirror management tool

Project description

PPMM - Python Pip Mirror Manager

English documentation: README.md

中文文档: README-zh.md

ppmm is a command-line tool for managing Python package manager (pip) mirrors. It allows you to easily list、switch、 test pip mirrors, as well as add、 edit、delete、and rename mirrors.

Features

  • Use mm ls to list available mirrors
  • Use mm use <name> to switch mirrors
  • Use mm test to test the response time of mirrors
  • Use mm current to display the currently used mirror
  • Use mm add <name> <URL> to add a new mirror
  • Use mm edit <name> <URL> to modify a specified mirror
  • Use mm rm <name> to delete a specified mirror
  • Use mm rename <old name> <new name> to rename a mirror
  • Use mm help to display help information

Installation

You can install ppmm using pip:

pip install ppmm

Usage

Listing mirrors

List all available mirrors:

mm ls

Switching mirrors

Switch to a specific mirror, for example,Alibaba Cloud:

mm use ali

Testing mirrors

Test the response time of all mirrors:

mm test

Viewing Current mirror

Check the currently used mirror:

mm current

Adding a New mirror

Add a new mirror:

mm add <name> <URL>

Edit a mirror

Edit the URL of a mirror:

mm edit <name> <URL>

Deleting a mirror

Delete an existing mirror:

mm rm <name>

Renaming a mirror

Rename a mirror:

mm rename <old name> <new name>

Help

Display help information:

mm help

Contributing

Contributions are welcome! Please raise issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.9.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.9-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppmm-1.1.9.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.11 Windows/10

File hashes

Hashes for ppmm-1.1.9.tar.gz
Algorithm Hash digest
SHA256 b34997cb468679e3d190afa0fb240884298c12a901428b964d2c8c665921919e
MD5 517f971b9be62260524e77924490d34f
BLAKE2b-256 32cbdb700e84b4eed3de69e315e960abf87763a32a37bffc33c4e3564d1a7727

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppmm-1.1.9-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.11 Windows/10

File hashes

Hashes for ppmm-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1c40a10b55e982e435c56a724eb7e0bebc7ecbf23d220367afa9214d5945f1
MD5 6eddf762976436344d2fc74f7e4dc086
BLAKE2b-256 1060dd673cf37aeba838a187ead7e82ae419b77f25a5c40bfec39577a2f38cb2

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