Skip to main content

Python Registry Provider - A tool for managing Python package index sources similar to nrm for npm

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xiaobai_prp-1.0.9.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for xiaobai_prp-1.0.9.tar.gz
Algorithm Hash digest
SHA256 3054772d074a4c3d55e49df83538c5d4af4b10b7fe359b51a4a902fe00241874
MD5 68766799b1e23f80534cab31f67ff473
BLAKE2b-256 1f9de588822067c5764ab315b62e0de87595c167801834b3850eb3f24fd3e4b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xiaobai_prp-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for xiaobai_prp-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 90090700e004916a7764c7645922ae76cbf468c8c5576a9b0b635ef1b701c41e
MD5 384ee59c32953cdb56cf670687bce978
BLAKE2b-256 a862d31ea25bd7143170a40c48fe8369563a9d559f04545f91e544cd6fe8f437

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