All Projects → find456789 → pipyuan

find456789 / pipyuan

Licence: MIT license
pipyuan 内置了国内常用的 pip 源, 你可以快速设置想要的源

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pipyuan

pip-download
A wrapper for pip download in offline scenario.
Stars: ✭ 22 (-26.67%)
Mutual labels:  pypi, pip
Fades
fades is a system that automatically handles the virtualenvs in the cases normally found when writing scripts and simple programs, and even helps to administer big projects.
Stars: ✭ 182 (+506.67%)
Mutual labels:  pypi, pip
Dephell
📦 🔥 Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.
Stars: ✭ 1,730 (+5666.67%)
Mutual labels:  pypi, pip
Matrixprofile Ts
A Python library for detecting patterns and anomalies in massive datasets using the Matrix Profile
Stars: ✭ 621 (+1970%)
Mutual labels:  pypi, pip
pmm
PyPi Mirror Manager
Stars: ✭ 29 (-3.33%)
Mutual labels:  pypi, pip
Python Pixabay
Python 3 Pixabay's API wrapper.
Stars: ✭ 32 (+6.67%)
Mutual labels:  pypi, pip
pipx
Install and Run Python Applications in Isolated Environments
Stars: ✭ 5,698 (+18893.33%)
Mutual labels:  pypi, pip
Pipx
Install and Run Python Applications in Isolated Environments
Stars: ✭ 4,398 (+14560%)
Mutual labels:  pypi, pip
PyGLM
Fast OpenGL Mathematics (GLM) for Python
Stars: ✭ 167 (+456.67%)
Mutual labels:  pypi, pip
yavdb
Yet Another Vulnerability Database
Stars: ✭ 14 (-53.33%)
Mutual labels:  pypi, pip
Try
Dead simple CLI tool to try Python packages - It's never been easier! 📦
Stars: ✭ 588 (+1860%)
Mutual labels:  pypi, pip
pypi-simple
PyPI Simple Repository API client library
Stars: ✭ 21 (-30%)
Mutual labels:  pypi, pip
Piprot
How rotten are your requirements?
Stars: ✭ 409 (+1263.33%)
Mutual labels:  pypi, pip
Pigar
☕️ A fantastic tool to generate requirements.txt for your Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
Stars: ✭ 1,068 (+3460%)
Mutual labels:  pypi, pip
Pip Upgrader
An interactive pip requirements upgrader. It also updates the version in your requirements.txt file.
Stars: ✭ 340 (+1033.33%)
Mutual labels:  pypi, pip
Audioowl
Fast and simple music and audio analysis using RNN in Python 🕵️‍♀️ 🥁
Stars: ✭ 151 (+403.33%)
Mutual labels:  pypi, pip
Py webauthn
A WebAuthn Python module.
Stars: ✭ 270 (+800%)
Mutual labels:  pypi, pip
Underscore.py
Python port of underscore.js
Stars: ✭ 277 (+823.33%)
Mutual labels:  pypi, pip
Rules python
Experimental Bazel Python Rules
Stars: ✭ 233 (+676.67%)
Mutual labels:  pypi, pip
ios2androidres
Copy iOS image resources to their appropriate Android directory
Stars: ✭ 20 (-33.33%)
Mutual labels:  pypi, pip

PyPI PyPI - Python Version PyPI - Wheel

方便好记, 单词 pipyuanpipyuan 组成; 助记: pip源

项目地址:

https://github.com/find456789/pipyuan

用途

快速给 pip 设置源

当我们想给 pip 设置一个国内源的时候,还要很麻烦的去找源地址

pipyuan 内置了国内常用的 pip 源, 你可以快速设置想要的源

使用

假设你在一个新电脑上。刚安装了python,那么接下来你只需要:

  1. 安装 pipyuan:

    • python -m pip install pipyuan 或者 pip install pipyuan
  2. 使用 pipyuan 修改本地的源

    • pipyuan a 修改为阿里云的源
  3. 愉快的使用 pip 安装其他包(这时候你的源已经被修改好了)

支持的源

指令 改成谁家的 助记(拼音) 源地址
pipyuan gf 官方 gf 是guanfang的首字母 https://pypi.org/simple/
pipyuan a 阿里云 a 是aliyun的首字母 https://mirrors.aliyun.com/pypi/simple/
pipyuan q 清华 q 是qinghua的首字母 https://pypi.tuna.tsinghua.edu.cn/simple
pipyuan t 腾讯 t 是tengxun的首字母 https://mirrors.cloud.tencent.com/pypi/simple
pipyuan h 华为 h 是huawei的首字母 https://mirrors.huaweicloud.com/repository/pypi/simple/
pipyuan d 豆瓣 d 是douban的首字母 https://pypi.douban.com/simple/
pipyuan tn 腾讯内网 t 是 tengxun 首字母,`n`表示内网 https://mirrors.tencentyun.com/pypi/simple
pipyuan an 阿里内网 a 是 ali 首字母,`n`表示内网 https://mirrors.aliyuncs.com/pypi/simple/
pipyuan hn 华为内网 h 是 huawei 首字母,`n`表示内网 https://mirrors.myhuaweicloud.com/pypi/web/simple
pipyuan zi url 自定义 zi 是 自定义的第一个汉字拼音,不用z是防止未来的冲突 https://你自己的网址

pipyuan 后面的字母参数是什么意思?

答:是对应公司的拼音的首字母

比如:pipyuan a 这里面的 a , 就是 aliyun(阿里云的拼音) -> 拼音的第一个字母就是a

再比如:pipyuan q 这里面的 q , 就是 qinghuadaxue(清华大学的拼音) -> 拼音的第一个字母就是q


再举例:

我想改成 豆瓣 的源, 拼音 douban 的第一个字母是 d , 那我就执行 pipyuan d

我想改成 腾讯 的源, 拼音 tengxun 的第一个字母是 t , 那我就执行 pipyuan t

pipyuan 很轻巧

  • 方便好记, pipyuanpipyuan 组成;助记: pip源
  • 很轻巧,不依赖其他第三方包,只依赖Python自带的包

pipyuan 内部的原理是什么?

内部调用了 python -m pip config set global.index-url [源地址] 来修改源

所以,需要确保你电脑里的 python 指向了正确的位置

欢迎提供建议

有啥建议,请给我提出,谢谢

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].