Skip to content

Xu-Lan/ppmm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple pip mirror management tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages