chpip
A tool to manage the base URL of the Python package index.
Installation
$ pip install chpip
Usage
Set pip index URL
Set the base URL of the Python package index with name.
$ chpip set -n ustc -i https://mirrors.ustc.edu.cn/pypi/web/simple
For more information about the options, please refer to the chpip set command.
$ chpip set --help
Usage: chpip set [OPTIONS]
Options:
-n, --name TEXT Name of the Python package index. [required]
-i, --index-url TEXT Base URL of the Python Package Index. This should
point to a repository compliant with PEP 503 (the
simple repository API) or a local directory laid out
in the same format. [required]
--help Show this message and exit.
Change pip index URL
Change the base URL of the Python package index without name which means switching between the two indexes in turn.
$ chpip
Change Python package index to `ustc` successful.
$ chpip
Change Python package index to `default` successful.
Change the base URL of the Python package index with name.
$ chpip -n ustc
Change Python package index to `ustc` successful.
Show pip index URLs
Show all base URLs of the Python package index. Current index is marked with *.
$ chpip show
default (https://pypi.org/simple)
* ustc (https://mirrors.ustc.edu.cn/pypi/web/simple)
List commonly used pip index URLs
List the commonly used URLs of the Python package index, which can be set by executing the chpip set command.
$ chpip list
aliyun (https://mirrors.aliyun.com/pypi/simple)
douban (https://pypi.doubanio.com/simple)
netease (https://mirrors.163.com/pypi/simple)
pypi (https://pypi.org/simple)
tencent (https://mirrors.cloud.tencent.com/pypi/simple)
tsinghua (https://pypi.tuna.tsinghua.edu.cn/simple)
ustc (http://pypi.mirrors.ustc.edu.cn/simple)
Metadata
Release files for chpip 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chpip-0.3.0.tar.gz | 9.0 kB | Without provenance | Details for chpip-0.3.0.tar.gz |
Release files / chpip-0.3.0.tar.gz
| Download URL | chpip-0.3.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
356d71e7553d1b89b14f7066e998760e2b374e2a37faabb5962c482fe326665b
|
|
BLAKE2b-256 checksum How to use checksums |
4d07454599a4e8f0666ea600c8d3667ecb54df5bcbaeb73ecda28f419a643e0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.2
|
Security for chpip 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.