Skip to main content

A tool to manage the base URL of the Python package index.

Project description

chpip

PyPI version PyPI Supported Python Versions Run Tests

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 without index name

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

chpip-0.1.1.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

chpip-0.1.1-py3.10.egg (18.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page