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) sources. It allows you to easily list, switch, test pip sources, as well as add, edit,delete, and rename sources.

Features

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

Installation

You can install ppmm using pip:

pip install ppmm

Usage

Listing Sources

List all available sources:

mm ls

Switching Sources

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

mm use ali

Testing Sources

Test the response time of all sources:

mm test

Viewing Current Source

Check the currently used source:

mm current

Adding a New Source

Add a new source:

mm add <name> <URL>

Edit a mirror

Edit the URL of a mirror:

mm edit <name> <URL>

Deleting a Source

Delete an existing source:

mm rm <name>

Renaming a Source

Rename a source:

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.6.tar.gz (4.9 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.6-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppmm-1.1.6.tar.gz
  • Upload date:
  • Size: 4.9 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.6.tar.gz
Algorithm Hash digest
SHA256 1e02c3e1bd6e9013f06e44f205b1f1ae997a6dbc6c4d4829ef55126f476076e2
MD5 a6bc5f4821d4db2d36d5230a96c09b18
BLAKE2b-256 bed8564d35e6f8eee439b112b054c93176bd2044de0e99b8d98d6abd506c9614

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppmm-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1451b845d29c3a366304cdbd7a3c80d09c2efa6e37773bb57314dc3c726d63e8
MD5 111389f342ae9dc545f7cd9a36f13dc4
BLAKE2b-256 2372f2f3f5b958f130b9247eeda815f0f5376a62cb96c1281caed3b89355ea65

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