針對開發人員的套件管理,國家級鏡像庫
✅ 提供 pip、Composer、npm、gem 以及 Maven 的國內鏡像 URL,可讓套件搜尋更方便並加快安裝流程。
資料與參考
| Provider | Source and Usage |
|---|---|
| Douban |
https://pypi.doubanio.com/simple/ |
| Tsinghua University |
https://pypi.tuna.tsinghua.edu.cn/simple |
| Aliyun |
https://mirrors.aliyun.com/pypi/simple/ |
| Provider | Source and Usage |
|---|---|
| Aliyun |
http://maven.aliyun.com/nexus/content/groups/public/ |
| Provider | Source and Usage |
|---|---|
| - |
https://packagist.phpcomposer.com/ |
| - |
https://php.cnpkg.org/ |
| Aliyun |
https://mirrors.aliyun.com/composer/ |
| Huawei Cloud |
https://mirrors.huaweicloud.com/repository/php/ |
| Shanghai Jiao Tong University |
https://packagist.mirrors.sjtug.sjtu.edu.cn/ |
| - |
https://packagist.jp/ |
| Provider | Source and Usage |
|---|---|
| Taobao |
https://registry.npmmirror.com/ |
| - |
http://r.cnpmjs.org/ |
| Provider | Source and Usage |
|---|---|
| Ruby China |
https://ruby.taobao.org/ |
| Tsinghua University |
https://mirrors.tuna.tsinghua.edu.cn/rubygems/ |
| Package Manager | Proxy Type | Usage |
|---|---|---|
| pip | http/https | |
| composer | http/https | |
| npm | http/https | |
| gem | http/https | |
| go | http/https |
使用套件管理工具可大幅減少安裝與管理外部函式庫的工作量與成本。然而,由於許多套件倉庫位於國外,透過套件管理工具安裝時可能會遇到逾時或延遲問題。此問題可透過改用國內鏡像站或使用代理伺服器來解決。