{"id":13844019,"url":"https://github.com/yhangf/PyQuickInstall","last_synced_at":"2025-07-11T21:32:33.835Z","repository":{"id":57454526,"uuid":"72204300","full_name":"yhangf/PyQuickInstall","owner":"yhangf","description":":zap::zap::zap:超好用的pip下载加速工具，谁用谁知道！","archived":false,"fork":false,"pushed_at":"2024-06-14T06:23:14.000Z","size":489,"stargazers_count":260,"open_issues_count":3,"forks_count":47,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-14T19:16:45.584Z","etag":null,"topics":["install-tools-hacking","pypi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yhangf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-28T12:10:23.000Z","updated_at":"2024-11-14T03:14:03.000Z","dependencies_parsed_at":"2024-06-19T01:38:10.976Z","dependency_job_id":"57f8f5ae-4078-48b5-b245-2489d50bd894","html_url":"https://github.com/yhangf/PyQuickInstall","commit_stats":{"total_commits":46,"total_committers":5,"mean_commits":9.2,"dds":"0.26086956521739135","last_synced_commit":"d73e743cdca9a8a38b238151871007b29d1bbd1a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhangf%2FPyQuickInstall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhangf%2FPyQuickInstall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhangf%2FPyQuickInstall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhangf%2FPyQuickInstall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yhangf","download_url":"https://codeload.github.com/yhangf/PyQuickInstall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225686892,"owners_count":17508142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["install-tools-hacking","pypi","python"],"created_at":"2024-08-04T17:02:32.737Z","updated_at":"2024-11-21T16:30:24.346Z","avatar_url":"https://github.com/yhangf.png","language":"Python","funding_links":[],"categories":["Python (1887)","Python"],"sub_categories":[],"readme":"```shell\r\n                                         _ __      _,.---._      .=-.-.\r\n                                      .-`.' ,`.  ,-.' - ,  `.   /==/_ /\r\n                                     /==/, -   \\/==/ ,    -  \\ |==|, |  \r\n                                    |==| _ .=. |==| - .=.  ,  ||==|  |  \r\n                                    |==| , '=',|==|  : ;=:  - ||==|- |  \r\n                                    |==|-  '..'|==|,  '='  ,  ||==| ,|  \r\n                                    |==|,  |    \\==\\ _   -    ;|==|- |  \r\n                                    /==/ - |     '.='.  ,  ; -\\/==/. /  \r\n                                    `--`---'       `--`--'' `--`--`-`   \r\n\r\n                                                    ---- by Hangfeng Yang\r\n\r\n```\r\n# \u003cp align=\"center\"\u003epqi: a terminal tools for Python:globe_with_meridians:\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n    \u003ca href=\"https://github.com/yhangf/PyQuickInstall/blob/master/LICENSE\"\u003e\r\n        \u003cimg src=\"https://img.shields.io/cocoapods/l/EFQRCode.svg?style=flat\"\u003e\r\n        \u003c/a\u003e\r\n    \u003ca href=\"https://pypi.python.org/pypi/pqi\"\u003e\r\n        \u003cimg src=\"https://img.shields.io/pypi/v/pqi.svg\"\u003e\r\n        \u003c/a\u003e\r\n    \u003ca href=\"https://github.com/python/cpython\"\u003e\r\n        \u003cimg src=\"https://img.shields.io/badge/language-python-ff69b4.svg\"\u003e\r\n        \u003c/a\u003e\r\n    \u003ca href=\"https://github.com/yhangf/PyQuickInstall\"\u003e\r\n    \u003cimg src=\"https://img.shields.io/github/stars/yhangf/PyQuickInstall.svg?style=social\u0026label=Star\"\u003e\r\n        \u003c/a\u003e\r\n    \u003ca href=\"https://github.com/yhangf/PyQuickInstall\"\u003e\r\n    \u003cimg src=\"https://img.shields.io/github/forks/yhangf/PyQuickInstall.svg?style=social\u0026label=Fork\"\u003e\r\n        \u003c/a\u003e\r\n\u003c/p\u003e\r\n由于国内通过pip下载python包的速度真的很慢，很容易因为超时而失败，而pqi可以把PyPi源迅速切换为国内源tuna, douban, aliyun, ustc从而大大加快python包的安装速度，提速效果见下图所示。\r\n\r\n![](https://github.com/yhangf/PyQuickInstall/blob/master/picture/db.png)\r\n\r\n## 怎么使用(兼容py2/py3/linux/windows/MacOS)\r\n\r\n### 1.安装\r\n#### 方法一（推荐）\r\n\r\n```\r\n\u003e\u003e\u003e pip install pqi\r\n```\r\n\r\n#### 方法二\r\n```\r\n\u003e\u003e\u003e git clone https://github.com/yhangf/PyQuickInstall.git\r\n\u003e\u003e\u003e python3 setup.py install\r\n```\r\n\r\n\r\n### 2. 命令行输入 `pqi` 回车\r\n```\r\n\u003e\u003e\u003e pqi\r\nUsage:\r\n  pqi ls\r\n  pqi use \u003cname\u003e\r\n  pqi show\r\n  pqi add \u003cname\u003e \u003curl\u003e\r\n  pqi remove \u003cname\u003e\r\n  pqi (-h | --help)\r\n  pqi (-v | --version)\r\nOptions:\r\n  -h --help        Show this screen.\r\n  -v --version     Show version.\r\n```\r\n* 列举所有支持的PyPi源\r\n```\r\n\u003e\u003e\u003e pqi ls\r\n```\r\n\r\n* 改变PyPi源\r\n```\r\n\u003e\u003e\u003e pqi use \u003cname\u003e\r\n```\r\n例子，比如运行`pqi use tuna`即把当前PyPi源改为清华的PyPi源\r\n\r\n* 显示当前PyPi源\r\n```\r\n\u003e\u003e\u003e pqi show\r\n```\r\n\r\n* 添加新的pip源(如添加USTC源）\r\n```\r\n\u003e\u003e\u003e pqi add ustc https://mirrors.ustc.edu.cn/pypi/web/simple\r\n```\r\n\r\n* 移除pip源（如官方PyPi源）\r\n```\r\n\u003e\u003e\u003e pqi remove pypi\r\n```\r\n\r\n### 3. 升级到最新版`pqi`\r\n```\r\n\u003e\u003e\u003e pip install --upgrade pqi\r\n```\r\n\r\n## LICENSE\r\n[MIT](https://github.com/yhangf/PyQuickInstall/blob/master/LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhangf%2FPyQuickInstall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyhangf%2FPyQuickInstall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhangf%2FPyQuickInstall/lists"}