Skip to main content

xpip-mirror

If you live within the Great Wall Firewall, the access to the official source of PyPI is extremely unstable.

The xpip-mirror mirror management can probe the delay of mirrors in the list and select the current optimal path.

list all available mirrors

root@zou:~# xpip-mirror list
name      URL                                       HOST                                       PING(ms)
--------  ----------------------------------------  -----------------------------------------  ----------
ustc      https://pypi.mirrors.ustc.edu.cn/simple   pypi.mirrors.ustc.edu.cn (218.104.71.170)  8.3
baidu     https://mirror.baidu.com/pypi/simple      mirror.baidu.com (58.243.203.35)           15.7
aliyun    https://mirrors.aliyun.com/pypi/simple    mirrors.aliyun.com (119.167.250.248)       17.7
tsinghua  https://pypi.tuna.tsinghua.edu.cn/simple  pypi.tuna.tsinghua.edu.cn (101.6.15.130)   23.7
douban    https://pypi.douban.com/simple            pypi.douban.com (49.233.242.15)            32.0
pypi      https://pypi.org/simple                   pypi.org (151.101.128.223)                 timeout

Suggest using the installation command:
pip install -i https://pypi.mirrors.ustc.edu.cn/simple <package-name>

config mirror

show config

root@zou:~# xpip-mirror now
https://mirrors.aliyun.com/pypi/simple

choice the best

root@zou:~# xpip-mirror choice
Writing to /root/.config/pip/pip.conf
choice ustc: https://pypi.mirrors.ustc.edu.cn/simple

choice by name

root@zou:~# xpip-mirror choice tsinghua
Writing to /root/.config/pip/pip.conf
choice tsinghua: https://pypi.tuna.tsinghua.edu.cn/simple

Metadata

Release files for xpip-mirror 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xpip-mirror 0.7
File Size Uploaded Provenance
xpip_mirror-0.7.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for xpip-mirror 0.7
File Interpreter ABI Platform
xpip_mirror-0.7-py3-none-any.whl Python 3 none any Details

Total release size: 17.9 kB

Release files / xpip_mirror-0.7.tar.gz

Download URL xpip_mirror-0.7.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0601124ce7d001fc19bed9e33216c9917c1f6a3a73e59c9d720109189f13178a
BLAKE2b-256 checksum
How to use checksums
c7de6d5337c2e6008483d7dc0fd58d1c14cc29838834ea0c1b5da96f50e590a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / xpip_mirror-0.7-py3-none-any.whl

Download URL xpip_mirror-0.7-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e64fa2f24a4d7da1fac7b84a382139a5dc96152403f202c2691441c474d911ce
BLAKE2b-256 checksum
How to use checksums
f9cfc18c8eb251d8265d2fe25c9439063cd77dc078ef7d7d0ebc1ac0fbf63bc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for xpip-mirror 0.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page