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.10.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.10-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xiaobai_prp-1.0.10.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.10.tar.gz
Algorithm Hash digest
SHA256 49da64f79022a429227fc4ed2426b3d8ed83a082484a01eb060f7764cc6565b7
MD5 cb7959dfb0037ca0d4953cd896be4fcb
BLAKE2b-256 7a76fc746a6b1c48ec5fc1be26949cd09f52f34bf4d8dd4f11881dc0fc7acf89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xiaobai_prp-1.0.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 3a562b7aaaf9cd482b73044dbb8b92a598bffc856f62e6012c22e00f9586bab2
MD5 6eded6ac3725c757ddde03b911fb3695
BLAKE2b-256 3eabe2997e295907570daa21ee0fc31903d002580c1e5413761fa925b0592d70

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