Skip to main content

Python Registry Provider - A tool for managing Python package index sources.

Project description

PRP - Python Registry Provider (Python包索引提供商)

Downloads

目录 (Table of Contents)

PRP (Python Registry Provider) 是一个用于管理Python包索引源的命令行工具,类似于npm的nrm。它允许您轻松切换不同的Python包索引,如PyPI、TUNA、阿里云等。

PRP (Python Registry Provider) is a command-line tool for managing Python package index sources, similar to nrm for npm. It allows you to easily switch between different Python package indexes such as PyPI, TUNA, Aliyun, and more.

功能 (Features)

  • 列出所有可用包索引源 (List all available package index sources)
  • 一键切换包索引源 (Switch between package index sources with a single command)
  • 添加自定义包索引源 (Add custom package index sources)
  • 删除包索引源 (Remove package index sources)
  • 测试包索引源速度 (Test package index source speeds)
  • 查看当前包索引源 (View current package index source)

安装 (Installation)

pip install xiaobai-prp

使用方法 (Usage)

列出所有包索引源 (List all package index sources)

prp ls

切换到指定包索引源 (Switch to a package index source)

prp use tuna

添加自定义包索引源 (Add a custom package index source)

prp add myregistry https://myregistry.example.com/simple/

删除包索引源 (Delete a package index source)

prp del myregistry

测试包索引源速度 (Test package index source speeds)

prp test

显示当前包索引源 (Show current package index source)

prp current

可用索引源 (Available Registries)

  • pypi - 官方PyPI仓库 (Official PyPI repository)
  • tuna - 清华大学镜像 (Tsinghua University mirror)
  • aliyun - 阿里云镜像 (Alibaba Cloud mirror)
  • douban - 豆瓣镜像 (Douban mirror)
  • huawei - 华为云镜像 (Huawei Cloud mirror)
  • ustc - 中国科学技术大学镜像 (University of Science and Technology of China mirror)

贡献 (Contributing)

欢迎贡献!请随时提交Pull Request。 Contributions are welcome! Please feel free to submit a Pull Request.

许可证 (License)

本项目采用GPLv3许可证 - 详见LICENSE文件。 This project is licensed under the GNU General Public License v3 (GPLv3) 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

xiaobai_prp-1.0.12.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

xiaobai_prp-1.0.12-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file xiaobai_prp-1.0.12.tar.gz.

File metadata

  • Download URL: xiaobai_prp-1.0.12.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for xiaobai_prp-1.0.12.tar.gz
Algorithm Hash digest
SHA256 0cbc7a7ba712166532c1629a89dedfc6c9ea4813a569d9a5f46cde958d6b9726
MD5 0645fb95656c8f33a232d0e9b456968d
BLAKE2b-256 02f4b672f7b8766b4fdf0c3644152d5eb0b2e313f4de9072d4f082a0c6077db8

See more details on using hashes here.

File details

Details for the file xiaobai_prp-1.0.12-py3-none-any.whl.

File metadata

  • Download URL: xiaobai_prp-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for xiaobai_prp-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 7eae6ce16b223c45f848f8f6d7c20d90131dbc935f01441b04a5675a6aa8d26e
MD5 b645cd542a02af6167b506e448465a9a
BLAKE2b-256 c0489ca927fae4ff6c070fbdf4e6900f7c3e80d34d7276ab2e304bbf5254ee08

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