{"id":4455,"url":"https://github.com/jobbole/awesome-python-cn","name":"awesome-python-cn","description":"Python资源大全中文版，包括：Web框架、网络爬虫、模板引擎、数据库、数据可视化、图片处理等，由「开源前哨」和「Python开发者」微信公号团队维护更新。","projects_count":884,"last_synced_at":"2026-03-28T00:00:30.960Z","repository":{"id":37677344,"uuid":"45456804","full_name":"jobbole/awesome-python-cn","owner":"jobbole","description":"Python资源大全中文版，包括：Web框架、网络爬虫、模板引擎、数据库、数据可视化、图片处理等，由「开源前哨」和「Python开发者」微信公号团队维护更新。","archived":false,"fork":false,"pushed_at":"2022-08-29T11:28:59.000Z","size":1584,"stargazers_count":30232,"open_issues_count":25,"forks_count":7981,"subscribers_count":2071,"default_branch":"master","last_synced_at":"2026-02-28T11:26:25.297Z","etag":null,"topics":["python"],"latest_commit_sha":null,"homepage":"http://jobbole.github.io/awesome-python-cn/","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jobbole.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}},"created_at":"2015-11-03T09:50:50.000Z","updated_at":"2026-02-28T07:31:54.000Z","dependencies_parsed_at":"2022-08-08T21:15:46.399Z","dependency_job_id":null,"html_url":"https://github.com/jobbole/awesome-python-cn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jobbole/awesome-python-cn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobbole%2Fawesome-python-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobbole%2Fawesome-python-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobbole%2Fawesome-python-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobbole%2Fawesome-python-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jobbole","download_url":"https://codeload.github.com/jobbole/awesome-python-cn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jobbole%2Fawesome-python-cn/sbom","scorecard":{"id":526051,"data":{"date":"2025-08-11","repo":{"name":"github.com/jobbole/awesome-python-cn","commit":"e718fecd821fb94d696713da1259a86f18b400af"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 6/23 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T04:24:22.807Z","repository_id":37677344,"created_at":"2025-08-20T04:24:22.807Z","updated_at":"2025-08-20T04:24:22.807Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31068451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T22:49:25.097Z","status":"ssl_error","status_checked_at":"2026-03-27T22:49:22.599Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"}},"readme":"# Python 资源大全中文版 \r\n\r\n[awesome-python](https://github.com/vinta/awesome-python) 是 vinta 发起维护的 Python 资源列表，内容包括：Web 框架、网络爬虫、网络内容提取、模板引擎、数据库、数据可视化、图片处理、文本处理、自然语言处理、机器学习、日志、代码分析等。由「开源前哨」和「Python开发者」微信公号团队维护更新。\r\n\r\n\r\n### 本项目的参与者\r\n\r\n- 维护者：[「开源前哨」和「Python开发者」微信公号团队](https://github-1255921244.cos.ap-nanjing.myqcloud.com/awesome-python-cn.png)。「开源前哨」会定期在知乎专栏分享最新、有趣和热门的开源项目，每个项目都有详细的介绍和示例。传送门：\u003chttps://www.zhihu.com/column/c_1317124962785062912\u003e\r\n\r\n- 贡献者：[唐尤华](https://github.com/orgs/jobbole/people/tangyouhua)、[qtvspa](https://github.com/qtvspa)、[艾凌风](https://github.com/hanxiaomax)、Namco、[Daetalus](https://github.com/Daetalus)、黄利民、atupal、rainbow、[木头lbj](https://github.com/mutoulbj)、beyondwu、[cissoid](https://github.com/cissoid)、[李广胜](https://github.com/liguangsheng)、[polyval](https://github.com/polyval)、冰斌、赵叶宇、л stalgic、硕恩、[strongit](https://github.com/strongit)、yuukilp、[chenjiandongx](https://github.com/chenjiandongx)、[autopenguin](https://github.com/autopenguin)、[visonforcoding](https://github.com/visonforcoding)、[Super赛亚人](https://github.com/No-96)、[Since-future](https://github.com/Since-future)、[knktc](https://github.com/knktc)、[zhucebuliaopx](https://github.com/zhucebuliaopx)、[wardseptember](https://github.com/wardseptember)、[vmp65l3](https://github.com/vmp65l3)、[JiaxingZhao](https://github.com/JiaxingZhao)、[zhtyyx](https://github.com/zhtyyx)、[Lynn Cao](https://github.com/caolincn)、[River](https://github.com/lihuafengzi)、You\r\n\r\n注：名单不分排名，不定期补充更新\r\n\r\n## 资源列表\r\n\r\n### 环境管理\r\n\r\n管理 Python 版本和环境的工具\r\n\r\n*   [p](https://github.com/qw3rtman/p)：非常简单的交互式 Python 版本管理工具。\r\n*   [pyenv](https://github.com/yyuu/pyenv)：简单的 Python 版本管理工具。\r\n*   [Vex](https://github.com/sashahart/vex)：可以在虚拟环境中执行命令。\r\n*   [virtualenv](https://pypi.python.org/pypi/virtualenv)：创建独立 Python 环境的工具。\r\n*   [virtualenvwrapper](https://pypi.python.org/pypi/virtualenvwrapper)：virtualenv 的一组扩展。\r\n*   [buildout](http://www.buildout.org/en/latest)：在隔离环境初始化后使用声明性配置管理。\r\n\r\n### 包管理\r\n\r\n管理包和依赖的工具。\r\n\r\n*   [pip](https://pip.pypa.io/)：Python 包和依赖关系管理工具。\r\n*   [pip-tools](https://github.com/nvie/pip-tools)：保证 Python 包依赖关系更新的一组工具。\r\n*   [PyPI](https://pypi.org/)：Python 正式的第三方包软件存储库。\r\n*   [pipenv](https://github.com/pypa/pipenv)：Python 官方推荐的新一代包管理工具。\r\n*   [poetry](https://poetry.eustace.io)：可完全取代 setup.py 的包管理工具。\r\n*   [conda](https://github.com/conda/conda/)：跨平台的 Python 二进制包管理工具。\r\n*   [Curdling](http://clarete.li/curdling/)：管理 Python 包的命令行工具。\r\n*   [wheel](http://pythonwheels.com/)：Python 分发的新标准，意在取代 eggs。\r\n\r\n### 包仓库\r\n\r\n本地 PyPI 仓库服务和代理。\r\n\r\n*   [warehouse](https://github.com/pypa/warehouse)：下一代 PyPI。\r\n*   [bandersnatch](https://bitbucket.org/pypa/bandersnatch)：PyPA 提供的 PyPI 镜像工具。\r\n*   [devpi](http://doc.devpi.net/)：PyPI 服务和打包/测试/分发工具。\r\n*   [localshop](https://github.com/mvantellingen/localshop)：本地 PyPI 服务（自定义包并且自动对 PyPI 镜像）。\r\n\r\n### 分发\r\n\r\n打包为可执行文件以便分发。\r\n\r\n*   [PyInstaller](https://github.com/pyinstaller/pyinstaller)：将 Python 程序转换成独立的执行文件（跨平台）。\r\n*   [cx_Freeze](https://cx-freeze.readthedocs.io/en/latest/index.html)：将python程序转换为带有一个动态链接库的可执行文件。\r\n*   [dh-virtualenv](http://dh-virtualenv.readthedocs.org/)：构建并将 virtualenv 虚拟环境作为一个 Debian 包来发布。\r\n*   [Nuitka](http://nuitka.net/)：将脚本、模块、包编译成可执行文件或扩展模块。\r\n*   [py2app](http://pythonhosted.org/py2app/)：将 Python 脚本变为独立软件包（Mac OS X）。\r\n*   [py2exe](http://www.py2exe.org/)：将 Python 脚本变为独立软件包（Windows）。\r\n*   [pynsist](http://pynsist.readthedocs.org/)：一个用来创建 Windows 安装程序的工具，可以在安装程序中打包 Python 本身。\r\n*   [pyarmor](https://github.com/dashingsoft/pyarmor)：一个用于加密 python 脚本的工具，也可以将加密后的脚本绑定到固件上，或设置已加密脚本的有效期。\r\n*   [shiv](https://github.com/linkedin/shiv)：一个命令行工具，可用于构建完全独立的 zip 应用（PEP 441 所描述的那种），同时包含了所有的依赖项。\r\n\r\n### 构建工具\r\n\r\n将源码编译成软件。\r\n\r\n*   [buildout](http://www.buildout.org/)：一个构建系统，从多个组件来创建，组装和部署应用。\r\n*   [BitBake](http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html)：针对嵌入式 Linux 的类似 make 的构建工具。\r\n*   [fabricate](https://code.google.com/archive/p/fabricate)：对任何语言自动找到依赖关系的构建工具。\r\n*   [PlatformIO](https://github.com/platformio/platformio)：多平台命令行构建工具。\r\n*   [PyBuilder](https://github.com/pybuilder/pybuilder)：纯 Python 实现的持续化构建工具。\r\n*   [SCons](http://www.scons.org/)：软件构建工具。\r\n\r\n### 交互式解析器\r\n\r\n交互式 Python 解析器。\r\n\r\n*   [IPython](https://github.com/ipython/ipython)：功能丰富的工具，非常有效的使用交互式 Python。\r\n*   [bpython](https://github.com/bpython/bpython)：界面丰富的 Python 解析器。\r\n*   [ptpython](https://github.com/jonathanslenders/ptpython)：高级交互式 Python 解析器， 构建于 [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit) 之上。\r\n*   [Jupyter Notebook (IPython)](https://jupyter.org)：一个能够让你最大限度地以交互式方式使用 Python 的丰富工具包。\r\n    * [awesome-jupyter](https://github.com/markusschanta/awesome-jupyter)\r\n\r\n### 文件\r\n\r\n文件管理和 MIME（多用途的网际邮件扩充协议）类型检测。\r\n\r\n*   [aiofiles](https://github.com/Tinche/aiofiles)：基于 asyncio，提供文件异步操作。\r\n*   [imghdr](https://docs.python.org/2/library/imghdr.html)：（Python 标准库）检测图片类型。\r\n*   [mimetypes](https://docs.python.org/2/library/mimetypes.html)：（Python 标准库）将文件名映射为 MIME 类型。\r\n*   [path.py](https://github.com/jaraco/path.py)：对 os.path 进行封装的模块。\r\n*   [pathlib](https://pathlib.readthedocs.org/en/pep428/)：（Python3.4+ 标准库）跨平台的、面向对象的路径操作库。\r\n*   [python-magic](https://github.com/ahupp/python-magic)：文件类型检测的第三方库 libmagic 的 Python 接口。\r\n*   [Unipath](https://github.com/mikeorr/Unipath)：用面向对象的方式操作文件和目录。\r\n*   [watchdog](https://github.com/gorakhargosh/watchdog)：管理文件系统事件的 API 和 shell 工具。\r\n*   [PyFilesystem2](https://github.com/pyfilesystem/pyfilesystem2)：Python 的文件系统抽象层。\r\n\r\n### 日期和时间\r\n\r\n操作日期和时间的类库。\r\n\r\n*   [arrow](https://github.com/crsmithdev/arrow)：更好的 Python 日期时间操作类库。\r\n*   [Chronyk](https://github.com/KoffeinFlummi/Chronyk)：Python 3 的类库，用于解析手写格式的时间和日期。\r\n*   [dateutil](https://pypi.python.org/pypi/python-dateutil)：Python datetime 模块的扩展。\r\n*   [delorean](https://github.com/myusuf3/delorean/)：解决 Python 中有关日期处理的棘手问题的库。\r\n*   [maya](https://github.com/kennethreitz/maya)：人性化的时间处理库。\r\n*   [pendulum](https://github.com/sdispater/pendulum)：一个比 arrow 更具有明确的，可预测的行为的时间操作库。\r\n*   [PyTime](https://github.com/shinux/PyTime)：一个简单易用的 Python 模块，用于通过字符串来操作日期/时间。\r\n*   [pytz](https://launchpad.net/pytz)：现代以及历史版本的世界时区定义。将时区数据库引入 Python。\r\n*   [when.py](https://github.com/dirn/When.py)：提供用户友好的函数来帮助用户进行常用的日期和时间操作。\r\n*   [dateutil](https://github.com/dateutil/dateutil)：Python 标准包 [datetime](https://docs.python.org/3/library/datetime.html) 的扩展。\r\n*   [moment](https://github.com/zachwill/moment)：一个处理日期/时间的库，灵感来自 [Moment.js](http://momentjs.com/)。\r\n*   [pytz](https://launchpad.net/pytz)：支持跨平台时区计算，并将 [tz database](https://en.wikipedia.org/wiki/Tz_database) 引入 Python。\r\n\r\n### 文本处理\r\n\r\n用于解析和操作文本的库。\r\n\r\n*   通用\r\n    *   [chardet](https://github.com/chardet/chardet)：字符编码检测器，兼容 Python 2 和 Python 3。\r\n    *   [difflib](https://docs.python.org/2/library/difflib.html)：(Python 标准库)帮助我们进行差异化比较。\r\n    *   [ftfy](https://github.com/LuminosoInsight/python-ftfy)：让 Unicode 文本更完整更连贯。\r\n    *   [thefuzz](https://github.com/seatgeek/thefuzz)：模糊字符串匹配。\r\n    *   [Levenshtein](https://github.com/ztane/python-Levenshtein/)：快速计算编辑距离以及字符串的相似度。\r\n    *   [pangu.py](https://github.com/vinta/pangu.py)：在中日韩语字符和数字字母之间添加空格。\r\n    *   [pypinyin](https://github.com/mozillazg/python-pinyin)：汉字拼音转换工具 Python 版。\r\n    *   [shortuuid](https://github.com/stochastic-technologies/shortuuid)：一个生成器库，用以生成简洁的，明白的，URL 安全的 UUID。\r\n    *   [simplejson](https://github.com/simplejson/simplejson)：Python 的 JSON 编码、解码器。\r\n    *   [unidecode](https://pypi.python.org/pypi/Unidecode)：Unicode 文本的 ASCII 转换形式 。\r\n    *   [uniout](https://github.com/moskytw/uniout)：打印可读的字符，而不是转义的字符串。\r\n    *   [xpinyin](https://github.com/lxneng/xpinyin)：一个用于把汉字转换为拼音的库。\r\n    *   [pyfiglet](https://github.com/pwaller/pyfiglet)：figlet 的 Python 实现。\r\n    *   [flashtext](https://github.com/vi3k6i5/flashtext)：一个高效的文本查找替换库。\r\n    *   [textdistance](https://github.com/orsinium/textdistance)：支持 30 多种算法来计算序列之间的距离。\r\n*   Slug 化\r\n    *   [awesome-slugify](https://github.com/dimka665/awesome-slugify)：一个 Python slug 化库，可以保持 Unicode。\r\n    *   [python-slugify](https://github.com/un33k/python-slugify)：Python slug 化库，可以把 unicode 转化为 ASCII。\r\n    *   [unicode-slugify](https://github.com/mozilla/unicode-slugify)：一个 slug 工具，可以生成 unicode slugs ,需要依赖 Django 。\r\n*   解析器\r\n    *   [phonenumbers](https://github.com/daviddrysdale/python-phonenumbers)：解析，格式化，储存，验证电话号码。\r\n    *   [python-phonenumbers](https://github.com/daviddrysdale/python-phonenumbers)：解析，格式化，存储，校验国际电话号码。\r\n    *   [PLY](http://www.dabeaz.com/ply/)：lex 和 yacc 解析工具的 Python 实现。\r\n    *   [Pygments](http://pygments.org/)：通用语法高亮工具。\r\n    *   [pyparsing](http://pyparsing.wikispaces.com/)：生成通用解析器的框架。\r\n    *   [python-nameparser](https://github.com/derek73/python-nameparser)：把一个人名分解为几个独立的部分。\r\n    *   [python-user-agents](https://github.com/selwin/python-user-agents)：浏览器 user agent 解析器。\r\n    *   [sqlparse](https://sqlparse.readthedocs.org/en/latest/)：一个无验证的 SQL 解析器。\r\n\r\n### 特殊文本格式处理\r\n\r\n一些用来解析和操作特殊文本格式的库。\r\n\r\n*   通用\r\n    *   [tablib](https://github.com/kennethreitz/tablib)：一个用来处理中表格数据的模块。\r\n*   Office\r\n    *   [Marmir](https://github.com/brianray/mm)：把输入的 Python 数据结构转换为电子表单。\r\n    *   [openpyxl](https://openpyxl.readthedocs.org/en/latest/)：一个用来读写 Excel 2010 xlsx/xlsm/xltx/xltm 文件的库。\r\n    *   [pyexcel](https://github.com/pyexcel/pyexcel)：一个提供统一 API，用来读写，操作 Excel 文件的库。\r\n    *   [python-docx](https://github.com/python-openxml/python-docx)：读取，查询以及修改 Microsoft Word 2007/2008 docx 文件。\r\n    *   [python-pptx](https://github.com/scanny/python-pptx)：可用于创建和修改 ppt 文件的 Python 库。\r\n    *   [relatorio](http://relatorio.tryton.org/)：模板化 OpenDocument 文件。\r\n    *   [unoconv](https://github.com/dagwieers/unoconv)：在 LibreOffice/OpenOffice 支持的任意文件格式之间进行转换。\r\n    *   [XlsxWriter](https://xlsxwriter.readthedocs.org/en/latest/)：一个用于创建 Excel .xlsx 文件的 Python 模块。\r\n    *   [xlwings](http://xlwings.org/)：一个使得在 Excel 中方便调用 Python 的库（反之亦然），基于 BSD 协议。\r\n    *   [xlwt](https://github.com/python-excel/xlwt) / [xlrd](https://github.com/python-excel/xlrd)：读写 Excel 文件的数据和格式信息。\r\n    *   [docxtpl](https://github.com/elapouya/python-docx-template)：通过 jinja2 模版编辑 docx 文档。\r\n*   PDF\r\n    *   [PDFMiner](https://github.com/euske/pdfminer)：一个用于从 PDF 文档中抽取信息的工具。\r\n    *   [PyPDF2](https://github.com/mstamy2/PyPDF2)：一个可以分割，合并和转换 PDF 页面的库。\r\n    *   [ReportLab](http://www.reportlab.com/opensource/)：快速创建富文本 PDF 文档。\r\n*   Markdown\r\n    *   [Mistune](https://github.com/lepture/mistune)：快速并且功能齐全的纯 Python 实现的 Markdown 解析器。\r\n    *   [Python-Markdown](https://github.com/waylan/Python-Markdown)：John Gruber’s Markdown 的 Python 版实现。\r\n    *   [Python-Markdown2](https://github.com/trentm/python-markdown2)：纯 Python 实现的 Markdown 解析器，比 Python-Markdown 更快，更准确，可扩展。\r\n*   YAML\r\n    *   [PyYAML](http://pyyaml.org/)：Python 版本的 YAML 解析器。\r\n*   CSV\r\n    *   [csvkit](https://github.com/wireservice/csvkit)：用于转换和操作 CSV 的工具。\r\n*   Archive\r\n    *   [unp](https://github.com/mitsuhiko/unp)：一个用来方便解包归档文件的命令行工具。\r\n\r\n### 自然语言处理\r\n\r\n用来处理人类语言的库。\r\n\r\n*   [NLTK](http://www.nltk.org/)：一个先进的平台，用以构建处理人类语言数据的 Python 程序。\r\n*   [gensim](https://github.com/piskvorky/gensim)：人性化的话题建模库。\r\n*   [jieba](https://github.com/fxsjy/jieba)：中文分词工具。\r\n*   [langid.py](https://github.com/saffsd/langid.py)：独立的语言识别系统。\r\n*   [Pattern](http://www.clips.ua.ac.be/pattern)：Python 网络信息挖掘模块。\r\n*   [SnowNLP](https://github.com/isnowfy/snownlp)：一个用来处理中文文本的库。\r\n*   [TextBlob](http://textblob.readthedocs.org/en/latest/)：为进行普通自然语言处理任务提供一致的 API。\r\n*   [TextGrocery](https://github.com/2shou/TextGrocery)：一简单高效的短文本分类工具，基于 LibLinear 和 Jieba。\r\n*   [thulac](https://github.com/thunlp/THULAC-Python)：清华大学自然语言处理与社会人文计算实验室研制推出的一套中文词法分析工具包。\r\n*   [polyglot](https://github.com/aboSamoor/polyglot)：支持数百种语言的自然语言处理管道。\r\n*   [pytext](https://github.com/facebookresearch/pytext)：基于 PyTouch 的自然语言模型框架。\r\n*   [PyTorch-NLP](https://github.com/PetrochukM/PyTorch-NLP)：一个支持快速深度学习 NLP 原型研究的工具包。\r\n*   [spacy](https://spacy.io/)：Python 和 Cython 中用于工业级自然语言处理的库。\r\n*   [Stanza](https://github.com/stanfordnlp/stanza)：斯坦福 NLP 集团的官方 Python 库，支持 60 多种语言。\r\n*   [funNLP](https://github.com/fighting41love/funNLP)：中文自然语言处理的工具和数据集。\r\n*   [pkuseg-python](https://github.com/lancopku/pkuseg-python)：一个支持对不同领域进行中文分词的工具箱。\r\n\r\n### 文档\r\n\r\n用以生成项目文档的库。\r\n\r\n*   [Sphinx](http://www.sphinx-doc.org/en/latest/)：Python 文档生成器。\r\n    * [awesome-sphinxdoc](https://github.com/yoloseem/awesome-sphinxdoc)\r\n*   [MkDocs](http://www.mkdocs.org/)：对 Markdown 友好的文档生成器。\r\n*   [pdoc](https://github.com/BurntSushi/pdoc)：一个可以替换 Epydoc 的库，可以自动生成 Python 库的 API 文档。\r\n*   [Pycco](https://github.com/pycco-docs/pycco)：文学编程（literate-programming）风格的文档生成器。\r\n*   [readthedocs](https://github.com/rtfd/readthedocs.org/)：一个基于 Sphinx/MkDocs 的在线文档托管系统，对开源项目免费开放使用。\r\n\r\n### 配置\r\n\r\n用来保存和解析配置的库。\r\n\r\n*   [config](https://www.red-dove.com/config-doc/)：[logging](https://docs.python.org/2/library/logging.html) 模块作者写的分级配置模块。\r\n*   [ConfigObj](http://www.voidspace.org.uk/python/configobj.html)：INI 文件解析器，带验证功能。\r\n*   [ConfigParser](https://docs.python.org/2/library/configparser.html)：(Python 标准库) INI 文件解析器。\r\n*   [profig](http://profig.readthedocs.org/en/default/)：通过多种格式进行配置，具有数值转换功能。\r\n*   [python-decouple](https://github.com/henriquebastos/python-decouple)：将设置和代码完全隔离。\r\n*   [hydra](https://github.com/facebookresearch/hydra)：一个优雅地配置复杂应用程序的框架。\r\n\r\n### 命令行工具\r\n\r\n用于创建命令行程序的库。\r\n\r\n*   命令行程序开发\r\n    *   [cement](http://builtoncement.com/)：Python 的命令行程序框架。\r\n    *   [click](http://click.pocoo.org/dev/)：一个通过组合的方式来创建精美命令行界面的包。\r\n    *   [cliff](http://docs.openstack.org/developer/cliff/)：一个用于创建命令行程序的框架，可以创建具有多层命令的命令行程序。\r\n    *   [clint](https://github.com/kennethreitz/clint)：Python 命令行程序工具。\r\n    *   [docopt](http://docopt.org/)：Python 风格的命令行参数解析器。\r\n    *   [Gooey](https://github.com/chriskiehl/Gooey)：一条命令，将命令行程序变成一个 GUI 程序。\r\n    *   [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit)：一个用于构建强大的交互式命令行程序的库。\r\n    *   [python-fire](https://github.com/google/python-fire)：Google 出品的一个基于 Python 类的构建命令行界面的库。\r\n    *   [Pythonpy](https://github.com/Russell91/pythonpy/wiki)：在命令行中直接执行任何 Python 指令。\r\n*   终端呈现方式\r\n    * [asciimatics](https://github.com/peterbrittain/asciimatics)：跨平台，全屏终端包（即鼠标/键盘输入和彩色，定位文本输出），完整的复杂动画和特殊效果的高级 API。\r\n    * [alive-progress](https://github.com/rsalmei/alive-progress)：一款新的进度条，具有实时吞吐量信息以及非常酷的动画。\r\n    * [colorama](https://pypi.python.org/pypi/colorama)：跨平台彩色终端文本。\r\n    * [bashplotlib](https://github.com/glamp/bashplotlib)：在终端中进行基本绘图。\r\n    * [rich](https://github.com/willmcgugan/rich)：一个在终端中支持富文本和格式美化的 Python 库， 同时提供了`RichHandler`日志处理程序。\r\n    * [tqdm](https://github.com/tqdm/tqdm)：一个可在循环和命令行中使用的快速、可扩展的进度条。\r\n*   生产力工具\r\n    *   [aws-cli](https://github.com/aws/aws-cli)：Amazon Web Services 的通用命令行界面。\r\n    *   [caniusepython3](https://github.com/brettcannon/caniusepython3)：判断是哪个项目妨碍你你移植到 Python 3。\r\n    *   [cookiecutter](https://github.com/audreyr/cookiecutter)：从 cookiecutters（项目模板）创建项目的一个命令行工具。\r\n    *   [doitlive](https://github.com/sloria/doitlive)：一个用来在终端中进行现场演示的工具。\r\n    *   [pyftpdlib](https://github.com/giampaolo/pyftpdlib)：一个速度极快和可扩展的 Python FTP 服务库。\r\n    *   [howdoi](https://github.com/gleitz/howdoi)：通过命令行获取即时的编程问题解答。\r\n    *   [PathPicker](https://github.com/facebook/PathPicker)：从 bash 输出中选出文件。\r\n    *   [percol](https://github.com/mooz/percol)：向 UNIX shell 传统管道概念中加入交互式选择功能。\r\n    *   [thefuck](https://github.com/nvbn/thefuck)：修正你之前的命令行指令。\r\n    *   [try](https://github.com/timofurrer/try)：一个极其简单的命令行工具，用来试用 python 库。\r\n    *   [copier](https://github.com/pykong/copier)：用于呈现项目模板的库和命令行实用程序。\r\n    *   [Invoke](https://github.com/pyinvoke/invoke#readme)：用于管理面向 shell 的子进程，同时支持将可执行的 Python 代码组织成命令行可调用的状态。\r\n    *   [tmuxp](https://github.com/tony/tmuxp)： [tmux](https://github.com/tmux/tmux) 会话管理器。\r\n*   高级 CLI\r\n    * [httpie](https://github.com/jkbrzt/httpie)：一个命令行 HTTP 客户端，cURL 的替代品，易用性更好。\r\n    * [iredis](https://github.com/laixintao/iredis)：支持自动补全和高亮显示的 redis 命令行工具。\r\n    * [kube-shell](https://github.com/cloudnativelabs/kube-shell)：K8S 命令行集成的 shell 工具。\r\n    * [litecli](https://github.com/dbcli/litecli)：支持自动补全和语法高亮的 SQLite 命令行工具。\r\n    * [mycli](https://github.com/dbcli/mycli)：支持自动补全和语法高亮的 MySQL 命令行客户端\r\n    * [pgcli](https://github.com/dbcli/pgcli)：支持自动补全和语法高亮的 Postgres 命令行工具。\r\n    * [SAWS](https://github.com/donnemartin/saws)：一个加强版的 AWS 命令行。\r\n*   Shell\r\n    * [xonsh](https://github.com/xonsh/xonsh/)：一种基于 python 的跨平台，面向 unix 的 shell 语言和命令提示符。\r\n\r\n### 下载器\r\n\r\n用来进行下载的库.\r\n\r\n*   [s3cmd](https://github.com/s3tools/s3cmd)：一个用来管理 Amazon S3 和 CloudFront 的命令行工具。\r\n*   [s4cmd](https://github.com/bloomreach/s4cmd)：超级 S3 命令行工具，性能更加强劲。\r\n*   [you-get](https://www.soimort.org/you-get/)：一个 YouTube/Youku/Niconico 视频下载器，使用 Python 3 编写。\r\n*   [youtube-dl](http://rg3.github.io/youtube-dl/)：一个小巧的命令行程序，用来下载 YouTube 视频。\r\n*   [akshare](https://github.com/jindaxiang/akshare)：为方便人使用而创建的金融数据接口库。\r\n\r\n### 图像处理\r\n\r\n用来操作图像的库.\r\n\r\n*   [pillow](http://pillow.readthedocs.org/en/latest/)：Pillow 是一个更加易用版的 [PIL](http://www.pythonware.com/products/pil/)。\r\n*   [hmap](https://github.com/rossgoodwin/hmap)：图像直方图映射。\r\n*   [imgSeek](https://sourceforge.net/projects/imgseek/)：一个使用视觉相似性搜索一组图片集合的项目。\r\n*   [nude.py](https://github.com/hhatto/nude.py)：裸体检测。\r\n*   [python-barcode](https://github.com/WhyNotHugo/python-barcode)：不借助其他库在 Python 程序中生成条形码。\r\n*   [pygram](https://github.com/ajkumar25/pygram)：类似 Instagram 的图像滤镜。\r\n*   [python-qrcode](https://github.com/lincolnloop/python-qrcode)：一个纯 Python 实现的二维码生成器。\r\n*   [Quads](https://github.com/fogleman/Quads)：基于四叉树的计算机艺术。\r\n*   [scikit-image](http://scikit-image.org/)：一个用于（科学）图像处理的 Python 库。\r\n*   [thumbor](https://github.com/thumbor/thumbor)：一个小型图像服务，具有剪裁，尺寸重设和翻转功能。\r\n*   [wand](https://github.com/dahlia/wand)：[MagickWand ](http://www.imagemagick.org/script/magick-wand.php)的 Python 绑定。MagickWand 是 ImageMagick 的 C API 。\r\n*   [face_recognition](https://github.com/ageitgey/face_recognition)：简单易用的 Python 人脸识别库。\r\n*   [pagan](https://github.com/daboth/pagan)：基于输入和哈希的复古风图标（头像）生成工具。\r\n*   [PyMatting](https://github.com/pymatting/pymatting)：支持 alpha matting 的库。\r\n*   [pywal](https://github.com/dylanaraps/pywal)：由图像生成配色方案的工具。\r\n*   [pyvips](https://github.com/libvips/pyvips)：低内存消耗且快速的图像处理库。\r\n\r\n### OCR\r\n\r\n光学字符识别库。\r\n*   [paddleocr](https://github.com/PaddlePaddle/PaddleOCR): 除光学字符识别外还引入了表格识别。\r\n*   [pyocr](https://gitlab.gnome.org/World/OpenPaperwork/pyocr)：Tesseract 和 Cuneiform 的一个封装。\r\n*   [pytesseract](https://github.com/madmaze/pytesseract)：[Google Tesseract OCR](https://github.com/tesseract-ocr) 的一个封装。\r\n\r\n### 音频\r\n\r\n用来操作音频的库\r\n\r\n*   [audiolazy](https://github.com/danilobellini/audiolazy)：Python 的数字信号处理包。\r\n*   [audioread](https://github.com/beetbox/audioread)：交叉库 (GStreamer + Core Audio + MAD + FFmpeg) 音频解码。\r\n*   [beets](http://beets.io/)：一个音乐库管理工具及 [MusicBrainz](https://musicbrainz.org/) 标签添加工具。\r\n*   [dejavu](https://github.com/worldveil/dejavu)：音频指纹提取和识别。\r\n*   [django-elastic-transcoder](https://github.com/StreetVoice/django-elastic-transcoder)：Django + [Amazon Elastic Transcoder](http://aws.amazon.com/elastictranscoder/)。\r\n*   [eyeD3](http://eyed3.nicfit.net/)：一个用来操作音频文件的工具，具体来讲就是包含 ID3 元信息的 MP3 文件。\r\n*   [id3reader](http://nedbatchelder.com/code/modules/id3reader.py)：一个用来读取 MP3 元数据的 Python 模块。\r\n*   [m3u8](https://github.com/globocom/m3u8)：一个用来解析 m3u8 文件的模块。\r\n*   [mutagen](https://bitbucket.org/lazka/mutagen)：一个用来处理音频元数据的 Python 模块。\r\n*   [pydub](https://github.com/jiaaro/pydub)：通过简单、简洁的高层接口来操作音频文件。\r\n*   [pyechonest](https://github.com/echonest/pyechonest)：[Echo Nest](http://developer.echonest.com/) API 的 Python 客户端。\r\n*   [talkbox](http://scikits.appspot.com/talkbox)：一个用来处理演讲/信号的 Python 库。\r\n*   [TimeSide](https://github.com/Parisson/TimeSide)：开源 web 音频处理框架。\r\n*   [tinytag](https://github.com/devsnd/tinytag)：一个用来读取 MP3, OGG, FLAC 以及 Wave 文件音乐元数据的库。\r\n*   [mingus](http://bspaans.github.io/python-mingus/)：一个高级音乐理论和曲谱包，支持 MIDI 文件和回放功能。\r\n*   [kapre](https://github.com/keunwoochoi/kapre)：Keras 音频处理器。\r\n*   [librosa](https://github.com/librosa/librosa)：音频音乐分析 Python 库。\r\n*   [matchering](https://github.com/sergree/matchering)：用于音频母带制作的库。\r\n* [pyAudioAnalysis](https://github.com/tyiannak/pyAudioAnalysis)：音频特征提取，分类，分段和应用。\r\n* [beets](https://github.com/beetbox/beets)：一个音乐库管理器和 [MusicBrainz](https://musicbrainz.org/) 标记器。\r\n\r\n### Video\r\n\r\n用来操作视频和 GIF 的库。\r\n\r\n*   [moviepy](http://zulko.github.io/moviepy/)：一个用来进行基于脚本的视频编辑模块，适用于多种格式，包括动图 GIFs。\r\n*   [scikit-video](https://github.com/aizvorski/scikit-video)：SciPy 视频处理常用程序。\r\n*   [vidgear](https://github.com/abhiTronix/vidgear)： 强大的多线程视频处理框架。\r\n\r\n### 地理位置\r\n\r\n地理编码地址以及用来处理经纬度的库。\r\n\r\n*   [GeoDjango](https://docs.djangoproject.com/en/dev/ref/contrib/gis/)：世界级地理图形 web 框架。\r\n*   [GeoIP](https://github.com/maxmind/geoip-api-python)：MaxMind GeoIP Legacy 数据库的 Python API。\r\n*   [geojson](https://github.com/frewsxcv/python-geojson)：GeoJSON 的 Python 绑定及工具。\r\n*   [geopy](https://github.com/geopy/geopy)：Python 地址编码工具箱。\r\n*   [GeoIP2](https://github.com/maxmind/GeoIP2-python)：GeoIP2 Webservice 客户端与数据库 Python API。\r\n*   [django-countries](https://github.com/SmileyChris/django-countries)：一个 Django 应用程序，提供用于表格的国家选择功能，国旗图标静态文件以及模型中的国家字段。\r\n*   [pygeoip](https://github.com/appliedsec/pygeoip)：Python GeoIP 接口。\r\n\r\n### HTTP\r\n\r\n使用 HTTP 的库。\r\n\r\n*   [aiohttp](https://github.com/aio-libs/aiohttp)：基于 asyncio 的异步 HTTP 网络库。\r\n*   [requests](http://docs.python-requests.org/en/latest/)：人性化的 HTTP 请求库。\r\n*   [grequests](https://github.com/kennethreitz/grequests)：requests 库 + gevent ，用于异步 HTTP 请求。\r\n*   [httplib2](https://github.com/jcgregorio/httplib2)：全面的 HTTP 客户端库。\r\n*   [treq](https://github.com/twisted/treq)：类似 requests 的 Python API 构建于 Twisted HTTP 客户端之上。\r\n*   [urllib3](https://github.com/shazow/urllib3)：一个具有线程安全连接池，支持文件 post，清晰友好的 HTTP 库。\r\n*   [httpx](https://github.com/encode/httpx)：下一代 Python HTTP 客户端。\r\n\r\n### 数据库\r\n\r\nPython 实现的数据库。\r\n\r\n*   [pickleDB](https://pythonhosted.org/pickleDB/)：一个简单，轻量级键值储存数据库。\r\n*   [PipelineDB](https://www.pipelinedb.com/)：流式 SQL 数据库。\r\n*   [TinyDB](https://github.com/msiemens/tinydb)：一个微型的，面向文档型数据库。\r\n*   [ZODB](http://www.zodb.org/en/latest/)：一个 Python 原生对象数据库。一个键值和对象图数据库。\r\n\r\n### 数据库驱动\r\n\r\n用来连接和操作数据库的库。\r\n\r\n*   MySQL：[awesome-mysql](http://shlomi-noach.github.io/awesome-mysql/) 系列\r\n    *   [aiomysql](https://github.com/aio-libs/aiomysql)：基于 asyncio 的异步 MySQL 数据库操作库。\r\n    *   [mysql-python](https://sourceforge.net/projects/mysql-python/)：Python 的 MySQL 数据库连接器。\r\n    *   ysqlclient：[mysql-python](https://github.com/PyMySQL/mysqlclient-python) 分支，支持 Python 3。\r\n    *   [oursql](https://pythonhosted.org/oursql/)：一个更好的 MySQL 连接器，支持原生预编译指令和 BLOBs。\r\n    *   [PyMySQL](https://github.com/PyMySQL/PyMySQL)：纯 Python MySQL 驱动，兼容 mysql-python。\r\n*   PostgreSQL\r\n    *   [psycopg2](http://initd.org/psycopg/)：Python 中最流行的 PostgreSQL 适配器。\r\n    *   [queries](https://github.com/gmr/queries)：psycopg2 库的封装，用来和 PostgreSQL 进行交互。\r\n    *   [txpostgres](http://txpostgres.readthedocs.org/en/latest/)：基于 Twisted 的异步 PostgreSQL 驱动。\r\n*   其他关系型数据库\r\n    *   [apsw](http://rogerbinns.github.io/apsw/)：另一个 Python SQLite 封装。\r\n    *   dataset：在数据库中存储 Python 字典\r\n    *   [pymssql](http://www.pymssql.org/en/latest/)：一个简单的 Microsoft SQL Server 数据库接口。\r\n*   NoSQL 数据库\r\n    *   [asyncio-redis](https://github.com/jonathanslenders/asyncio-redis)：基于 asyncio 的 redis 客户端 (PEP 3156)。\r\n    *   [cassandra-python-driver](https://github.com/datastax/python-driver)：Cassandra 的 Python 驱动。\r\n    *   [HappyBase](http://happybase.readthedocs.org/en/latest/)：一个为 Apache HBase 设计的，对开发者友好的库。\r\n    *   [Plyvel](https://plyvel.readthedocs.org/en/latest/)：一个快速且功能丰富的 LevelDB 的 Python 接口。\r\n    *   [py2neo](http://py2neo.org/2.0/)：Neo4j restful 接口的 Python 封装客户端。\r\n    *   [pycassa](https://github.com/pycassa/pycassa)：Cassandra 的 Python Thrift 驱动。\r\n    *   [PyMongo](https://docs.mongodb.org/ecosystem/drivers/python/)：MongoDB 的官方 Python 客户端。\r\n    *   [redis-py](https://github.com/andymccurdy/redis-py)：Redis 的 Python 客户端。\r\n    *   [telephus](https://github.com/driftx/Telephus)：基于 Twisted 的 Cassandra 客户端。\r\n    *   [txRedis](https://github.com/deldotdr/txRedis)：基于 Twisted 的 Redis 客户端。\r\n    *   [kafka-python](https://github.com/dpkp/kafka-python)：Apache Kafka Python 客户端。\r\n*   异步客户端\r\n    * [motor](https://github.com/mongodb/motor)：支持 MongoDB 的异步 Python 驱动程序。\r\n\r\n### ORM\r\n\r\n实现对象关系映射或数据映射技术的库。\r\n\r\n*   关系型数据库\r\n    *   [Django Models](https://docs.djangoproject.com/en/dev/topics/db/models/)：Django 的一部分。\r\n    *   [SQLAlchemy](http://www.sqlalchemy.org/)：Python SQL 工具以及对象关系映射工具。\r\n        * [awesome-sqlalchemy](https://github.com/dahlia/awesome-sqlalchemy)\r\n    *   [awesome-sqlalchemy](https://github.com/dahlia/awesome-sqlalchemy) 系列\r\n    *   [Peewee](https://github.com/coleifer/peewee)：一个小巧，富有表现力的 ORM。\r\n    *   [PonyORM](https://ponyorm.com/)：提供面向生成器的 SQL 接口的 ORM。\r\n    *   [python-sql](https://pypi.python.org/pypi/python-sql)：编写 Python 风格的 SQL 查询。\r\n    *   [dataset](https://github.com/pudo/dataset)：在数据库中存储字典，支持 SQLite，MySQL 和 PostgreSQL。\r\n    *   [orator](https://github.com/sdispater/orator)：Orator ORM，提供了一个简单而美观的 ActiveRecord 实现。\r\n    *   [orm](https://github.com/encode/orm)：一个异步的 ORM。\r\n    *   [pony](https://github.com/ponyorm/pony/)：提供面向生成器的SQL接口的ORM。\r\n    *   [pydal](https://github.com/web2py/pydal/)：纯 Python 数据库抽象接口层。\r\n*   NoSQL 数据库\r\n    *   [django-mongodb-engine](https://github.com/django-nonrel/mongodb-engine)：Django MongoDB 后端。\r\n    *   [PynamoDB](https://github.com/jlafon/PynamoDB)：[Amazon DynamoDB](https://aws.amazon.com/dynamodb/) 的一个 Python 风格接口。\r\n    *   [flywheel](https://github.com/mathcamp/flywheel)：Amazon DynamoDB 的对象映射工具。\r\n    *   [MongoEngine](http://mongoengine.org/)：一个 Python 对象文档映射工具，用于 MongoDB。\r\n    *   [hot-redis](https://github.com/stephenmcd/hot-redis)：为 Redis 提供 Python 丰富的数据类型。\r\n    *   [redisco](https://github.com/kiddouk/redisco)：一个 Python 库，提供可以持续存在在 Redis 中的简单模型和容器。\r\n*   其他\r\n    *   [butterdb](https://github.com/Widdershin/butterdb)：Google Drive 电子表格的 Python ORM。\r\n\r\n### Web 框架\r\n\r\n全栈 Web 框架。\r\n\r\n*   [Django](https://www.djangoproject.com/)：Python 界最流行的 web 框架。\r\n    *   [awesome-django(by shahraizali)](https://github.com/shahraizali/awesome-django) 系列\r\n    *   [awesome-django(by wsvincent)](https://github.com/wsvincent/awesome-django) 系列\r\n*   [Flask](http://flask.pocoo.org/)：一个 Python 微型框架。\r\n    *   [awesome-flask](https://github.com/humiaozuzu/awesome-flask) 系列\r\n*   [Pyramid](https://pylonsproject.org/)：一个小巧，快速，接地气的开源 Python web 框架。\r\n    *   [awesome-pyramid](https://github.com/uralbash/awesome-pyramid) 系列\r\n*   [Bottle](http://bottlepy.org/docs/dev/index.html)：一个快速小巧，轻量级的 WSGI 微型 web 框架。\r\n*   [CherryPy](http://www.cherrypy.org/)：一个极简的 Python web 框架，服从 HTTP/1.1 协议且具有 WSGI 线程池。\r\n*   [TurboGears](http://www.turbogears.org/)：一个可以扩展为全栈解决方案的微型框架。\r\n*   [web.py](http://webpy.org/)：一个 Python 的 web 框架，既简单，又强大。\r\n*   [web2py](http://www.web2py.com/)：一个全栈 web 框架和平台，专注于简单易用。\r\n*   [Tornado](http://www.tornadoweb.org/en/latest/)：一个 web 框架和异步网络库。\r\n*   [sanic](https://github.com/channelcat/sanic/)：基于 Python3.5+ 的异步网络框架。\r\n*   [starlette](https://www.starlette.io/)： 一款轻量级，高性能的 ASGI 框架。\r\n*   [Masonite](https://github.com/MasoniteFramework/masonite)：以开发者为中心的现代 Python Web 框架。\r\n\r\n### WebSocket\r\n\r\nWeb socket 相关库。\r\n\r\n* [autobahn-python](https://github.com/crossbario/autobahn-python)：适用于 Twisted 和 asyncio 的 Python WebSocket 和 WAMP。\r\n* [channels](https://github.com/django/channels)：开发者友好的 Django 异步工具。\r\n* [websockets](https://github.com/aaugustin/websockets)：一个用于构建 WebSocket 服务器和客户端的库，着重于正确性和简单性。\r\n\r\n### 权限\r\n\r\n允许或拒绝用户访问数据或功能的库。\r\n\r\n*   [Carteblanche](https://github.com/neuman/python-carteblanche/)：站在用户和设计者角度开发的一个代码对齐模块，很好地处理了代码导航及权限。\r\n*   [django-guardian](https://github.com/django-guardian/django-guardian)：Django 1.2+ ，实现了单个对象权限。\r\n*   [django-rules](https://github.com/dfunckt/django-rules)：一个小巧但是强大的应用，提供对象级别的权限管理，且不需要使用数据库。\r\n\r\n### CMS\r\n\r\n内容管理系统。\r\n\r\n*   [odoo-cms](http://www.odoo.com)：一个开源的，企业级 CMS，基于 odoo。\r\n*   [django-cms](http://www.django-cms.org/en/)：一个开源的，企业级 CMS，基于 Django。\r\n*   [djedi-cms](http://djedi-cms.org/)：一个轻量级但却非常强大的 Django CMS ，考虑到了插件，内联编辑以及性能。\r\n*   [FeinCMS](http://www.feincms.org/)：基于 Django 构建的最先进的内容管理系统之一。\r\n*   [Kotti](http://kotti.pylonsproject.org/)：一个高级的，Python 范的 web 应用框架，基于 Pyramid 构建。\r\n*   [Mezzanine](http://mezzanine.jupo.org/)：一个强大的，持续的，灵活的内容管理平台。\r\n*   [Opps](http://opps.github.io/opps/)：一个为杂志，报纸网站以及大流量门户网站设计的 CMS 平台，基于 Django。\r\n*   [Plone](https://plone.org/)：一个构建于开源应用服务器 Zope 之上的 CMS。\r\n*   [Quokka](https://quintagroup.com/cms/python/quokka)：灵活，可扩展的小型 CMS，基于 Flask 和 MongoDB。\r\n*   [Wagtail](https://wagtail.io/)：一个 Django 内容管理系统。\r\n*   [Widgy](https://wid.gy/)：最新的 CMS 框架，基于 Django。\r\n*   [indico](https://github.com/indico/indico)：一个功能丰富的事件管理系统，由 @[CERN](https://en.wikipedia.org/wiki/CERN) 开发。\r\n\r\n### 电子商务\r\n\r\n用于电子商务以及支付的框架和库。\r\n\r\n*   [django-oscar](http://oscarcommerce.com/)：一个用于 Django 的开源的电子商务框架。\r\n*   [django-shop](https://github.com/awesto/django-shop)：一个基于 Django 的店铺系统。\r\n*   [Cartridge](https://github.com/stephenmcd/cartridge)：一个基于 Mezzanine 构建的购物车应用。\r\n*   [shoop](https://www.shoop.io/en/)：一个基于 Django 的开源电子商务平台。\r\n*   [alipay](https://github.com/lxneng/alipay)：非官方的 Python 支付宝 API。\r\n*   [merchant](https://github.com/agiliq/merchant)：一个可以接收来自多种支付平台支付的 Django 应用。\r\n*   [money](https://github.com/carlospalol/money)：一个货币类库。带有可选的 CLDR 后端本地化格式，提供可扩展的货币兑换解决方案。\r\n*   [python-currencies](https://github.com/Alir3z4/python-currencies)：显示货币格式以及它的数值。\r\n*   [forex-python](https://github.com/MicroPyramid/forex-python)：外汇汇率，比特币价格指数和货币换算。\r\n*   [saleor](http://getsaleor.com/)：一款兼容 Django 的电子商务平台。\r\n\r\n### RESTful API\r\n\r\n用来开发 RESTful APIs 的库\r\n\r\n*   Django\r\n    *   [django-rest-framework](http://www.django-rest-framework.org/)：一个强大灵活的工具，用来构建 web API。\r\n    *   [django-tastypie](http://tastypieapi.org/)：为 Django 应用开发 API。\r\n    *   [django-formapi](https://github.com/5monkeys/django-formapi)：为 Django 的表单验证，创建 JSON APIs 。\r\n*   Flask\r\n    *   [flask-api](http://www.flaskapi.org/)：为 flask 开发的，可浏览 Web APIs 。\r\n    *   [flask-restful](http://flask-restful.readthedocs.org/en/latest/)：为 flask 快速创建 REST APIs 。\r\n    *   [flask-restless](https://flask-restless.readthedocs.org/en/latest/)：为 SQLAlchemy 定义的数据库模型创建 RESTful APIs 。\r\n    *   [flask-api-utils](https://github.com/marselester/flask-api-utils)：为 Flask 处理 API 表示和验证。\r\n    *   [eve](https://github.com/nicolaiarocci/eve)：REST API 框架，由 Flask, MongoDB 等驱动。\r\n*   Pyramid\r\n    *   [cornice](https://cornice.readthedocs.org/en/latest/)：一个 Pyramid 的 REST 框架 。\r\n*   与框架无关的\r\n    *   [falcon](http://falconframework.org/)：一个用来建立云 API 和 web app 后端的高性能框架。\r\n    *   [sandman](https://github.com/jeffknupp/sandman)：为现存的数据库驱动系统自动创建 REST APIs 。\r\n    *   [restless](http://restless.readthedocs.org/en/latest/)：框架无关的 REST 框架 ，基于从 Tastypie 学到的知识。\r\n    *   [ripozo](https://github.com/vertical-knowledge/ripozo)：快速创建 REST/HATEOAS/Hypermedia APIs。\r\n    *   [apistar](https://github.com/encode/apistar)：专为Python 3设计的智能 Web API 框架。\r\n    *   [fastapi](https://github.com/tiangolo/fastapi)：一个现代，快速，基于标准 Python 类型注解的的 web框架，可使用 Python3.6+ 版本构建 API。\r\n    *   [hug](https://github.com/hugapi/hug)：一个为纯净公开的 API 打造的 Python 3 框架。\r\n    *   [sandman2](https://github.com/jeffknupp/sandman2)：为数据库驱动的系统自动生成 REST API。\r\n    *   [vibora](https://vibora.io/)：快速高效且支持异步的 Web 框架，灵感来源于 Flask。\r\n\r\n### 验证\r\n\r\n实现验证方案的库。\r\n\r\n*   OAuth\r\n    *   [authlib](https://github.com/lepture/authlib)：一个强大的Python库，用来构建 OAuth 和 OpenID 服务端。包括：JWS, JWK, JWA, JWT。\r\n    *   [Authomatic](http://peterhudec.github.io/authomatic/)：简单但是强大的框架，身份验证/授权客户端。\r\n    *   [django-allauth](https://github.com/pennersr/django-allauth)：Django 的验证应用。\r\n    *   [django-oauth-toolkit](https://github.com/evonove/django-oauth-toolkit)：为 Django 用户准备的 OAuth2。\r\n    *   [django-oauth2-provider](https://github.com/caffeinehit/django-oauth2-provider)：为 Django 应用提供 OAuth2 接入。\r\n    *   [Flask-OAuthlib](https://github.com/lepture/flask-oauthlib)：OAuth 1.0/a, 2.0 客户端实现，供 Flask 使用。\r\n    *   [OAuthLib](https://github.com/idan/oauthlib)：一个 OAuth 请求-签名逻辑通用、 完整的实现。\r\n    *   [python-oauth2](https://github.com/joestump/python-oauth2)：一个完全测试的抽象接口。用来创建 OAuth 客户端和服务端。\r\n    *   [python-social-auth](https://github.com/omab/python-social-auth)：一个设置简单的社会化验证方式。\r\n    *   [rauth](https://github.com/litl/rauth)：OAuth 1.0/a, 2.0, 和 Ofly 的 Python 库。\r\n    *   [sanction](https://github.com/demianbrecht/sanction)：一个超级简单的 OAuth2 客户端实现。\r\n*   其他\r\n    *   [PyJWT](https://github.com/jpadilla/pyjwt)：JSON Web 令牌草案 01。\r\n    *   [python-jws](https://github.com/brianloveswords/python-jws)：JSON Web 签名草案 02 的实现。\r\n    *   [python-jwt](https://github.com/davedoesdev/python-jwt)：一个用来生成和验证 JSON Web 令牌的模块。\r\n    *   [python-jose](https://github.com/mpdavis/python-jose/)：python 版 JOSE 实现。\r\n\r\n### 模板引擎\r\n\r\n模板生成和词法解析的库和工具。\r\n\r\n*   [Jinja2](https://github.com/pallets/jinja)：一个现代的，对设计师友好的模板引擎。\r\n*   [Chameleon](https://chameleon.readthedocs.org/en/latest/)：一个 HTML/XML 模板引擎。 模仿了 ZPT（Zope Page Templates）, 进行了速度上的优化。\r\n*   [Genshi](https://genshi.edgewall.org/)：Python 模板工具，用以生成 web 感知的结果。\r\n*   [Mako](http://www.makotemplates.org/)：Python 平台的超高速轻量级模板。\r\n\r\n### 队列\r\n\r\n处理事件以及任务队列的库。\r\n\r\n*   [celery](http://www.celeryproject.org/)：一个异步任务队列/作业队列，基于分布式消息传递\r\n*   [daramatiq](https://github.com/Bogdanp/dramatiq)：适用于Python 3的快速可靠的后台任务处理库。\r\n*   [huey](https://github.com/coleifer/huey)：小型多线程任务队列。\r\n*   [mrq](https://github.com/pricingassistant/mrq)：一个 Python 的分布式 worker 任务队列， 使用 Redis 和 gevent。\r\n*   [rq](http://python-rq.org/)：简单的 Python 作业队列。\r\n*   [simpleq](https://github.com/rdegges/simpleq)：一个简单的，可无限扩张的，基于亚马逊 SQS 的队列。\r\n\r\n### 搜索\r\n\r\n对数据进行索引和执行搜索查询的库和软件。\r\n\r\n*   [django-haystack](https://github.com/django-haystack/django-haystack)：Django 模块化搜索。\r\n*   [elasticsearch-py](https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html)：Elasticsearch 的官方底层 Python 客户端。\r\n*   [elasticsearch-dsl-py](https://github.com/elastic/elasticsearch-dsl-py)：Elasticsearch 的官方高级 Python 客户端。\r\n*   [solrpy](https://github.com/edsu/solrpy)：[solr](http://lucene.apache.org/solr/) 的 Python 客户端。\r\n*   [pysolr](https://github.com/django-haystack/pysolr)：支持 [Apache Solr](https://lucene.apache.org/solr/) 的轻量级 Python 装饰器。\r\n*   [Whoosh](http://whoosh.readthedocs.org/en/latest/)：一个快速的纯 Python 搜索引擎库。\r\n\r\n### 动态消息\r\n\r\n用来创建用户活动的库。\r\n\r\n*   [django-activity-stream](https://github.com/justquick/django-activity-stream)：从你的站点行为中生成通用活动信息流。\r\n*   [Stream-Framework](https://github.com/tschellenbach/Stream-Framework)：使用 Cassandra 和 Redis 创建动态消息和通知系统。\r\n\r\n### Web 资源管理\r\n\r\n管理、压缩、缩小网站资源的工具。\r\n\r\n*   [django-compressor](https://github.com/django-compressor/django-compressor)：将链接和内联的 JavaScript 或 CSS 压缩到一个单独的缓存文件中。\r\n*   [django-pipeline](https://github.com/jazzband/django-pipeline)：Django 的资源包装库。\r\n*   [django-storages](http://django-storages.readthedocs.org/en/latest/)：一个针对 Django 的自定义存储后端的工具集合。\r\n*   [fanstatic](http://www.fanstatic.org/en/latest/)：打包、优化，并且把静态文件依赖作为 Python 的包来提供。\r\n*   [File Conveyor](https://wimleers.com/fileconveyor/)：一个后台驻留的程序，用来发现和同步文件到 CDNs, S3 和 FTP。\r\n*   [Flask-Assets](http://flask-assets.readthedocs.org/en/latest/)：帮你将 web 资源整合到你的 Flask app 中。\r\n*   [jinja-assets-compressor](https://github.com/jaysonsantos/jinja-assets-compressor)：一个 Jinja 扩展，用来编译和压缩你的资源。\r\n*   [webassets](http://webassets.readthedocs.org/en/latest/)：为你的静态资源打包、优化和管理生成独一无二的缓存 URL。\r\n\r\n### 缓存\r\n\r\n缓存数据的库。\r\n\r\n*   [Beaker](http://beaker.readthedocs.org/en/latest/)：一个缓存和会话库，可以用在 web 应用和独立 Python 脚本和应用上。\r\n*   [django-cache-machine](https://github.com/django-cache-machine/django-cache-machine)：Django 模型的自动缓存和失效。\r\n*   [django-cacheops](https://github.com/Suor/django-cacheops)：具有自动颗粒化事件驱动失效功能的 ORM。\r\n*   [django-viewlet](https://github.com/5monkeys/django-viewlet)：渲染模板，同时具有额外的缓存控制功能。\r\n*   [dogpile.cache](http://dogpilecache.readthedocs.org/en/latest/)：dogpile.cache 是 Beaker 的下一代替代品，由同一作者开发。\r\n*   [HermesCache](https://pypi.python.org/pypi/HermesCache)：Python 缓存库，具有基于标签的失效和 dogpile effect 保护功能。\r\n*   [johnny-cache](https://github.com/jmoiron/johnny-cache)：django 应用缓存框架。\r\n*   [pylibmc](https://github.com/lericson/pylibmc)：[libmemcached](http://libmemcached.org/libMemcached.html) 接口的 Python 封装。\r\n*   [python-diskcache](http://www.grantjenks.com/docs/diskcache/)：SQLite 和文件支持的缓存后端，具有比 memcached 和 redis 更快的查找速度。\r\n\r\n### 电子邮件\r\n\r\n用来发送和解析电子邮件的库。\r\n\r\n*   [django-celery-ses](https://github.com/StreetVoice/django-celery-ses)：带有 AWS SES 和 Celery 的 Django email 后端。\r\n*   [envelopes](http://tomekwojcik.github.io/envelopes/)：供人类使用的电子邮件库。\r\n*   [flanker](https://github.com/mailgun/flanker)：一个 email 地址和 Mime 解析库。\r\n*   [imbox](https://github.com/martinrusev/imbox)：Python IMAP 库。\r\n*   [inbox.py](https://github.com/kennethreitz/inbox.py)：Python SMTP 服务器。\r\n*   [inbox](https://github.com/nylas/sync-engine)：一个开源电子邮件工具箱。\r\n*   [lamson](https://github.com/zedshaw/lamson)：Python 风格的 SMTP 应用服务器。\r\n*   [mailjet](https://github.com/WoLpH/mailjet)：Mailjet API 实现，用来提供批量发送邮件，统计等功能。\r\n*   [marrow.mailer](https://github.com/marrow/mailer)：高性能可扩展邮件分发框架。\r\n*   [modoboa](https://github.com/tonioo/modoboa)：一个邮件托管和管理平台，具有现代的、简约的 Web UI。\r\n*   [pyzmail](http://www.magiksys.net/pyzmail/)：创建，发送和解析电子邮件。\r\n*   [Talon](https://github.com/mailgun/talon)：Mailgun 库，用来抽取信息和签名。\r\n*   [yagmail](https://pypi.org/project/yagmail/)：yagmail是一个GMAIL / SMTP客户端，旨在使其尽可能简单地发送电子邮件。\r\n*   [salmon](https://github.com/moggers87/salmon)：一个 Python 邮件服务器。\r\n*   [mailer](https://github.com/marrow/mailer)：一款高性能可扩展的邮件投递框架。\r\n\r\n### 国际化\r\n\r\n用来进行国际化的库。\r\n\r\n*   [Babel](http://babel.pocoo.org/en/latest/)：一个 Python 的国际化库。\r\n*   [Korean](https://korean.readthedocs.org/en/latest/)：一个韩语词态库。\r\n*   [PyICU](https://github.com/ovalhub/pyicu)：一个封装了 [ICU](http://site.icu-project.org/) C++ 库的 Python 扩展。\r\n\r\n### URL 处理\r\n\r\n解析 URLs 的库\r\n\r\n*   [furl](https://github.com/gruns/furl)：一个让处理 URL 更简单小型 Python 库。\r\n*   [purl](https://github.com/codeinthehole/purl)：一个简单的，不可变的 URL 类，具有简洁的 API 来进行询问和处理。\r\n*   [pyshorteners](https://github.com/ellisonleao/pyshorteners)：一个纯 Python URL 缩短库。\r\n*   [shorturl](https://github.com/Alir3z4/python-shorturl)：生成短小 URL 和类似 bit.ly 短链的 Python 实现。\r\n*   [webargs](https://github.com/sloria/webargs)：一个解析 HTTP 请求参数的库，内置对流行 web 框架的支持，包括 Flask, Django, Bottle, Tornado 和 Pyramid。\r\n\r\n### HTML 处理\r\n\r\n处理 HTML 和 XML 的库。\r\n\r\n*   [BeautifulSoup](http://www.crummy.com/software/BeautifulSoup/bs4/doc/)：以 Python 风格的方式来对 HTML 或 XML 进行迭代，搜索和修改。\r\n*   [bleach](http://bleach.readthedocs.org/en/latest/)：一个基于白名单的 HTML 清理和文本链接库。\r\n*   [cssutils](https://pypi.python.org/pypi/cssutils/)：一个 Python 的 CSS 库。\r\n*   [html5lib](https://github.com/html5lib/html5lib-python)：一个兼容标准的 HTML 文档和片段解析及序列化库。\r\n*   [lxml](http://lxml.de/)：一个非常快速，简单易用，功能齐全的库，用来处理 HTML 和 XML。\r\n*   [MarkupSafe](https://github.com/pallets/markupsafe)：为 Python 实现 XML/HTML/XHTML 标记安全字符串。\r\n*   [pyquery](https://github.com/gawel/pyquery)：一个解析 HTML 的库，类似 jQuery。\r\n*   [requests-html](https://github.com/kennethreitz/requests-html)：人性化的，Pythonic 的 HTML 解析库。\r\n*   [untangle](https://github.com/stchris/untangle)：将 XML 文档转换为 Python 对象，使其可以方便的访问。\r\n*   [xhtml2pdf](https://github.com/xhtml2pdf/xhtml2pdf)：HTML/CSS 转 PDF 工具。\r\n*   [xmltodict](https://github.com/martinblech/xmltodict)：像处理 JSON 一样处理 XML。\r\n*   [WeasyPrint](http://weasyprint.org)：用于HTML和CSS的可视化呈现引擎，并可以导出为 PDF。\r\n*   [xmldataset](https://xmldataset.readthedocs.io/en/latest/)：简单 XML 解析。\r\n\r\n爬取网络站点的库\r\n\r\n*   [Scrapy](http://scrapy.org/)：一个快速高级的屏幕爬取及网页采集框架。\r\n*   [ScrapydWeb](https://github.com/my8100/scrapydweb)：一个用于 Scrapyd 集群管理的全功能 web UI，支持 Scrapy 日志分析和可视化，自动打包，定时器任务和邮件通知等特色功能。\r\n*   [cola](https://github.com/chineking/cola)：一个分布式爬虫框架。\r\n*   [Demiurge](https://github.com/matiasb/demiurge)：基于 PyQuery 的爬虫微型框架。\r\n*   [feedparser](http://pythonhosted.org/feedparser/)：通用 feed 解析器。\r\n*   [Grab](http://grablib.org/)：站点爬取框架。\r\n*   [MechanicalSoup](https://github.com/hickford/MechanicalSoup)：用于自动和网络站点交互的 Python 库。\r\n*   [portia](https://github.com/scrapinghub/portia)：Scrapy 可视化爬取。\r\n*   [pyspider](https://github.com/binux/pyspider)：一个强大的爬虫系统。\r\n*   [RoboBrowser](https://github.com/jmcarp/robobrowser)：一个简单的，Python 风格的库，用来浏览网站，而不需要一个独立安装的浏览器。\r\n\r\n### 网页内容提取\r\n\r\n用于进行网页内容提取的库。\r\n\r\n*   [Haul](https://github.com/vinta/Haul)：一个可以扩展的图像爬取工具。\r\n*   [html2text](https://github.com/Alir3z4/html2text)：将 HTML 转换为 Markdown 格式文本。\r\n*   [lassie](https://github.com/michaelhelmick/lassie)：人性化的网页内容检索库。\r\n*   [micawber](https://github.com/coleifer/micawber)：一个小型网页内容提取库，用来从 URLs 提取富内容。\r\n*   [newspaper](https://github.com/codelucas/newspaper)：使用 Python 进行新闻提取，文章提取以及内容策展。\r\n*   [opengraph](https://github.com/erikriver/opengraph)：一个用来解析开放内容协议(Open Graph Protocol)的 Python 模块。\r\n*   [python-goose](https://github.com/grangier/python-goose)：HTML 内容/文章提取器(python2)。\r\n*   [goose3](https://github.com/goose3/goose3)：HTML 内容/文章提取器(python3)。\r\n*   [python-readability](https://github.com/buriy/python-readability)：arc90 公司 readability 工具的 Python 高速端口。\r\n*   [sanitize](https://github.com/Alir3z4/python-sanitize)：为杂乱的数据世界带来调理性。\r\n*   [sumy](https://github.com/miso-belica/sumy)：一个为文本文件和 HTML 页面进行自动摘要的模块。\r\n*   [textract](https://github.com/deanmalmgren/textract)：从任何格式的文档中提取文本，Word，PowerPoint，PDFs 等等。\r\n\r\n### 表单\r\n\r\n进行表单操作的库。\r\n\r\n*   [Deform](http://deform.readthedocs.org/en/latest/)：Python HTML 表单生成库，受到了 formish 表单生成库的启发。\r\n*   [django-bootstrap3](https://github.com/dyve/django-bootstrap3)：集成了 Bootstrap 3 的 Django。\r\n*   [django-bootstrap4](https://github.com/zostera/django-bootstrap4)：集成了 Bootstrap 4 的 Django。\r\n*   [django-crispy-forms](http://django-crispy-forms.readthedocs.org/en/latest/)：一个 Django 应用，他可以让你以一种非常优雅且 DRY (Don't repeat yourself) 的方式来创建美观的表单。\r\n*   [django-remote-forms](https://github.com/WiserTogether/django-remote-forms)：一个平台独立的 Django 表单序列化工具。\r\n*   [WTForms](http://wtforms.readthedocs.org/en/latest/)：一个灵活的表单验证和呈现库。\r\n*   [WTForms-JSON](http://wtforms-json.readthedocs.org/en/latest/)：一个 WTForms 扩展，用来处理 JSON 数据。\r\n\r\n### 数据验证\r\n\r\n数据验证库。多用于表单验证。\r\n\r\n*   [Cerberus](http://docs.python-cerberus.org/en/stable/)：一个映射验证器（mappings-validator）。支持多种规则，提供归一化功能，可以方便地定制为 Python 风格的 schema 定义。\r\n*   [colander](http://docs.pylonsproject.org/projects/colander/en/latest/)：一个用于对从 XML, JSON，HTML 表单获取的数据或其他同样简单的序列化数据进行验证和反序列化的系统。\r\n*   [kmatch](https://github.com/ambitioninc/kmatch)：一种用于匹配/验证/筛选 Python 字典的语言。\r\n*   [schema](https://github.com/keleshev/schema)：一个用于对 Python 数据结构进行验证的库。\r\n*   [Schematics](https://github.com/schematics/schematics)：数据结构验证。\r\n*   [valideer](https://github.com/podio/valideer)：轻量级可扩展的数据验证和适配库。\r\n*   [voluptuous](https://github.com/alecthomas/voluptuous)：一个 Python 数据验证库。主要是为了验证传入 Python 的 JSON，YAML 等数据。\r\n*   [jsonschema](https://github.com/Julian/jsonschema)：[JSON Schema](http://json-schema.org/) 的 python 实现，用于 JSON 数据的验证。\r\n\r\n### 序列化\r\n\r\n复杂数据类型序列化相关库。\r\n\r\n* [marshmallow](https://github.com/marshmallow-code/marshmallow)：一个轻量级的库，用于将复杂对象与简单 Python 数据类型相互转换。\r\n* [pysimdjson](https://github.com/TkTech/pysimdjson)：与 Python 绑定的 [simdjson](https://github.com/lemire/simdjson) 。\r\n* [python-rapidjson](https://github.com/python-rapidjson/python-rapidjson)： [RapidJSON](https://github.com/Tencent/rapidjson) 的 Python 封装。\r\n* [ultrajson](https://github.com/esnme/ultrajson)：使用 Python 绑定的，用 C 编写的快速 JSON 解码器和编码器。\r\n\r\n### 反垃圾技术\r\n\r\n帮助你和电子垃圾进行战斗的库。\r\n\r\n*   [django-simple-captcha](https://github.com/mbi/django-simple-captcha)：一个简单、高度可定制的 Django 应用，可以为任何 Django 表单添加验证码。\r\n*   [django-simple-spam-blocker](https://github.com/moqada/django-simple-spam-blocker)：一个用于 Django 的简单的电子垃圾屏蔽工具。\r\n\r\n### 标记\r\n\r\n用来进行标记的库。\r\n\r\n*   [django-taggit](https://github.com/alex/django-taggit)：简单的 Django 标记工具。\r\n\r\n### 管理面板\r\n\r\n管理界面库。\r\n\r\n*   [Ajenti](https://github.com/ajenti/ajenti)：一个你的服务器值得拥有的管理面板。\r\n*   [django-suit](http://djangosuit.com/)：Django 管理界面的一个替代品（仅对于非商业用途是免费的）。\r\n*   [django-xadmin](https://github.com/sshwsfc/django-xadmin)：Django admin 的一个替代品，具有很多不错的功能。\r\n*   [flask-admin](https://github.com/flask-admin/flask-admin)：一个用于 Flask 的简单可扩展的管理界面框架。\r\n*   [flower](https://github.com/mher/flower)：一个对 Celery 集群进行实时监控和提供 web 管理界面的工具。\r\n*   [Grappelli](http://grappelliproject.com/)：Django 管理界面的一个漂亮的皮肤。\r\n*   [Wooey](https://github.com/wooey/wooey)：一个 Django 应用，可以为 Python 脚本创建 web 用户界面。\r\n*   [django-grappelli](https://grappelliproject.com/)：拥有绚丽外观的 Django Admin 界面。\r\n*   [django-jet](https://github.com/geex-arts/django-jet)：具有改进功能的现代响应式 Django 管理界面模板。\r\n* [jet-bridge](https://github.com/jet-admin/jet-bridge)：管理面板框架，适用于任何具有良好 UI 的应用（例如 Django）。\r\n\r\n### Serverless 框架\r\n\r\n使用 Python 开发 Serverless 模型相关的库。\r\n\r\n* [python-lambda](https://github.com/nficano/python-lambda) ：在 AWS Lambda 开发和部署 Python 代码的工具包。\r\n* [Zappa](https://github.com/Miserlou/Zappa)：在 AWS Lambda 和 API Gateway 部署 WSGI 应用的工具。\r\n\r\n### 静态站点生成器\r\n\r\n静态站点生成器是一个软件，它把文本和模板作为输入，然后输出 HTML 文件。\r\n\r\n*   [Pelican](http://blog.getpelican.com/)：使用 Markdown 或 ReST 来处理内容， Jinja 2 来制作主题。支持 DVCS, Disqus.。AGPL 许可。\r\n*   [Cactus](https://github.com/koenbok/Cactus/)：为设计师设计的静态站点生成器。\r\n*   [Hyde](http://hyde.github.io/)：基于 Jinja2 的静态站点生成器。\r\n*   [Nikola](https://www.getnikola.com/)：一个静态网站和博客生成器。\r\n*   [Tinkerer](http://tinkerer.me/)：Tinkerer 是一个博客引擎/静态站点生成器，由 Sphinx 驱动。\r\n*   [Lektor](https://www.getlektor.com/)：一个简单易用的静态 CMS 和博客引擎。\r\n*   [makesite](https://github.com/sunainapai/makesite)：简单轻量的站点/博客生成器（小于 130 行代码）。\r\n\r\n### 进程\r\n\r\n操作系统进程启动及通信库。\r\n\r\n*   [envoy](https://github.com/kennethreitz/envoy)：比 Python [subprocess](https://docs.python.org/2/library/subprocess.html) 模块更人性化。\r\n*   [sarge](http://sarge.readthedocs.org/en/latest/)：另一 种 subprocess 模块的封装。\r\n*   [sh](https://github.com/amoffat/sh)：一个完备的 subprocess 替代库。\r\n*   [delegator.py](https://github.com/amitt001/delegator.py)：人性化的 [Subprocesses](https://docs.python.org/3/library/subprocess.html) 2.0 版本。\r\n\r\n### 并发和并行\r\n\r\n用以进行并发和并行操作的库。\r\n\r\n*   [multiprocessing](https://docs.python.org/2/library/multiprocessing.html)：(Python 标准库) 基于进程的“线程”接口。\r\n*   [threading](https://docs.python.org/2/library/threading.html)：(Python 标准库)更高层的线程接口。\r\n*   [eventlet](http://eventlet.net/)：支持 WSGI 的异步框架。\r\n*   [gevent](http://www.gevent.org/)：一个基于协程的 Python 网络库，使用 [greenlet](https://github.com/python-greenlet/greenlet)。\r\n*   [Tomorrow](https://github.com/madisonmay/Tomorrow)：用于产生异步代码的神奇的装饰器语法实现。\r\n*   [uvloop](https://github.com/MagicStack/uvloop)：在 libuv 之上超快速实现 asyncio 事件循环。\r\n*   [concurrent.futures](https://docs.python.org/3/library/concurrent.futures.html)：(Python 标准库) 异步执行可调用对象的高级接口。\r\n*   [gevent](http://www.gevent.org/)：使用 [greenlet](https://github.com/python-greenlet/greenlet) 且基于协程的 Python 网络库。\r\n*   [scoop](https://github.com/soravux/scoop)：支持在 Python 中进行可伸缩并行操作。\r\n\r\n### 网络\r\n\r\n用于网络编程的库。\r\n\r\n*   [asyncio](https://docs.python.org/3/library/asyncio.html)：(Python 标准库) 异步 I/O，事件循环，协程以及任务。\r\n*   [trio](https://github.com/python-trio/trio)：异步并发和 I/O 友好的库。\r\n*   [Twisted](https://twistedmatrix.com/trac/)：一个事件驱动的网络引擎。\r\n*   [pulsar](https://github.com/quantmind/pulsar)：事件驱动的并发框架。\r\n*   [diesel](https://github.com/dieseldev/diesel)：基于 Greenlet 的事件 I/O 框架。\r\n*   [pyzmq](http://zeromq.github.io/pyzmq/)：一个 ZeroMQ 消息库的 Python 封装。\r\n*   [Toapi](https://github.com/gaojiuli/toapi)：一个轻巧，简单，快速的 Flask 库，致力于为所有网站提供 API 服务。\r\n*   [txZMQ](https://github.com/smira/txZMQ)：基于 Twisted 的 ZeroMQ 消息库的 Python 封装。\r\n\r\n### WebSocket\r\n\r\n帮助使用 WebSocket 的库。\r\n\r\n*   [AutobahnPython](https://github.com/crossbario/autobahn-python)：给 Python、使用的 WebSocket \u0026 WAMP 基于 Twisted 和 [asyncio](https://docs.python.org/3/library/asyncio.html)。\r\n*   [Crossbar](https://github.com/crossbario/crossbar/)：开源统一应用路由(Websocket \u0026 WAMP for Python on Autobahn)。\r\n*   [django-socketio](https://github.com/stephenmcd/django-socketio)：给 Django 用的 WebSockets。\r\n*   [WebSocket-for-Python](https://github.com/Lawouach/WebSocket-for-Python)：为 Python2/3 以及 PyPy 编写的 WebSocket 客户端和服务器库。\r\n\r\n### WSGI 服务器\r\n\r\n兼容 WSGI 的 web 服务器\r\n\r\n*   [gunicorn](https://pypi.python.org/pypi/gunicorn)：Pre-forked, 部分是由 C 语言编写的。\r\n*   [uwsgi](https://uwsgi-docs.readthedocs.org/en/latest/)：uwsgi 项目的目的是开发一组全栈工具，用来建立托管服务，由 C 语言编写。\r\n*   [bjoern](https://pypi.python.org/pypi/bjoern)：异步，非常快速，由 C 语言编写。\r\n*   [fapws3](http://www.fapws.org/)：异步 (仅对于网络端)，由 C 语言编写。\r\n*   [meinheld](https://pypi.python.org/pypi/meinheld)：异步，部分是由 C 语言编写的。\r\n*   [netius](https://github.com/hivesolutions/netius)：异步，非常快速。\r\n*   [paste](http://pythonpaste.org/)：多线程，稳定，久经考验。\r\n*   [rocket](https://pypi.python.org/pypi/rocket)：多线程。\r\n*   [waitress](https://waitress.readthedocs.org/en/latest/)：多线程，是它驱动着 Pyramid 框架。\r\n*   [Werkzeug](http://werkzeug.pocoo.org/)：一个 WSGI 工具库，驱动着 Flask，而且可以很方便大嵌入到你的项目中去。\r\n\r\n### ASGI 服务器\r\n\r\n兼容 ASGI 的 web 服务器。\r\n\r\n* [daphne](https://github.com/django/daphne)：用于 ASGI 和 ASGI-HTTP 的，支持 HTTP，HTTP2 和 WebSocket 协议的服务器。\r\n* [uvicorn](https://github.com/encode/uvicorn)：使用 uvloop 和 httptools 实现的闪电般快速的 ASGI 服务器。\r\n\r\n### RPC 服务器\r\n\r\n兼容 RPC 的服务器。\r\n\r\n*   [SimpleJSONRPCServer](https://github.com/joshmarshall/jsonrpclib/)：这个库是 JSON-RPC 规范的一个实现。\r\n*   [SimpleXMLRPCServer](https://docs.python.org/2/library/simplexmlrpcserver.html)：(Python 标准库) 简单的 XML-RPC 服务器实现，单线程。\r\n*   [zeroRPC](https://github.com/0rpc/zerorpc-python)：zerorpc 是一个灵活的 RPC 实现，基于 [ZeroMQ](http://zeromq.org/) 和 [MessagePack](http://msgpack.org/)。\r\n*   [RPyC](https://github.com/tomerfiliba/rpyc) (Remote Python Call)：适用于 Python 的透明且对称的RPC库。\r\n\r\n### 密码学\r\n\r\n*   [cryptography](https://cryptography.io/en/latest/)：这个软件包意在提供密码学基本内容和方法提供给 Python 开发者。\r\n*   [hashids](https://github.com/davidaurelio/hashids-python)：在 Python 中实现 [hashids](http://hashids.org/) 。\r\n*   [Paramiko](http://www.paramiko.org/)：SSHv2 协议的 Python (2.6+, 3.3+) ，提供客户端和服务端的功能。\r\n*   [Passlib](https://pythonhosted.org/passlib/)：安全密码存储／哈希库。\r\n*   [PyCrypto](https://www.dlitz.net/software/pycrypto/)：Python 密码学工具箱。\r\n*   [PyNacl](https://github.com/pyca/pynacl)：网络和密码学(NaCl) 库的 Python 绑定。\r\n\r\n### 图形用户界面\r\n\r\n用来创建图形用户界面程序的库。\r\n\r\n*   [curses](https://docs.python.org/2/library/curses.html#module-curses)：内建的 [ncurses](http://www.gnu.org/software/ncurses/) 封装，用来创建终端图形用户界面。\r\n*   [enaml](https://github.com/nucleic/enaml)：使用类似 QML 的 Declaratic 语法来创建美观的用户界面。\r\n*   [kivy](https://kivy.org/)：一个用来创建自然用户交互（NUI）应用程序的库，可以运行在 Windows, Linux, Mac OS X, Android 以及 iOS 平台上。\r\n*   [pyglet](https://bitbucket.org/pyglet/pyglet/wiki/Home)：一个 Python 的跨平台窗口及多媒体库。\r\n*   [PyQt](https://riverbankcomputing.com/software/pyqt/intro)：跨平台用户界面框架 [Qt](http://www.qt.io/) 的 Python 绑定 ，支持 Qt v4 和 Qt v5。\r\n*   [PySide](https://wiki.qt.io/PySide)：跨平台用户界面框架 [Qt](http://www.qt.io/) 的 Python 绑定 ，支持 Qt v4。\r\n*   [Tkinter](https://wiki.python.org/moin/TkInter)：Tkinter 是 Python GUI 的一个事实标准库。\r\n*   [Toga](https://github.com/pybee/toga)：一个 Python 原生的，操作系统原生的 GUI 工具包。\r\n*   [urwid](http://urwid.org/)：一个用来创建终端 GUI 应用的库，支持组件，事件和丰富的色彩等。\r\n*   [wxPython](http://wxpython.org/)：wxPython 是 wxWidgets C++ 类库和 Python 语言混合的产物。\r\n*   [PyGObject](https://wiki.gnome.org/Projects/PyGObject)：GLib/GObject/GIO/GTK+ (GTK+3) 的 Python 绑定。\r\n*   [Flexx](https://github.com/zoofIO/flexx)：Flexx 是一个纯 Python 语言编写的用来创建 GUI 程序的工具集，它使用 web 技术进行界面的展示。\r\n*   [Eel](https://github.com/ChrisKnott/Eel)：用于制作简单离线 HTML/JS GUI 应用的库。\r\n*   [PySimpleGUI](https://github.com/PySimpleGUI/PySimpleGUI)：tkinter，Qt，WxPython 和 Remi 的封装。\r\n*   [pywebview](https://github.com/r0x0r/pywebview/)：围绕网页视图组件的轻量级跨平台的原生包装。\r\n*   [DearPyGui](https://github.com/RaylockLLC/DearPyGui/)：一个简单的可使用 GPU 加速的 Python GUI 框架。\r\n\r\n### 游戏开发\r\n\r\n超赞的游戏开发库。\r\n\r\n*   [Cocos2d](http://cocos2d.org/)：cocos2d 是一个用来开发 2D 游戏， 示例和其他图形/交互应用的框架。基于 pyglet。\r\n*   [Panda3D](https://www.panda3d.org/)：由迪士尼开发的 3D 游戏引擎，并由卡内基梅陇娱乐技术中心负责维护。使用 C++ 编写, 针对 Python 进行了完全的封装。\r\n*   [Pygame](http://www.pygame.org/news.html)：Pygame 是一组 Python 模块，用来编写游戏。\r\n*   [PyOgre](http://www.ogre3d.org/tikiwiki/PyOgre)：Ogre 3D 渲染引擎的 Python 绑定，可以用来开发游戏和仿真程序等任何 3D 应用。\r\n*   [PyOpenGL](http://pyopengl.sourceforge.net/)：OpenGL 的 Python 绑定及其相关 APIs。\r\n*   [PySDL2](http://pysdl2.readthedocs.org/en/latest/)：SDL2 库的封装，基于 ctypes。\r\n*   [RenPy](https://www.renpy.org/)：一个视觉小说（visual novel）引擎。\r\n*   [Arcade](https://arcade.academy/index.html)：一个现代 Python 框架，用于制作具有引人入胜的图形与声音的游戏。\r\n*   [Harfang3D](http://www.harfang3d.com)：支持3D，VR 与游戏开发的 Python 框架。\r\n\r\n### 日志\r\n\r\n用来生成和操作日志的库。\r\n\r\n*   [logging](https://docs.python.org/2/library/logging.html)：(Python 标准库) 为 Python 提供日志功能。\r\n*   [logbook](http://pythonhosted.org/Logbook/)：Logging 库的替代品。\r\n*   [Eliot](https://eliot.readthedocs.org/en/latest/)：为复杂的和分布式系统创建日志。\r\n*   [Raven](http://raven.readthedocs.org/en/latest/)：Sentry 的 Python 客户端。\r\n*   [Sentry](https://pypi.python.org/pypi/sentry)：实时记录和收集日志的服务器。\r\n*   [sentry-python](https://github.com/getsentry/sentry-python)：Python 版 Sentry SDK。\r\n*   [loguru](https://github.com/Delgan/loguru)：旨在带来愉悦体验的 Python 日志库。\r\n*   [structlog](https://www.structlog.org/en/stable/)：结构化日志，让日志变得简单。\r\n\r\n### 测试\r\n\r\n进行代码库测试和生成测试数据的库。\r\n\r\n*   测试框架\r\n    *   [unittest](https://docs.python.org/2/library/unittest.html)：(Python 标准库) 单元测试框架。\r\n    *   [nose](https://nose.readthedocs.org/en/latest/)：nose 扩展了 unittest 的功能。\r\n    *   [nose2](https://github.com/nose-devs/nose2) `nose`的继任者，基于 `unittest2`。\r\n    *   [contexts](https://github.com/benjamin-hodgson/Contexts)：一个 Python 3.3+ 的 BDD 框架。受到 C#  Machine.Specifications 的启发。\r\n    *   [hypothesis](https://github.com/DRMacIver/hypothesis)：Hypothesis 是一个基于先进的 Quickcheck 风格特性的测试库。\r\n    *   [mamba](http://nestorsalceda.github.io/mamba/)：Python 的终极测试工具， 拥护 BDD。\r\n    *   [pyshould](https://github.com/drslump/pyshould)：Should 风格的断言，基于 [PyHamcrest](https://github.com/hamcrest/PyHamcrest)。\r\n    *   [pytest](http://pytest.org/latest/)：一个成熟的全功能 Python 测试工具。\r\n    *   [green](https://github.com/CleanCut/green)：干净，多彩的测试工具。\r\n    *   [pyvows](http://heynemann.github.io/pyvows/)：BDD 风格的测试工具，受 Vows.js 的启发。\r\n    *   [Robot Framework](https://github.com/robotframework/robotframework)：一个通用的自动化测试框架。\r\n    *   [tox](https://tox.readthedocs.io/en/latest/)：自动化测试与发布的工具，支持多个 Python 版本。\r\n*   GUI / Web 测试\r\n    *   [Selenium](https://pypi.python.org/pypi/selenium)：[Selenium](http://www.seleniumhq.org/) WebDriver 的 Python 绑定。\r\n    *   [PyAutoGUI](https://github.com/asweigart/pyautogui)：PyAutoGUI 是一个人性化的跨平台 GUI 自动测试模块。\r\n    *   [locust](https://github.com/locustio/locust)：使用 Python 编写的，可扩展的用户加载测试工具。\r\n    *   [sixpack](https://github.com/seatgeek/sixpack)：一个和语言无关的 A/B 测试框架。\r\n    *   [splinter](https://splinter.readthedocs.org/en/latest/)：开源的 web 应用测试工具。\r\n    *   [Schemathesis](https://github.com/kiwicom/schemathesis)：基于属性的自动测试工具，用于测试使用 Open API / Swagger 规范构建的 Web 应用程序。\r\n*   Mock 测试\r\n    *   [mock](https://docs.python.org/3/library/unittest.mock.html)：(Python 标准库) 一个用于伪造测试的库。\r\n    *   [doublex](https://pypi.python.org/pypi/doublex)：Python 的一个功能强大的 doubles 测试框架。\r\n    *   [freezegun](https://github.com/spulec/freezegun)：通过伪造日期模块来生成不同的时间。\r\n    *   [httmock](https://github.com/patrys/httmock)：针对 Python 2.6+ 和 3.2+ 生成 伪造请求的库。\r\n    *   [httpretty](http://falcao.it/HTTPretty/)：Python 的 HTTP 请求 mock 工具。\r\n    *   [responses](https://github.com/getsentry/responses)：伪造 Python 中的 requests 库的一个通用库。\r\n    *   [VCR.py](https://github.com/kevin1024/vcrpy)：在你的测试中记录和重放 HTTP 交互。\r\n    *   [mocket](https://github.com/mindflayer/python-mocket)：gevent/asyncio/SSL 支持的 socket mock 框架。\r\n*   对象工厂\r\n    *   [factoryboy](https://github.com/rbarrois/factoryboy)：一个 Python 用的测试固件 (test fixtures) 替代库。\r\n    *   [mixer](https://github.com/klen/mixer)：另外一个测试固件 (test fixtures) 替代库，支持 Django, Flask, SQLAlchemy, Peewee 等。\r\n    *   [modelmommy](https://github.com/vandersonmota/modelmommy)：为 Django 测试创建随机固件。\r\n*   代码覆盖率\r\n    *   [coverage](https://pypi.python.org/pypi/coverage)：代码覆盖率测量。\r\n    *   [Codecov](https://codecov.io/)：一个代码覆盖率测试工具，为开源项目提供免费代码覆盖率测试服务。\r\n*   伪数据\r\n    *   [faker](http://www.joke2k.net/faker/)：一个 Python 库，用来生成伪数据。\r\n    *   [fake2db](https://github.com/emirozer/fake2db)：伪数据库生成器。\r\n    *   [mimesis](https://github.com/lk-geimfari/mimesis)：一个帮助你生成伪数据的 Python 库。\r\n    *   [radar](https://pypi.python.org/pypi/radar)：生成随机的日期/时间。\r\n*   错误处理\r\n    *   [FuckIt.py](https://github.com/ajalt/fuckitpy)：使用最先进的技术来保证你的 Python 代码无论对错都能继续运行。\r\n\r\n### 渗透测试\r\n\r\n渗透测试相关框架和工具。\r\n\r\n* [fsociety](https://github.com/Manisso/fsociety)：一款渗透测试框架。\r\n* [setoolkit](https://github.com/trustedsec/social-engineer-toolkit)：社会工程工具包。\r\n* [sqlmap](https://github.com/sqlmapproject/sqlmap)：自动 SQL 注入和数据库接管工具。\r\n\r\n### 代码分析和 Lint 工具\r\n\r\n进行代码分析、解析和操作代码库的库和工具。\r\n\r\n*   代码分析\r\n    *   [coala](http://coala-analyzer.org/)：语言独立和易于扩展的代码分析应用程序。\r\n    *   [code2flow](https://github.com/scottrogowski/code2flow)：把你的 Python 和 JavaScript 代码转换为流程图。\r\n    *   [pycallgraph](https://github.com/gak/pycallgraph)：这个库可以把你的 Python 应用的流程(调用图)进行可视化。\r\n    *   [pysonar2](https://github.com/yinwang0/pysonar2)：Python 类型推断和检索工具。\r\n    *   [prospector](https://github.com/PyCQA/prospector)：分析 Python 代码的工具。\r\n    *   [vulture](https://github.com/jendrikseipp/vulture)：用于发现和分析无效 Python 代码的工具。\r\n    \r\n* Lint 工具\r\n  *   [Flake8](https://pypi.python.org/pypi/flake8)：模块化源码检查工具，提供与 `pycodestyle`、`pyflakes` 、McCabe 相关的装饰器。\r\n      * [awesome-flake8-extensions](https://github.com/DmytroLitvinov/awesome-flake8-extensions)\r\n\r\n  *   [Pylint](https://www.pylint.org/)：一个完全可定制的源码分析器。\r\n  *   [YAPF](https://github.com/google/yapf)：Google 的 Python 代码格式化工具。\r\n  *   [pylama](https://pylama.readthedocs.org/en/latest/)：Python 和 JavaScript 的代码审查工具。\r\n  *   [wemake-python-styleguide](https://github.com/wemake-services/wemake-python-styleguide)：有史以来最严格的 Python 代码审查工具。\r\n\r\n*   代码格式化\r\n    *   [autopep8](https://github.com/hhatto/autopep8)：自动格式化 Python 代码，以使其符合 PEP8 规范。\r\n    *   [black](https://github.com/ambv/black)：一个坚定的 Python 代码格式化工具。\r\n    *   [isort](https://github.com/timothycrosley/isort)：用于纠正包导入顺序的 Python 库。\r\n    \r\n*   静态类型检查，也可以参考 [awesome-python-typing](https://github.com/typeddjango/awesome-python-typing)\r\n\r\n    * [mypy](http://mypy-lang.org/)：在编译期间检查变量类型。\r\n    * [pyre-check](https://github.com/facebook/pyre-check)：性能类型检查。\r\n    * [typeshed](https://github.com/python/typeshed)：带有静态类型的Python库存根的集合。\r\n\r\n*   静态类型注释生成器\r\n\r\n    * [MonkeyType](https://github.com/Instagram/MonkeyType)：通过收集运行时的类型来为 Python 生成静态类型注释的系统。\r\n    * [pyannotate](https://github.com/dropbox/pyannotate)：自动生成符合 PEP-484 的注解。\r\n    * [pytype](https://github.com/google/pytype)：检查和推断 Python 代码中的类型，无需添加注解。\r\n\r\n### 调试工具\r\n\r\n用来进行代码调试的库。\r\n\r\n*   调试器\r\n    *   [ipdb](https://pypi.python.org/pypi/ipdb)：IPython 启用的 [pdb](https://docs.python.org/2/library/pdb.html)。\r\n    *   [pudb](https://pypi.python.org/pypi/pudb)：全屏，基于控制台的 Python 调试器。\r\n    *   [pdb++](https://github.com/antocuni/pdb)：另一种 pdb 的替代。\r\n    *   [pyringe](https://github.com/google/pyringe)：可以在 Python 进程中附加和注入代码的调试器。\r\n    *   [wdb](https://github.com/Kozea/wdb)：一个奇异的 web 调试器，通过 WebSockets 工作。\r\n    *   [winpdb](http://winpdb.org/)：一个具有图形用户界面的 Python 调试器，可以进行远程调试，基于 rpdb2。\r\n*   追踪器\r\n    * [lptrace](https://github.com/khamidou/lptrace)：为 Python 程序打造的 [strace](http://man7.org/linux/man-pages/man1/strace.1.html)。\r\n    * [manhole](https://github.com/ionelmc/python-manhole)：调试UNIX套接字连接，并显示所有线程的堆栈跟踪和交互式提示。\r\n    * [pyringe](https://github.com/google/pyringe)：能够附加到 Python 进程并将代码注入Python进程的调试器。\r\n    * [python-hunter](https://github.com/ionelmc/python-hunter)：一个灵活的代码追踪工具包。\r\n\r\n*   性能分析器\r\n    *   [lineprofiler](https://github.com/rkern/lineprofiler)：逐行性能分析。\r\n    *   [Memory Profiler](http://pypi.python.org/pypi/memory_profiler)、[内存](https://github.com/fabianp/memoryprofiler)：监控 Python 代码的内存使用。\r\n    *   [profiling](https://github.com/what-studio/profiling)：一个交互式 Python 性能分析工具。\r\n    *   [py-spy](https://github.com/benfred/py-spy)：Python 程序采样分析器，使用 Rust 实现。\r\n    *   [pyflame](https://github.com/uber/pyflame)：用于 Python 的跟踪分析器。\r\n    *   [vprof](https://github.com/nvdv/vprof)：视觉 Python 分析器。\r\n*   其他\r\n    *   [pyelftools](https://github.com/eliben/pyelftools)：解析和分析 ELF 文件以及 DWARF 调试信息。\r\n    *   [python-statsd](https://github.com/WoLpH/python-statsd)：[statsd](https://github.com/etsy/statsd/) 服务器的 Python 客户端。\r\n    *   [django-debug-toolbar](https://github.com/django-debug-toolbar/django-debug-toolbar)：为 Django 显示各种调试信息。\r\n    *   [django-devserver](https://github.com/dcramer/django-devserver)：一个 Django 运行服务器的替代品。\r\n    *   [flask-debugtoolbar](https://github.com/mgood/flask-debugtoolbar)：django-debug-toolbar 的 flask 版。\r\n    *   [icecream](https://github.com/gruns/icecream)：通过一个简单的函数调用检查变量、表达式和程序执行情况。\r\n\r\n### 科学计算和数据分析\r\n\r\n用来进行科学计算和数据分析的库。\r\n\r\n*   [astropy](http://www.astropy.org/)：一个天文学 Python 库。\r\n*   [bcbio-nextgen](https://github.com/chapmanb/bcbio-nextgen)：这个工具箱为全自动高通量测序分析提供符合最佳实践的处理流程。\r\n*   [bccb](https://github.com/chapmanb/bcbb)：生物分析相关代码集合。\r\n*   [Biopython](http://biopython.org/wiki/MainPage)：Biopython 是一组可以免费使用的用来进行生物计算的工具。\r\n*   [blaze](http://blaze.readthedocs.org/en/latest/index.html)：NumPy 和 Pandas 的大数据接口。\r\n*   [cclib](http://cclib.github.io/)：一个用来解析和解释计算化学软件包输出结果的库。\r\n*   [NetworkX](https://networkx.github.io/)：一个为复杂网络设计的高性能软件。\r\n*   [Neupy](http://neupy.com/pages/home.html)：执行和测试各种不同的人工神经网络算法。\r\n*   [NumPy](http://www.numpy.org/)：使用 Python 进行科学计算的基础包。\r\n*   [Open Babel](http://openbabel.org/wiki/MainPage)：一个化学工具箱，用来描述多种化学数据。\r\n*   [Open Mining](https://github.com/mining/mining)：使用 Python 挖掘商业情报 (BI) (Pandas web 接口)。\r\n*   [orange](http://orange.biolab.si/)：通过可视化编程或 Python 脚本进行数据挖掘，数据可视化，分析和机器学习。\r\n*   [Pandas](http://pandas.pydata.org/)：提供高性能，易用的数据结构和数据分析工具。\r\n*   [PyDy](http://www.pydy.org/)：PyDy 是 Python Dynamics 的缩写，用来为动力学运动建模工作流程提供帮助， 基于 NumPy, SciPy, IPython 和 matplotlib。\r\n*   [PyMC](https://github.com/pymc-devs/pymc3)：马尔科夫链蒙特卡洛采样工具。\r\n*   [RDKit](http://www.rdkit.org/)：化学信息学和机器学习软件。\r\n*   [SciPy](http://www.scipy.org/)：由一些基于 Python ，用于数学，科学和工程的开源软件构成的生态系统。\r\n*   [statsmodels](https://github.com/statsmodels/statsmodels)：统计建模和计量经济学。\r\n*   [SymPy](https://github.com/sympy/sympy)：一个用于符号数学的 Python 库。\r\n*   [zipline](https://github.com/quantopian/zipline)：一个 Python 算法交易库。\r\n*   [Bayesian-belief-networks](https://github.com/eBay/bayesian-belief-networks)：优雅的贝叶斯理念网络框架。\r\n*   [AWS Data Wrangler](https://github.com/awslabs/aws-data-wrangler)：AWS 平台上使用的 Pandas。\r\n*   [Optimus](https://github.com/ironmussa/Optimus)：在使用 PySpark 时，让敏捷数据科学工作流程变得简单。\r\n*   [Colour](http://colour-science.org/)：大量色彩理论转换和算法的实现。\r\n*   [Karate Club](https://github.com/benedekrozemberczki/karateclub)：用于图形结构化数据的无监督机器学习工具箱。\r\n*   [NIPY](http://nipy.org)：神经影响学工具箱集合。\r\n*   [ObsPy](https://github.com/obspy/obspy/wiki/)：地震学 Python 工具箱。\r\n*   [QuTiP](http://qutip.org/)：Python 版 Quantum 工具箱。\r\n*   [SimPy](https://gitlab.com/team-simpy/simpy)：一个基于过程的离散事件模拟框架。\r\n\r\n### 数据可视化\r\n\r\n进行数据可视化的库。 参见：[awesome-javascript](https://github.com/sorrycc/awesome-javascript#data-visualization)。\r\n\r\n*   [matplotlib](http://matplotlib.org/)：一个 Python 2D 绘图库。\r\n*   [bokeh](https://github.com/bokeh/bokeh)：用 Python 进行交互式 web 绘图。\r\n*   [ggplot](https://github.com/yhat/ggplot)：ggplot2 给 R 提供的 API 的 Python 版本。\r\n*   [plotly](https://plot.ly/python/)：协同 Python 和 matplotlib 工作的 web 绘图库。\r\n*   [pyecharts](https://github.com/chenjiandongx/pyecharts)：基于百度 Echarts 的数据可视化库。\r\n*   [pygal](http://www.pygal.org/en/latest/)：一个 Python SVG 图表创建工具。\r\n*   [pygraphviz](https://pypi.python.org/pypi/pygraphviz)：Graphviz 的 Python 接口。\r\n*   [PyQtGraph](http://www.pyqtgraph.org/)：交互式实时 2D/3D/ 图像绘制及科学/工程学组件。\r\n*   [SnakeViz](http://jiffyclub.github.io/snakeviz/)：一个基于浏览器的 Python's cProfile 模块输出结果查看工具。\r\n*   [vincent](https://github.com/wrobstory/vincent)：把 Python 转换为 Vega 语法的转换工具。\r\n*   [VisPy](http://vispy.org/)：基于 OpenGL 的高性能科学可视化工具。\r\n*   [Altair](https://github.com/altair-viz/altair)：用于 Python 的声明式统计可视化库。\r\n*   [bqplot](https://github.com/bloomberg/bqplot)：Jupyter Notebook 的交互式绘图库。\r\n*   [Cartopy](https://github.com/SciTools/cartopy)：具有 matplotlib 支持的 Python 制图库。\r\n*   [Dash](https://plot.ly/products/dash/)：构建在 Flask、React 和 Plotly 之上，旨在用于分析 Web 应用程序。\r\n    * [awesome-dash](https://github.com/Acrotrend/awesome-dash)\r\n*   [diagrams](https://github.com/mingrammer/diagrams)：用图表作为代码。\r\n*   [plotnine](https://github.com/has2k1/plotnine)：基于ggplot2的Python图形语法。\r\n*   [PyGraphviz](https://pypi.org/project/pygraphviz/)： [Graphviz](http://www.graphviz.org/) 的 Python 接口。\r\n*   [Seaborn](https://github.com/mwaskom/seaborn)：使用 Matplotlib 进行统计数据可视化。\r\n\r\n### 计算机视觉\r\n\r\n计算机视觉相关库。\r\n\r\n*   [OpenCV](http://opencv.org/)：开源计算机视觉库。\r\n*   [pyocr](https://github.com/jflesch/pyocr)：Tesseract 和 Cuneiform 的包装库。\r\n*   [pytesseract](https://github.com/madmaze/pytesseract)：[Google Tesseract OCR](https://github.com/tesseract-ocr) 的另一包装库。\r\n*   [SimpleCV](http://simplecv.org/)：一个用来创建计算机视觉应用的开源框架。\r\n*   [EasyOCR](https://github.com/JaidedAI/EasyOCR)：支持40多种语言的即用型 OCR。\r\n*   [Face Recognition](https://github.com/ageitgey/face_recognition)：简单的面部识别库。\r\n*   [Kornia](https://github.com/kornia/kornia/)：PyTorch 的开源差异化计算机视觉库。\r\n*   [tesserocr](https://github.com/sirfz/tesserocr)：另一个简单的，兼容 Pillow 的 `tesseract-ocr` API 装饰器，可用于 OCR。\r\n\r\n### 深度学习\r\n\r\n神经网络和深度学习相关框架。 也可以参考 [awesome-deep-learning](https://github.com/ChristosChristofidis/awesome-deep-learning)。\r\n\r\n*   [Caffe](http://caffe.berkeleyvision.org)：一个 [Caffe](https://github.com/BVLC/caffe) 的 python 接口。\r\n*   [Caffe2](https://caffe2.ai/)：一个轻量级的，模块化的，可扩展的深度学习框架。\r\n*   [keras](https://keras.io/)：以 tensorflow/theano/CNTK 为后端的深度学习封装库，快速上手神经网络。\r\n*   [MXNet](http://mxnet.incubator.apache.org/)：一个高效和灵活的深度学习框架。\r\n*   [Pytorch](http://pytorch.org/)：一个具有张量和动态神经网络，并有强大 GPU 加速能力的深度学习框架。\r\n*   [SerpentAI](https://github.com/SerpentAI/SerpentAI)：游戏代理框架，可使用任意视频游戏作为深度学习沙箱。\r\n*   [Theano](https://github.com/Theano/Theano)：一个快速数值计算库。\r\n*   [TensorFlow](http://tensorflow.org/)：谷歌开源的最受欢迎的深度学习框架。\r\n*   [skflow](https://github.com/tensorflow/skflow)：一个 [TensorFlow](https://github.com/tensorflow/tensorflow) 的简化接口(模仿 scikit-learn)。\r\n*   [hebel](https://github.com/hannes-brt/hebel)：GPU 加速的深度学习库。\r\n*   [pydeep](https://github.com/andersbll/deeppy)：Python 深度学习库。\r\n\r\n### 机器学习\r\n\r\n机器学习相关库，也可以参考 [awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning#python)。\r\n\r\n*   [Crab](https://github.com/muricoca/crab)：灵活、快速的推荐引擎。\r\n*   [NuPIC](https://github.com/numenta/nupic)：智能计算 Numenta 平台。\r\n*   [pattern](https://github.com/clips/pattern)：Python 网络挖掘模块。\r\n*   [PyBrain](https://github.com/pybrain/pybrain)：另一个 Python 机器学习库。\r\n*   [Pylearn2](https://github.com/lisa-lab/pylearn2)：一个基于 [Theano](https://github.com/Theano/Theano) 的机器学习库。\r\n*   [python-recsys](https://github.com/ocelma/python-recsys)：一个用来实现推荐系统的 Python 库。\r\n*   [scikit-learn](http://scikit-learn.org/)：基于 SciPy 构建的机器学习 Python 模块。\r\n*   [vowpalporpoise](https://github.com/josephreisinger/vowpalporpoise)：轻量级 [Vowpal Wabbit](https://github.com/JohnLangford/vowpalwabbit/) 的 Python 封装。\r\n*   [gym](https://github.com/openai/gym)：开发和比较强化学习算法的工具包。\r\n*   [H2O](https://github.com/h2oai/h2o-3)：开源快速可扩展的机器学习平台。\r\n*   [Metrics](https://github.com/benhamner/Metrics)：机器学习的评估指标。\r\n*   [vowpal_porpoise](https://github.com/josephreisinger/vowpal_porpoise)：Python 版 [Vowpal Wabbit](https://github.com/JohnLangford/vowpal_wabbit/) 装饰器。\r\n*   [xgboost](https://github.com/dmlc/xgboost)：可扩展，便携式和分布式梯度提升库。\r\n*   [MindsDB](https://github.com/mindsdb/mindsdb)：MindsDB 是现有数据库的开源 AI 层，可让使用标准查询轻松地进行开发，训练和部署最新的机器学习模型。\r\n\r\n### 推荐系统\r\n\r\n用于构建推荐系统的相关库。\r\n\r\n* [annoy](https://github.com/spotify/annoy)：对 C++/Python 实现的近似近邻算法进行了内存优化。\r\n* [fastFM](https://github.com/ibayer/fastFM)：Factorization Machine 相关库。\r\n* [implicit](https://github.com/benfred/implicit)：对隐式数据集进行协作过滤的快速 Python 实现。\r\n* [libffm](https://github.com/guestwalk/libffm)：Field-aware Factorization Machine (FFM) 相关库。\r\n* [lightfm](https://github.com/lyst/lightfm)：很多流行的推荐算法的 Python 实现。\r\n* [spotlight](https://github.com/maciejkula/spotlight)：使用 PyTorch 实现的深度推荐模型。\r\n* [Surprise](https://github.com/NicolasHug/Surprise)：用于构建和分析推荐系统的科学工具。\r\n* [tensorrec](https://github.com/jfkirk/tensorrec)：TensorFlow 的推荐引擎框架。\r\n\r\n### 分布式计算\r\n\r\n分布式计算相关的框架和库。\r\n\r\n*   [dpark](https://github.com/douban/dpark)：Spark 的 Python 克隆版，一个类似 MapReduce 的框架。\r\n*   [dumbo](https://github.com/klbostee/dumbo)：这个 Python 模块可以让人轻松的编写和运行 Hadoop 程序。\r\n*   [luigi](https://github.com/spotify/luigi)：这个模块帮你构建批处理作业的复杂流水线。\r\n*   [mrjob](https://github.com/Yelp/mrjob)：在 Hadoop 或 Amazon Web Services 上运行 MapReduce 任务。\r\n*   [dask](https://github.com/dask/dask)：用于分析计算的灵活的并行计算库。\r\n*   [PySpark](http://spark.apache.org/docs/latest/programming-guide.html)：Spark 的 Python API 。\r\n*   [Ray](https://github.com/ray-project/ray/)：一个用于并行和分布式 Python 的系统，它统一了机器学习生态系统。\r\n*   [faust](https://github.com/robinhood/faust)：一个 Python 流处理库，核心思想来源 [Kafka Streams](https://kafka.apache.org/documentation/streams/)。\r\n*   [streamparse](https://github.com/Parsely/streamparse)：运行针对事实数据流的 Python 代码。集成了 [Apache Storm](http://storm.apache.org/)。\r\n*   [mars](https://github.com/mars-project/mars)：是基于张量的，用于进行大规模数据计算的统一计算框架。\r\n\r\n### 函数式编程\r\n\r\n使用 Python 进行函数式编程。\r\n\r\n*   [CyToolz](https://github.com/pytoolz/cytoolz/)：Toolz 的 Cython 实现：高性能函数式工具。\r\n*   [fn.py](https://github.com/kachayev/fn.py)：在 Python 中进行函数式编程：实现了一些享受函数式编程缺失的功能。\r\n*   [funcy](https://github.com/Suor/funcy)：炫酷又实用的函数式工具。\r\n*   [Toolz](https://github.com/pytoolz/toolz)：一组用于迭代器，函数和字典的函数式编程工具。\r\n*   [Coconut](https://github.com/evhub/coconut)：为了简单、优雅、更 Pythonic 的函数式编程而构建的 Python 变体。\r\n*   [more-itertools](https://github.com/erikrose/more-itertools)：比 `itertools` 拥有更多的可迭代对象的操作方式。\r\n*   [returns](https://github.com/dry-python/returns)：一个类型安全的单元、转换器与合成工具集合。\r\n\r\n### 第三方 API\r\n\r\n用来访问第三方 API 的库。 参见： [List of Python API Wrappers and Libraries](https://github.com/realpython/list-of-python-api-wrappers)。\r\n\r\n*   [apache-libcloud](https://libcloud.apache.org/)：一个为各种云设计的 Python 库。\r\n*   [boto3](https://github.com/boto/boto3)：Amazon Web Services 的 Python 接口。\r\n*   [django-wordpress](https://github.com/sunlightlabs/django-wordpress/)：Django 的 WordPress 模型与视图。\r\n*   [facebook-sdk](https://github.com/mobolic/facebook-sdk)：Facebook 平台的 Python SDK。\r\n*   [facepy](https://github.com/jgorset/facepy)：Facepy 让和 Facebook's Graph API 的交互变得更容易。\r\n*   [gmail](https://github.com/charlierguo/gmail)：Gmail 的 Python 接口。\r\n*   [google-api-python-client](https://github.com/google/google-api-python-client)：Python 用的 Google APIs 客户端库。\r\n*   [gspread](https://github.com/burnash/gspread)：Google 电子表格的 Python API。\r\n*   [twython](https://github.com/ryanmcgrath/twython)：Twitter API 的封装。\r\n\r\n### DevOps 工具\r\n\r\n用于 DevOps 的软件和库。\r\n\r\n*   [Ansible](https://github.com/ansible/ansible)：一个非常简单的 IT 自动化平台。\r\n*   [SaltStack](https://github.com/saltstack/salt)：基础设施自动化和管理系统。\r\n*   [OpenStack](http://www.openstack.org/)：用于构建私有和公有云的开源软件。\r\n*   [Docker Compose](https://docs.docker.com/compose/)：快速，分离的开发环境，使用 Docker。\r\n*   [Fabric](http://www.fabfile.org/)：一个简单的，Python 风格的工具，用来进行远程执行和部署。\r\n*   [cuisine](https://github.com/sebastien/cuisine)：为 Fabric 提供一系列高级函数。\r\n*   [Fabtools](https://github.com/ronnix/fabtools)：一个用来编写超赞的 Fabric 文件的工具。\r\n*   [gitapi](https://bitbucket.org/haard/gitapi)：Git 的纯 Python API。\r\n*   [hgapi](https://bitbucket.org/haard/hgapi)：Mercurial 的纯 Python API。\r\n*   [honcho](https://github.com/nickstenning/honcho)：[Foreman](https://github.com/ddollar/foreman) 的 Python 克隆版，用来管理基于 [Procfile](https://devcenter.heroku.com/articles/procfile) 的应用。\r\n*   [pexpect](https://github.com/pexpect/pexpect)：在一个伪终端中控制交互程序，就像 GNU expect 一样。\r\n*   [psutil](https://github.com/giampaolo/psutil)：一个跨平台进程和系统工具模块。\r\n*   [supervisor](https://github.com/Supervisor/supervisor)：UNIX 的进程控制系统。\r\n*   [cloudinit](https://cloudinit.readthedocs.io/en/latest/)：一个多分发包，用于处理云实例的早期初始化。\r\n*   [pyinfra](https://github.com/Fizzadar/pyinfra)：一个通用的 CLI 工具包和 python 库，用于自动化的基础设施。\r\n*   [honcho](https://github.com/nickstenning/honcho)：[Foreman](https://github.com/ddollar/foreman) 的 Python 克隆版，用于管理基于 Procfile 的应用。\r\n*   [BorgBackup](https://www.borgbackup.org/)：具有压缩和加密功能的重复数据删除存档器。\r\n*   [docker-compose](https://docs.docker.com/compose/)： 使用 [Docker](https://www.docker.com/) 的快速独立的开发环境。\r\n\r\n### 任务调度\r\n\r\n任务调度库。\r\n\r\n*   [APScheduler](http://apscheduler.readthedocs.org/en/latest/)：轻巧但强大的进程内任务调度，使你可以调度函数。\r\n*   [django-schedule](https://github.com/thauber/django-schedule)：一个 Django 排程应用。\r\n*   [doit](http://pydoit.org/)：一个任务执行和构建工具。\r\n*   [gunnery](https://github.com/gunnery/gunnery)：分布式系统使用的多用途任务执行工具 ，具有 web 交互界面。\r\n*   [Joblib](http://pythonhosted.org/joblib/index.html)：一组为 Python 提供轻量级作业流水线的工具。\r\n*   [Plan](https://github.com/fengsp/plan)：如有神助地编写 crontab 文件。\r\n*   [schedule](https://github.com/dbader/schedule)：人性化的 Python 任务调度库。\r\n*   [Spiff](https://github.com/knipknap/SpiffWorkflow)：使用纯 Python 实现的强大的工作流引擎。\r\n*   [TaskFlow](http://docs.openstack.org/developer/taskflow/)：一个可以让你方便执行任务的 Python 库，一致并且可靠。\r\n*   [Airflow](https://airflow.apache.org/) ：是一个工作流分配管理系统，通过有向非循环图的方式管理任务流程，设置任务依赖关系和时间调度。\r\n*   [Prefect](https://github.com/PrefectHQ/prefect)：一个现代的工作流程编排框架，使构建、计划和监视健壮的数据管道变得容易。\r\n\r\n### 外来函数接口\r\n\r\n使用外来函数接口的库。\r\n\r\n*   [cffi](https://pypi.python.org/pypi/cffi)：用来调用 C 代码的外来函数接口。\r\n*   [ctypes](https://docs.python.org/2/library/ctypes.html)：(Python 标准库) 用来调用 C 代码的外来函数接口。\r\n*   [PyCUDA](https://mathema.tician.de/software/pycuda/)：Nvidia CUDA API 的封装。\r\n*   [SWIG](http://www.swig.org/Doc1.3/Python.html)：简化的封装和接口生成器。\r\n\r\n### 重构\r\n\r\nPython 重构相关库和工具。\r\n\r\n * [Bicycle Repair Man](http://bicyclerepair.sourceforge.net/)：Python 的重构工具。\r\n * [Bowler](https://pybowler.io/)：适用于现代Python的安全代码重构。\r\n * [Rope](https://github.com/python-rope/rope)：一个 Python 的重构库。\r\n\r\n### 高性能\r\n\r\n让 Python 更快的库。\r\n\r\n*   [Cython](http://cython.org/)：优化的 Python 静态编译器。使用类型混合使 Python 编译成 C 或 C++ 模块来获得性能的极大提升。\r\n*   [CLPython](https://github.com/metawilm/cl-python)：用 Common Lisp 编写的 Python 编程语言的实现。\r\n*   [Grumpy](https://github.com/google/grumpy)：编译器比解释器更强大的 cpython2.7 替代品（alpha）。 \r\n*   [IronPython](https://github.com/IronLanguages/ironpython3)：用 C＃ 编写的 Python 编程语言的实现。\r\n*   [Jython](https://hg.python.org/jython)：为 JVM 用 Java 编写的 Python 编程语言的实现。\r\n*   [MicroPython](https://github.com/micropython/micropython)：精简高效的 Python 编程语言实现。\r\n*   [Pyjion](https://github.com/Microsoft/Pyjion)：基于 CoreCLR 的 Python JIT。\r\n*   [Numba](http://numba.pydata.org/)：Python JIT (just in time) 编译器，针对科学用的 Python ，由 Cython 和 NumPy 的开发者开发。\r\n*   [PeachPy](https://github.com/Maratyszcza/PeachPy)：嵌入 Python 的 x86-64 汇编器。可以被用作 Python 内联的汇编器或者是独立的汇编器，用于 Windows，Linux，OS X，Native Client 或者 Go 。\r\n*   [PyPy](http://pypy.org/)：使用 Python 实现的 Python。解释器使用黑魔法加快 Python 运行速度且不需要加入额外的类型信息。\r\n*   [Pyston](https://github.com/dropbox/pyston)：使用 LLVM 和现代 JIT 技术构建的 Python 实现，目标是为了获得很好的性能。\r\n*   [Stackless Python](https://bitbucket.org/stackless-dev/stackless/overview)：一个强化版的 Python。\r\n\r\n### 微软的 Windows 平台\r\n\r\n在 Windows 平台上进行 Python 编程。\r\n\r\n*   [Python(x,y)](http://python-xy.github.io/)：面向科学应用的 Python 发行版，基于 Qt 和 Spyder。\r\n*   [pythonlibs](http://www.lfd.uci.edu/~gohlke/pythonlibs/)：非官方的 Windows 平台 Python 扩展二进制包。\r\n*   [PythonNet](https://github.com/pythonnet/pythonnet)：Python 与 .NET 公共语言运行库 (CLR)的集成。\r\n*   [PyWin32](https://sourceforge.net/projects/pywin32/)：针对 Windows 的 Python 扩展。\r\n*   [WinPython](https://winpython.github.io/)：Windows 7/8 系统下便携式开发环境。\r\n\r\n### 网络可视化和 SDN\r\n\r\n用来进行网络可视化和 SDN(软件定义网络)的工具和库。\r\n\r\n*   [Mininet](http://mininet.org/)：一款流行的网络模拟器以及用 Python 编写的 API。\r\n*   [POX](https://github.com/noxrepo/pox)：一个针对基于 Python 的软件定义网络应用（例如 OpenFlow SDN 控制器）的开源开发平台。\r\n*   [Pyretic](http://frenetic-lang.org/pyretic/)：火热的 SDN 编程语言中的一员，为网络交换机和模拟器提供强大的抽象能力。\r\n*   [SDX Platform](https://github.com/sdn-ixp/internet2award)：基于 SDN 的 IXP 实现，影响了 Mininet, POX 和 Pyretic。\r\n*   [NRU](http://ryu.readthedocs.io/en/latest/)：一个基于组件的软件定义网络框架。\r\n*   [napalm](https://github.com/napalm-automation/napalm)：可跨供应商 API 来操纵网络设备。\r\n\r\n### 硬件\r\n\r\n用来对硬件进行编程的库。\r\n\r\n*   [ino](http://inotool.org/)：操作 [Arduino](https://www.arduino.cc/) 的命令行工具。\r\n*   [Pyro](http://pyrorobotics.com/)：Python 机器人编程库。\r\n*   [PyUserInput](https://github.com/SavinaRoja/PyUserInput)：跨平台的，控制鼠标和键盘的模块。\r\n*   [scapy](https://github.com/secdev/scapy)：一个非常棒的操作数据包的库。\r\n*   [wifi](https://wifi.readthedocs.org/en/latest/)：一个 Python 库和命令行工具用来在 Linux 平台上操作 WiFi。\r\n*   [Pingo](http://www.pingo.io/)：Pingo 为类似 Raspberry Pi，pcDuino， Intel Galileo 等设备提供统一的 API 用以编程。\r\n*   [keyboard](https://github.com/boppreh/keyboard)：在 Windows 和 Linux 上挂钩并模拟全局键盘事件。\r\n*   [mouse](https://github.com/boppreh/mouse)：在 Windows 和 Linux 上挂钩并模拟全局鼠标事件。\r\n\r\n### 兼容性\r\n\r\n帮助从 Python 2 向 Python 3 迁移的库。\r\n\r\n*   [Python-Future](http://python-future.org/index.html)：这就是 Python 2 和 Python 3 之间丢失的那个兼容性层。\r\n*   [Six](https://pypi.python.org/pypi/six)：Python 2 和 3 的兼容性工具。\r\n*   [modernize](https://github.com/PyCQA/modernize)：使 Python 代码更加现代化以便最终迁移到 Python 3。\r\n\r\n### 算法和设计模式\r\n\r\n数据结构、算法和设计模式的 Python 实现。也可以参考 [awesome-algorithms](https://github.com/tayllan/awesome-algorithms) 。\r\n\r\n* 算法\r\n  * [algorithms](https://github.com/keon/algorithms)：数据结构和算法的简单示例。\r\n  * [python-ds](https://github.com/prabhupant/python-ds)：用于面试的数据结构和算法的集合。\r\n  * [sortedcontainers](https://github.com/grantjenks/python-sortedcontainers)：排序集合的快速的纯 Python 实现。\r\n  * [TheAlgorithms](https://github.com/TheAlgorithms/Python)：所有算法的 Python 实现。\r\n* 设计模式\r\n  * [PyPattyrn](https://github.com/tylerlaberge/PyPattyrn)：一个简单而有效的库，用于实现常见的设计模式。\r\n  * [python-patterns](https://github.com/faif/python-patterns)：一个 Python 设计模式集合。\r\n  * [transitions](https://github.com/pytransitions/transitions)：轻量级的，面向对象的有限状态机实现。\r\n  \r\n  \r\n\r\n### 内置类的增强版实现\r\n\r\n一些 Python 内置类的增强版实现库。\r\n\r\n* [attrs](https://github.com/python-attrs/attrs)：一个在类定义时可替换 `__init__`, `__eq__`, `__repr__`等方法的样板。\r\n* [bidict](https://github.com/jab/bidict)：高效的 Pythonic 的双向映射数据结构和相关功能。\r\n* [Box](https://github.com/cdgriffith/Box)：具有高级点符号访问权限的 Python 字典。\r\n* [dataclasses](https://docs.python.org/3/library/dataclasses.html)：(Python 标准库) 数据类。\r\n* [DottedDict](https://github.com/carlosescri/DottedDict)：提供一种使用点路径符号访问列表和字典的方法的库。\r\n\r\n### 机器人\r\n\r\n机器人相关库。\r\n\r\n* [PythonRobotics](https://github.com/AtsushiSakai/PythonRobotics)：各种具有可视化效果的机器人算法的汇总。\r\n* [rospy](http://wiki.ros.org/rospy)：ROS (Robot Operating System) 库。\r\n\r\n### 聊天工具\r\n\r\n聊天机器人开发相关的库。\r\n\r\n* [errbot](https://github.com/errbotio/errbot/)：实现 ChatOps 的最简单最受欢迎的聊天机器人。\r\n\r\n### 编辑器插件和 IDE\r\n\r\n* Emacs\r\n  * [elpy](https://github.com/jorgenschaefer/elpy)：Emacs Python 开发环境。\r\n* Sublime Text\r\n  * [anaconda](https://github.com/DamnWidget/anaconda)：Anaconda 可将功能齐全的 Python 开发 IDE 转换为 Sublime Text 3。\r\n  * [SublimeJEDI](https://github.com/srusskih/SublimeJEDI)：一个很棒的自动补全库 Jedi 的Sublime Text 插件。\r\n* Vim\r\n  * [jedi-vim](https://github.com/davidhalter/jedi-vim)：用于 Python 的 Jedi 自动补全库的 Vim 绑定。\r\n  * [python-mode](https://github.com/python-mode/python-mode)：一个将 Vim 转换为 Python IDE 的多合一插件。\r\n  * [YouCompleteMe](https://github.com/Valloric/YouCompleteMe)：包含 Jedi 补全的 Python 引擎。\r\n* Visual Studio\r\n  * [PTVS](https://github.com/Microsoft/PTVS)：Visual Studio Python 工具。\r\n* Visual Studio Code\r\n  * [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)：对 Python 有丰富支持的官方 VSCode 扩展。\r\n* IDE\r\n  * [PyCharm](https://www.jetbrains.com/pycharm/)：JetBrains 提供的商业 Python IDE，也有免费的社区版。\r\n  * [spyder](https://github.com/spyder-ide/spyder)： 开源 Python IDE。\r\n\r\n### 企业级应用集成\r\n\r\n企业级环境中用于集成的平台与工具。\r\n\r\n* [Zato](https://zato.io)：ESB, SOA, REST, APIs 以及云的 Python 整合。\r\n\r\n### GraphQL\r\n\r\nGraphQL 相关库。\r\n\r\n* [graphene](https://github.com/graphql-python/graphene/)：Python GraphQL 框架。\r\n* [tartiflette-aiohttp](https://github.com/tartiflette/tartiflette-aiohttp/)：Tartiflette 的基于 aiohttp 的装饰器，用于通过 HTTP 公开 GraphQL API。\r\n* [tartiflette-asgi](https://github.com/tartiflette/tartiflette-asgi/)：Tartiflette GraphQL 引擎的 ASGI 支持。\r\n* [tartiflette](https://tartiflette.io)：支持 Python 3.6+ 和 asyncio 的 SDL 优先的 GraphQL 引擎实现。\r\n\r\n### 股票金融\r\n- [QUANTAXIS](https://github.com/QUANTAXIS/QUANTAXIS)：支持任务调度，分布式部署的股票/期货/期权/港股/虚拟货币的数据/回测/模拟/交易/可视化/多账户纯本地量化解决方案\r\n- [abu](https://github.com/bbfamily/abu): 基于python的开源量化交易，量化投资架构\r\n- [Hikyuu Quant](https://github.com/fasiondog/hikyuu)：基于C++/Python的开源量化交易研究框架，用于策略分析及回测（仅受限于数据，如有数据也可用于期货等）\r\n- [vnpy](https://github.com/vnpy/vnpy)：基于Python的开源量化交易系统开发框架，整合了多种交易接口，并针对具体策略算法和功能开发提供了简洁易用的API，用于快速构建交易员所需的量化交易应用\r\n\r\n### 杂项\r\n\r\n不属于上面任何一个类别，但是非常有用的库。\r\n\r\n*   [blinker](https://github.com/jek/blinker)：快速的 Python 运行时信号/事件分配系统。\r\n*   [boltons](https://github.com/mahmoud/boltons)：一组纯 Python 实用工具。\r\n*   [itsdangerous](https://github.com/pallets/itsdangerous)：将受信任的数据传递到不受信任的环境的帮助工具。\r\n*   [magenta](https://github.com/magenta/magenta)：使用人工智能生成音乐与艺术的工具。\r\n*   [pluginbase](https://github.com/mitsuhiko/pluginbase)：一个简单但灵活的 Python 插件系统。\r\n*   [tryton](http://www.tryton.org/)：一个通用业务框架。\r\n","created_at":"2024-01-06T20:24:56.551Z","updated_at":"2026-03-28T00:00:30.961Z","primary_language":"Python","list_of_lists":false,"displayable":true,"categories":["资源列表","Uncategorized"],"sub_categories":["数据可视化","代码分析和 Lint 工具","Web 框架","机器学习","深度学习","算法和设计模式","ORM","交互式解析器","编辑器插件和 IDE","图形用户界面","管理面板","网络","内置类的增强版实现","CMS","命令行工具","并发和并行","密码学","科学计算和数据分析","数据库驱动","日期和时间","DevOps 工具","分发","外来函数接口","游戏开发","地理位置","HTML 处理","硬件","图像处理","高性能","任务调度","日志","微软的 Windows 平台","杂项","自然语言处理","包管理","重构","RESTful API","机器人","搜索","模板引擎","测试","第三方 API","Web 资源管理","数据库","计算机视觉","文本处理","网络可视化和 SDN","环境管理","包仓库","构建工具","文件","特殊文本格式处理","配置","OCR","音频","电子商务","队列","缓存","电子邮件","国际化","表单","静态站点生成器","WSGI 服务器","RPC 服务器","调试工具","分布式计算","HTTP","Uncategorized","企业级应用集成","股票金融","Serverless 框架","ASGI 服务器","验证","动态消息","推荐系统","函数式编程","渗透测试","数据验证","进程","WebSocket","权限","序列化","网页内容提取","下载器","文档","Video","反垃圾技术","URL 处理","兼容性","标记","GraphQL","聊天工具"],"projects_url":"https://awesome.ecosyste.ms/api/v1/lists/jobbole%2Fawesome-python-cn/projects"}