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.11.tar.gz (15.9 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.11-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xiaobai_prp-1.0.11.tar.gz
  • Upload date:
  • Size: 15.9 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.11.tar.gz
Algorithm Hash digest
SHA256 5a33dd1d281c37f5eb6c0080b0b8538ef2036a2545d301a13ea2c29554da60fc
MD5 7b580639e8d77574d2182bc062c2a78f
BLAKE2b-256 873ea0e5d261b80b88d853b452d93678062f41e90cfa82dbb418588ad3736dc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xiaobai_prp-1.0.11-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 73d00ee835934dba21574fd89946fc923d62a4c990be2f8b68b92397daf4ca0b
MD5 9b0ad4d65fc1afd65636423f6051fa91
BLAKE2b-256 c28d263871542d678108173ffc6e73fb37e7ca67f742b4b5fca6c92e757df35d

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