[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10195":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},10195,"awesome-python-cn","jobbole\u002Fawesome-python-cn","jobbole","Python资源大全中文版，包括：Web框架、网络爬虫、模板引擎、数据库、数据可视化、图片处理等，由「开源前哨」和「Python开发者」微信公号团队维护更新。","http:\u002F\u002Fjobbole.github.io\u002Fawesome-python-cn\u002F",null,"Makefile",30429,7960,2056,20,0,1,17,57,10,45,"Other",false,"master",true,[27],"python","2026-06-12 02:02:18","# Python 资源大全中文版 \r\n\r\n[awesome-python](https:\u002F\u002Fgithub.com\u002Fvinta\u002Fawesome-python) 是 vinta 发起维护的 Python 资源列表，内容包括：Web 框架、网络爬虫、网络内容提取、模板引擎、数据库、数据可视化、图片处理、文本处理、自然语言处理、机器学习、日志、代码分析等。由「开源前哨」和「Python开发者」微信公号团队维护更新。\r\n\r\n\r\n### 本项目的参与者\r\n\r\n- 维护者：[「开源前哨」和「Python开发者」微信公号团队](https:\u002F\u002Fgithub-1255921244.cos.ap-nanjing.myqcloud.com\u002Fawesome-python-cn.png)。「开源前哨」会定期在知乎专栏分享最新、有趣和热门的开源项目，每个项目都有详细的介绍和示例。传送门：\u003Chttps:\u002F\u002Fwww.zhihu.com\u002Fcolumn\u002Fc_1317124962785062912>\r\n\r\n- 贡献者：[唐尤华](https:\u002F\u002Fgithub.com\u002Forgs\u002Fjobbole\u002Fpeople\u002Ftangyouhua)、[qtvspa](https:\u002F\u002Fgithub.com\u002Fqtvspa)、[艾凌风](https:\u002F\u002Fgithub.com\u002Fhanxiaomax)、Namco、[Daetalus](https:\u002F\u002Fgithub.com\u002FDaetalus)、黄利民、atupal、rainbow、[木头lbj](https:\u002F\u002Fgithub.com\u002Fmutoulbj)、beyondwu、[cissoid](https:\u002F\u002Fgithub.com\u002Fcissoid)、[李广胜](https:\u002F\u002Fgithub.com\u002Fliguangsheng)、[polyval](https:\u002F\u002Fgithub.com\u002Fpolyval)、冰斌、赵叶宇、л stalgic、硕恩、[strongit](https:\u002F\u002Fgithub.com\u002Fstrongit)、yuukilp、[chenjiandongx](https:\u002F\u002Fgithub.com\u002Fchenjiandongx)、[autopenguin](https:\u002F\u002Fgithub.com\u002Fautopenguin)、[visonforcoding](https:\u002F\u002Fgithub.com\u002Fvisonforcoding)、[Super赛亚人](https:\u002F\u002Fgithub.com\u002FNo-96)、[Since-future](https:\u002F\u002Fgithub.com\u002FSince-future)、[knktc](https:\u002F\u002Fgithub.com\u002Fknktc)、[zhucebuliaopx](https:\u002F\u002Fgithub.com\u002Fzhucebuliaopx)、[wardseptember](https:\u002F\u002Fgithub.com\u002Fwardseptember)、[vmp65l3](https:\u002F\u002Fgithub.com\u002Fvmp65l3)、[JiaxingZhao](https:\u002F\u002Fgithub.com\u002FJiaxingZhao)、[zhtyyx](https:\u002F\u002Fgithub.com\u002Fzhtyyx)、[Lynn Cao](https:\u002F\u002Fgithub.com\u002Fcaolincn)、[River](https:\u002F\u002Fgithub.com\u002Flihuafengzi)、You\r\n\r\n注：名单不分排名，不定期补充更新\r\n\r\n## 资源列表\r\n\r\n### 环境管理\r\n\r\n管理 Python 版本和环境的工具\r\n\r\n*   [p](https:\u002F\u002Fgithub.com\u002Fqw3rtman\u002Fp)：非常简单的交互式 Python 版本管理工具。\r\n*   [pyenv](https:\u002F\u002Fgithub.com\u002Fyyuu\u002Fpyenv)：简单的 Python 版本管理工具。\r\n*   [Vex](https:\u002F\u002Fgithub.com\u002Fsashahart\u002Fvex)：可以在虚拟环境中执行命令。\r\n*   [virtualenv](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fvirtualenv)：创建独立 Python 环境的工具。\r\n*   [virtualenvwrapper](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fvirtualenvwrapper)：virtualenv 的一组扩展。\r\n*   [buildout](http:\u002F\u002Fwww.buildout.org\u002Fen\u002Flatest)：在隔离环境初始化后使用声明性配置管理。\r\n\r\n### 包管理\r\n\r\n管理包和依赖的工具。\r\n\r\n*   [pip](https:\u002F\u002Fpip.pypa.io\u002F)：Python 包和依赖关系管理工具。\r\n*   [pip-tools](https:\u002F\u002Fgithub.com\u002Fnvie\u002Fpip-tools)：保证 Python 包依赖关系更新的一组工具。\r\n*   [PyPI](https:\u002F\u002Fpypi.org\u002F)：Python 正式的第三方包软件存储库。\r\n*   [pipenv](https:\u002F\u002Fgithub.com\u002Fpypa\u002Fpipenv)：Python 官方推荐的新一代包管理工具。\r\n*   [poetry](https:\u002F\u002Fpoetry.eustace.io)：可完全取代 setup.py 的包管理工具。\r\n*   [conda](https:\u002F\u002Fgithub.com\u002Fconda\u002Fconda\u002F)：跨平台的 Python 二进制包管理工具。\r\n*   [Curdling](http:\u002F\u002Fclarete.li\u002Fcurdling\u002F)：管理 Python 包的命令行工具。\r\n*   [wheel](http:\u002F\u002Fpythonwheels.com\u002F)：Python 分发的新标准，意在取代 eggs。\r\n\r\n### 包仓库\r\n\r\n本地 PyPI 仓库服务和代理。\r\n\r\n*   [warehouse](https:\u002F\u002Fgithub.com\u002Fpypa\u002Fwarehouse)：下一代 PyPI。\r\n*   [bandersnatch](https:\u002F\u002Fbitbucket.org\u002Fpypa\u002Fbandersnatch)：PyPA 提供的 PyPI 镜像工具。\r\n*   [devpi](http:\u002F\u002Fdoc.devpi.net\u002F)：PyPI 服务和打包\u002F测试\u002F分发工具。\r\n*   [localshop](https:\u002F\u002Fgithub.com\u002Fmvantellingen\u002Flocalshop)：本地 PyPI 服务（自定义包并且自动对 PyPI 镜像）。\r\n\r\n### 分发\r\n\r\n打包为可执行文件以便分发。\r\n\r\n*   [PyInstaller](https:\u002F\u002Fgithub.com\u002Fpyinstaller\u002Fpyinstaller)：将 Python 程序转换成独立的执行文件（跨平台）。\r\n*   [cx_Freeze](https:\u002F\u002Fcx-freeze.readthedocs.io\u002Fen\u002Flatest\u002Findex.html)：将python程序转换为带有一个动态链接库的可执行文件。\r\n*   [dh-virtualenv](http:\u002F\u002Fdh-virtualenv.readthedocs.org\u002F)：构建并将 virtualenv 虚拟环境作为一个 Debian 包来发布。\r\n*   [Nuitka](http:\u002F\u002Fnuitka.net\u002F)：将脚本、模块、包编译成可执行文件或扩展模块。\r\n*   [py2app](http:\u002F\u002Fpythonhosted.org\u002Fpy2app\u002F)：将 Python 脚本变为独立软件包（Mac OS X）。\r\n*   [py2exe](http:\u002F\u002Fwww.py2exe.org\u002F)：将 Python 脚本变为独立软件包（Windows）。\r\n*   [pynsist](http:\u002F\u002Fpynsist.readthedocs.org\u002F)：一个用来创建 Windows 安装程序的工具，可以在安装程序中打包 Python 本身。\r\n*   [pyarmor](https:\u002F\u002Fgithub.com\u002Fdashingsoft\u002Fpyarmor)：一个用于加密 python 脚本的工具，也可以将加密后的脚本绑定到固件上，或设置已加密脚本的有效期。\r\n*   [shiv](https:\u002F\u002Fgithub.com\u002Flinkedin\u002Fshiv)：一个命令行工具，可用于构建完全独立的 zip 应用（PEP 441 所描述的那种），同时包含了所有的依赖项。\r\n\r\n### 构建工具\r\n\r\n将源码编译成软件。\r\n\r\n*   [buildout](http:\u002F\u002Fwww.buildout.org\u002F)：一个构建系统，从多个组件来创建，组装和部署应用。\r\n*   [BitBake](http:\u002F\u002Fwww.yoctoproject.org\u002Fdocs\u002F1.6\u002Fbitbake-user-manual\u002Fbitbake-user-manual.html)：针对嵌入式 Linux 的类似 make 的构建工具。\r\n*   [fabricate](https:\u002F\u002Fcode.google.com\u002Farchive\u002Fp\u002Ffabricate)：对任何语言自动找到依赖关系的构建工具。\r\n*   [PlatformIO](https:\u002F\u002Fgithub.com\u002Fplatformio\u002Fplatformio)：多平台命令行构建工具。\r\n*   [PyBuilder](https:\u002F\u002Fgithub.com\u002Fpybuilder\u002Fpybuilder)：纯 Python 实现的持续化构建工具。\r\n*   [SCons](http:\u002F\u002Fwww.scons.org\u002F)：软件构建工具。\r\n\r\n### 交互式解析器\r\n\r\n交互式 Python 解析器。\r\n\r\n*   [IPython](https:\u002F\u002Fgithub.com\u002Fipython\u002Fipython)：功能丰富的工具，非常有效的使用交互式 Python。\r\n*   [bpython](https:\u002F\u002Fgithub.com\u002Fbpython\u002Fbpython)：界面丰富的 Python 解析器。\r\n*   [ptpython](https:\u002F\u002Fgithub.com\u002Fjonathanslenders\u002Fptpython)：高级交互式 Python 解析器， 构建于 [python-prompt-toolkit](https:\u002F\u002Fgithub.com\u002Fjonathanslenders\u002Fpython-prompt-toolkit) 之上。\r\n*   [Jupyter Notebook (IPython)](https:\u002F\u002Fjupyter.org)：一个能够让你最大限度地以交互式方式使用 Python 的丰富工具包。\r\n    * [awesome-jupyter](https:\u002F\u002Fgithub.com\u002Fmarkusschanta\u002Fawesome-jupyter)\r\n\r\n### 文件\r\n\r\n文件管理和 MIME（多用途的网际邮件扩充协议）类型检测。\r\n\r\n*   [aiofiles](https:\u002F\u002Fgithub.com\u002FTinche\u002Faiofiles)：基于 asyncio，提供文件异步操作。\r\n*   [imghdr](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fimghdr.html)：（Python 标准库）检测图片类型。\r\n*   [mimetypes](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fmimetypes.html)：（Python 标准库）将文件名映射为 MIME 类型。\r\n*   [path.py](https:\u002F\u002Fgithub.com\u002Fjaraco\u002Fpath.py)：对 os.path 进行封装的模块。\r\n*   [pathlib](https:\u002F\u002Fpathlib.readthedocs.org\u002Fen\u002Fpep428\u002F)：（Python3.4+ 标准库）跨平台的、面向对象的路径操作库。\r\n*   [python-magic](https:\u002F\u002Fgithub.com\u002Fahupp\u002Fpython-magic)：文件类型检测的第三方库 libmagic 的 Python 接口。\r\n*   [Unipath](https:\u002F\u002Fgithub.com\u002Fmikeorr\u002FUnipath)：用面向对象的方式操作文件和目录。\r\n*   [watchdog](https:\u002F\u002Fgithub.com\u002Fgorakhargosh\u002Fwatchdog)：管理文件系统事件的 API 和 shell 工具。\r\n*   [PyFilesystem2](https:\u002F\u002Fgithub.com\u002Fpyfilesystem\u002Fpyfilesystem2)：Python 的文件系统抽象层。\r\n\r\n### 日期和时间\r\n\r\n操作日期和时间的类库。\r\n\r\n*   [arrow](https:\u002F\u002Fgithub.com\u002Fcrsmithdev\u002Farrow)：更好的 Python 日期时间操作类库。\r\n*   [Chronyk](https:\u002F\u002Fgithub.com\u002FKoffeinFlummi\u002FChronyk)：Python 3 的类库，用于解析手写格式的时间和日期。\r\n*   [dateutil](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpython-dateutil)：Python datetime 模块的扩展。\r\n*   [delorean](https:\u002F\u002Fgithub.com\u002Fmyusuf3\u002Fdelorean\u002F)：解决 Python 中有关日期处理的棘手问题的库。\r\n*   [maya](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Fmaya)：人性化的时间处理库。\r\n*   [pendulum](https:\u002F\u002Fgithub.com\u002Fsdispater\u002Fpendulum)：一个比 arrow 更具有明确的，可预测的行为的时间操作库。\r\n*   [PyTime](https:\u002F\u002Fgithub.com\u002Fshinux\u002FPyTime)：一个简单易用的 Python 模块，用于通过字符串来操作日期\u002F时间。\r\n*   [pytz](https:\u002F\u002Flaunchpad.net\u002Fpytz)：现代以及历史版本的世界时区定义。将时区数据库引入 Python。\r\n*   [when.py](https:\u002F\u002Fgithub.com\u002Fdirn\u002FWhen.py)：提供用户友好的函数来帮助用户进行常用的日期和时间操作。\r\n*   [dateutil](https:\u002F\u002Fgithub.com\u002Fdateutil\u002Fdateutil)：Python 标准包 [datetime](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fdatetime.html) 的扩展。\r\n*   [moment](https:\u002F\u002Fgithub.com\u002Fzachwill\u002Fmoment)：一个处理日期\u002F时间的库，灵感来自 [Moment.js](http:\u002F\u002Fmomentjs.com\u002F)。\r\n*   [pytz](https:\u002F\u002Flaunchpad.net\u002Fpytz)：支持跨平台时区计算，并将 [tz database](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FTz_database) 引入 Python。\r\n\r\n### 文本处理\r\n\r\n用于解析和操作文本的库。\r\n\r\n*   通用\r\n    *   [chardet](https:\u002F\u002Fgithub.com\u002Fchardet\u002Fchardet)：字符编码检测器，兼容 Python 2 和 Python 3。\r\n    *   [difflib](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fdifflib.html)：(Python 标准库)帮助我们进行差异化比较。\r\n    *   [ftfy](https:\u002F\u002Fgithub.com\u002FLuminosoInsight\u002Fpython-ftfy)：让 Unicode 文本更完整更连贯。\r\n    *   [thefuzz](https:\u002F\u002Fgithub.com\u002Fseatgeek\u002Fthefuzz)：模糊字符串匹配。\r\n    *   [Levenshtein](https:\u002F\u002Fgithub.com\u002Fztane\u002Fpython-Levenshtein\u002F)：快速计算编辑距离以及字符串的相似度。\r\n    *   [pangu.py](https:\u002F\u002Fgithub.com\u002Fvinta\u002Fpangu.py)：在中日韩语字符和数字字母之间添加空格。\r\n    *   [pypinyin](https:\u002F\u002Fgithub.com\u002Fmozillazg\u002Fpython-pinyin)：汉字拼音转换工具 Python 版。\r\n    *   [shortuuid](https:\u002F\u002Fgithub.com\u002Fstochastic-technologies\u002Fshortuuid)：一个生成器库，用以生成简洁的，明白的，URL 安全的 UUID。\r\n    *   [simplejson](https:\u002F\u002Fgithub.com\u002Fsimplejson\u002Fsimplejson)：Python 的 JSON 编码、解码器。\r\n    *   [unidecode](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002FUnidecode)：Unicode 文本的 ASCII 转换形式 。\r\n    *   [uniout](https:\u002F\u002Fgithub.com\u002Fmoskytw\u002Funiout)：打印可读的字符，而不是转义的字符串。\r\n    *   [xpinyin](https:\u002F\u002Fgithub.com\u002Flxneng\u002Fxpinyin)：一个用于把汉字转换为拼音的库。\r\n    *   [pyfiglet](https:\u002F\u002Fgithub.com\u002Fpwaller\u002Fpyfiglet)：figlet 的 Python 实现。\r\n    *   [flashtext](https:\u002F\u002Fgithub.com\u002Fvi3k6i5\u002Fflashtext)：一个高效的文本查找替换库。\r\n    *   [textdistance](https:\u002F\u002Fgithub.com\u002Forsinium\u002Ftextdistance)：支持 30 多种算法来计算序列之间的距离。\r\n*   Slug 化\r\n    *   [awesome-slugify](https:\u002F\u002Fgithub.com\u002Fdimka665\u002Fawesome-slugify)：一个 Python slug 化库，可以保持 Unicode。\r\n    *   [python-slugify](https:\u002F\u002Fgithub.com\u002Fun33k\u002Fpython-slugify)：Python slug 化库，可以把 unicode 转化为 ASCII。\r\n    *   [unicode-slugify](https:\u002F\u002Fgithub.com\u002Fmozilla\u002Funicode-slugify)：一个 slug 工具，可以生成 unicode slugs ,需要依赖 Django 。\r\n*   解析器\r\n    *   [phonenumbers](https:\u002F\u002Fgithub.com\u002Fdaviddrysdale\u002Fpython-phonenumbers)：解析，格式化，储存，验证电话号码。\r\n    *   [python-phonenumbers](https:\u002F\u002Fgithub.com\u002Fdaviddrysdale\u002Fpython-phonenumbers)：解析，格式化，存储，校验国际电话号码。\r\n    *   [PLY](http:\u002F\u002Fwww.dabeaz.com\u002Fply\u002F)：lex 和 yacc 解析工具的 Python 实现。\r\n    *   [Pygments](http:\u002F\u002Fpygments.org\u002F)：通用语法高亮工具。\r\n    *   [pyparsing](http:\u002F\u002Fpyparsing.wikispaces.com\u002F)：生成通用解析器的框架。\r\n    *   [python-nameparser](https:\u002F\u002Fgithub.com\u002Fderek73\u002Fpython-nameparser)：把一个人名分解为几个独立的部分。\r\n    *   [python-user-agents](https:\u002F\u002Fgithub.com\u002Fselwin\u002Fpython-user-agents)：浏览器 user agent 解析器。\r\n    *   [sqlparse](https:\u002F\u002Fsqlparse.readthedocs.org\u002Fen\u002Flatest\u002F)：一个无验证的 SQL 解析器。\r\n\r\n### 特殊文本格式处理\r\n\r\n一些用来解析和操作特殊文本格式的库。\r\n\r\n*   通用\r\n    *   [tablib](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Ftablib)：一个用来处理中表格数据的模块。\r\n*   Office\r\n    *   [Marmir](https:\u002F\u002Fgithub.com\u002Fbrianray\u002Fmm)：把输入的 Python 数据结构转换为电子表单。\r\n    *   [openpyxl](https:\u002F\u002Fopenpyxl.readthedocs.org\u002Fen\u002Flatest\u002F)：一个用来读写 Excel 2010 xlsx\u002Fxlsm\u002Fxltx\u002Fxltm 文件的库。\r\n    *   [pyexcel](https:\u002F\u002Fgithub.com\u002Fpyexcel\u002Fpyexcel)：一个提供统一 API，用来读写，操作 Excel 文件的库。\r\n    *   [python-docx](https:\u002F\u002Fgithub.com\u002Fpython-openxml\u002Fpython-docx)：读取，查询以及修改 Microsoft Word 2007\u002F2008 docx 文件。\r\n    *   [python-pptx](https:\u002F\u002Fgithub.com\u002Fscanny\u002Fpython-pptx)：可用于创建和修改 ppt 文件的 Python 库。\r\n    *   [relatorio](http:\u002F\u002Frelatorio.tryton.org\u002F)：模板化 OpenDocument 文件。\r\n    *   [unoconv](https:\u002F\u002Fgithub.com\u002Fdagwieers\u002Funoconv)：在 LibreOffice\u002FOpenOffice 支持的任意文件格式之间进行转换。\r\n    *   [XlsxWriter](https:\u002F\u002Fxlsxwriter.readthedocs.org\u002Fen\u002Flatest\u002F)：一个用于创建 Excel .xlsx 文件的 Python 模块。\r\n    *   [xlwings](http:\u002F\u002Fxlwings.org\u002F)：一个使得在 Excel 中方便调用 Python 的库（反之亦然），基于 BSD 协议。\r\n    *   [xlwt](https:\u002F\u002Fgithub.com\u002Fpython-excel\u002Fxlwt) \u002F [xlrd](https:\u002F\u002Fgithub.com\u002Fpython-excel\u002Fxlrd)：读写 Excel 文件的数据和格式信息。\r\n    *   [docxtpl](https:\u002F\u002Fgithub.com\u002Felapouya\u002Fpython-docx-template)：通过 jinja2 模版编辑 docx 文档。\r\n*   PDF\r\n    *   [PDFMiner](https:\u002F\u002Fgithub.com\u002Feuske\u002Fpdfminer)：一个用于从 PDF 文档中抽取信息的工具。\r\n    *   [PyPDF2](https:\u002F\u002Fgithub.com\u002Fmstamy2\u002FPyPDF2)：一个可以分割，合并和转换 PDF 页面的库。\r\n    *   [ReportLab](http:\u002F\u002Fwww.reportlab.com\u002Fopensource\u002F)：快速创建富文本 PDF 文档。\r\n*   Markdown\r\n    *   [Mistune](https:\u002F\u002Fgithub.com\u002Flepture\u002Fmistune)：快速并且功能齐全的纯 Python 实现的 Markdown 解析器。\r\n    *   [Python-Markdown](https:\u002F\u002Fgithub.com\u002Fwaylan\u002FPython-Markdown)：John Gruber’s Markdown 的 Python 版实现。\r\n    *   [Python-Markdown2](https:\u002F\u002Fgithub.com\u002Ftrentm\u002Fpython-markdown2)：纯 Python 实现的 Markdown 解析器，比 Python-Markdown 更快，更准确，可扩展。\r\n*   YAML\r\n    *   [PyYAML](http:\u002F\u002Fpyyaml.org\u002F)：Python 版本的 YAML 解析器。\r\n*   CSV\r\n    *   [csvkit](https:\u002F\u002Fgithub.com\u002Fwireservice\u002Fcsvkit)：用于转换和操作 CSV 的工具。\r\n*   Archive\r\n    *   [unp](https:\u002F\u002Fgithub.com\u002Fmitsuhiko\u002Funp)：一个用来方便解包归档文件的命令行工具。\r\n\r\n### 自然语言处理\r\n\r\n用来处理人类语言的库。\r\n\r\n*   [NLTK](http:\u002F\u002Fwww.nltk.org\u002F)：一个先进的平台，用以构建处理人类语言数据的 Python 程序。\r\n*   [gensim](https:\u002F\u002Fgithub.com\u002Fpiskvorky\u002Fgensim)：人性化的话题建模库。\r\n*   [jieba](https:\u002F\u002Fgithub.com\u002Ffxsjy\u002Fjieba)：中文分词工具。\r\n*   [langid.py](https:\u002F\u002Fgithub.com\u002Fsaffsd\u002Flangid.py)：独立的语言识别系统。\r\n*   [Pattern](http:\u002F\u002Fwww.clips.ua.ac.be\u002Fpattern)：Python 网络信息挖掘模块。\r\n*   [SnowNLP](https:\u002F\u002Fgithub.com\u002Fisnowfy\u002Fsnownlp)：一个用来处理中文文本的库。\r\n*   [TextBlob](http:\u002F\u002Ftextblob.readthedocs.org\u002Fen\u002Flatest\u002F)：为进行普通自然语言处理任务提供一致的 API。\r\n*   [TextGrocery](https:\u002F\u002Fgithub.com\u002F2shou\u002FTextGrocery)：一简单高效的短文本分类工具，基于 LibLinear 和 Jieba。\r\n*   [thulac](https:\u002F\u002Fgithub.com\u002Fthunlp\u002FTHULAC-Python)：清华大学自然语言处理与社会人文计算实验室研制推出的一套中文词法分析工具包。\r\n*   [polyglot](https:\u002F\u002Fgithub.com\u002FaboSamoor\u002Fpolyglot)：支持数百种语言的自然语言处理管道。\r\n*   [pytext](https:\u002F\u002Fgithub.com\u002Ffacebookresearch\u002Fpytext)：基于 PyTouch 的自然语言模型框架。\r\n*   [PyTorch-NLP](https:\u002F\u002Fgithub.com\u002FPetrochukM\u002FPyTorch-NLP)：一个支持快速深度学习 NLP 原型研究的工具包。\r\n*   [spacy](https:\u002F\u002Fspacy.io\u002F)：Python 和 Cython 中用于工业级自然语言处理的库。\r\n*   [Stanza](https:\u002F\u002Fgithub.com\u002Fstanfordnlp\u002Fstanza)：斯坦福 NLP 集团的官方 Python 库，支持 60 多种语言。\r\n*   [funNLP](https:\u002F\u002Fgithub.com\u002Ffighting41love\u002FfunNLP)：中文自然语言处理的工具和数据集。\r\n*   [pkuseg-python](https:\u002F\u002Fgithub.com\u002Flancopku\u002Fpkuseg-python)：一个支持对不同领域进行中文分词的工具箱。\r\n\r\n### 文档\r\n\r\n用以生成项目文档的库。\r\n\r\n*   [Sphinx](http:\u002F\u002Fwww.sphinx-doc.org\u002Fen\u002Flatest\u002F)：Python 文档生成器。\r\n    * [awesome-sphinxdoc](https:\u002F\u002Fgithub.com\u002Fyoloseem\u002Fawesome-sphinxdoc)\r\n*   [MkDocs](http:\u002F\u002Fwww.mkdocs.org\u002F)：对 Markdown 友好的文档生成器。\r\n*   [pdoc](https:\u002F\u002Fgithub.com\u002FBurntSushi\u002Fpdoc)：一个可以替换 Epydoc 的库，可以自动生成 Python 库的 API 文档。\r\n*   [Pycco](https:\u002F\u002Fgithub.com\u002Fpycco-docs\u002Fpycco)：文学编程（literate-programming）风格的文档生成器。\r\n*   [readthedocs](https:\u002F\u002Fgithub.com\u002Frtfd\u002Freadthedocs.org\u002F)：一个基于 Sphinx\u002FMkDocs 的在线文档托管系统，对开源项目免费开放使用。\r\n\r\n### 配置\r\n\r\n用来保存和解析配置的库。\r\n\r\n*   [config](https:\u002F\u002Fwww.red-dove.com\u002Fconfig-doc\u002F)：[logging](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Flogging.html) 模块作者写的分级配置模块。\r\n*   [ConfigObj](http:\u002F\u002Fwww.voidspace.org.uk\u002Fpython\u002Fconfigobj.html)：INI 文件解析器，带验证功能。\r\n*   [ConfigParser](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fconfigparser.html)：(Python 标准库) INI 文件解析器。\r\n*   [profig](http:\u002F\u002Fprofig.readthedocs.org\u002Fen\u002Fdefault\u002F)：通过多种格式进行配置，具有数值转换功能。\r\n*   [python-decouple](https:\u002F\u002Fgithub.com\u002Fhenriquebastos\u002Fpython-decouple)：将设置和代码完全隔离。\r\n*   [hydra](https:\u002F\u002Fgithub.com\u002Ffacebookresearch\u002Fhydra)：一个优雅地配置复杂应用程序的框架。\r\n\r\n### 命令行工具\r\n\r\n用于创建命令行程序的库。\r\n\r\n*   命令行程序开发\r\n    *   [cement](http:\u002F\u002Fbuiltoncement.com\u002F)：Python 的命令行程序框架。\r\n    *   [click](http:\u002F\u002Fclick.pocoo.org\u002Fdev\u002F)：一个通过组合的方式来创建精美命令行界面的包。\r\n    *   [cliff](http:\u002F\u002Fdocs.openstack.org\u002Fdeveloper\u002Fcliff\u002F)：一个用于创建命令行程序的框架，可以创建具有多层命令的命令行程序。\r\n    *   [clint](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Fclint)：Python 命令行程序工具。\r\n    *   [docopt](http:\u002F\u002Fdocopt.org\u002F)：Python 风格的命令行参数解析器。\r\n    *   [Gooey](https:\u002F\u002Fgithub.com\u002Fchriskiehl\u002FGooey)：一条命令，将命令行程序变成一个 GUI 程序。\r\n    *   [python-prompt-toolkit](https:\u002F\u002Fgithub.com\u002Fjonathanslenders\u002Fpython-prompt-toolkit)：一个用于构建强大的交互式命令行程序的库。\r\n    *   [python-fire](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpython-fire)：Google 出品的一个基于 Python 类的构建命令行界面的库。\r\n    *   [Pythonpy](https:\u002F\u002Fgithub.com\u002FRussell91\u002Fpythonpy\u002Fwiki)：在命令行中直接执行任何 Python 指令。\r\n*   终端呈现方式\r\n    * [asciimatics](https:\u002F\u002Fgithub.com\u002Fpeterbrittain\u002Fasciimatics)：跨平台，全屏终端包（即鼠标\u002F键盘输入和彩色，定位文本输出），完整的复杂动画和特殊效果的高级 API。\r\n    * [alive-progress](https:\u002F\u002Fgithub.com\u002Frsalmei\u002Falive-progress)：一款新的进度条，具有实时吞吐量信息以及非常酷的动画。\r\n    * [colorama](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fcolorama)：跨平台彩色终端文本。\r\n    * [bashplotlib](https:\u002F\u002Fgithub.com\u002Fglamp\u002Fbashplotlib)：在终端中进行基本绘图。\r\n    * [rich](https:\u002F\u002Fgithub.com\u002Fwillmcgugan\u002Frich)：一个在终端中支持富文本和格式美化的 Python 库， 同时提供了`RichHandler`日志处理程序。\r\n    * [tqdm](https:\u002F\u002Fgithub.com\u002Ftqdm\u002Ftqdm)：一个可在循环和命令行中使用的快速、可扩展的进度条。\r\n*   生产力工具\r\n    *   [aws-cli](https:\u002F\u002Fgithub.com\u002Faws\u002Faws-cli)：Amazon Web Services 的通用命令行界面。\r\n    *   [caniusepython3](https:\u002F\u002Fgithub.com\u002Fbrettcannon\u002Fcaniusepython3)：判断是哪个项目妨碍你你移植到 Python 3。\r\n    *   [cookiecutter](https:\u002F\u002Fgithub.com\u002Faudreyr\u002Fcookiecutter)：从 cookiecutters（项目模板）创建项目的一个命令行工具。\r\n    *   [doitlive](https:\u002F\u002Fgithub.com\u002Fsloria\u002Fdoitlive)：一个用来在终端中进行现场演示的工具。\r\n    *   [pyftpdlib](https:\u002F\u002Fgithub.com\u002Fgiampaolo\u002Fpyftpdlib)：一个速度极快和可扩展的 Python FTP 服务库。\r\n    *   [howdoi](https:\u002F\u002Fgithub.com\u002Fgleitz\u002Fhowdoi)：通过命令行获取即时的编程问题解答。\r\n    *   [PathPicker](https:\u002F\u002Fgithub.com\u002Ffacebook\u002FPathPicker)：从 bash 输出中选出文件。\r\n    *   [percol](https:\u002F\u002Fgithub.com\u002Fmooz\u002Fpercol)：向 UNIX shell 传统管道概念中加入交互式选择功能。\r\n    *   [thefuck](https:\u002F\u002Fgithub.com\u002Fnvbn\u002Fthefuck)：修正你之前的命令行指令。\r\n    *   [try](https:\u002F\u002Fgithub.com\u002Ftimofurrer\u002Ftry)：一个极其简单的命令行工具，用来试用 python 库。\r\n    *   [copier](https:\u002F\u002Fgithub.com\u002Fpykong\u002Fcopier)：用于呈现项目模板的库和命令行实用程序。\r\n    *   [Invoke](https:\u002F\u002Fgithub.com\u002Fpyinvoke\u002Finvoke#readme)：用于管理面向 shell 的子进程，同时支持将可执行的 Python 代码组织成命令行可调用的状态。\r\n    *   [tmuxp](https:\u002F\u002Fgithub.com\u002Ftony\u002Ftmuxp)： [tmux](https:\u002F\u002Fgithub.com\u002Ftmux\u002Ftmux) 会话管理器。\r\n*   高级 CLI\r\n    * [httpie](https:\u002F\u002Fgithub.com\u002Fjkbrzt\u002Fhttpie)：一个命令行 HTTP 客户端，cURL 的替代品，易用性更好。\r\n    * [iredis](https:\u002F\u002Fgithub.com\u002Flaixintao\u002Firedis)：支持自动补全和高亮显示的 redis 命令行工具。\r\n    * [kube-shell](https:\u002F\u002Fgithub.com\u002Fcloudnativelabs\u002Fkube-shell)：K8S 命令行集成的 shell 工具。\r\n    * [litecli](https:\u002F\u002Fgithub.com\u002Fdbcli\u002Flitecli)：支持自动补全和语法高亮的 SQLite 命令行工具。\r\n    * [mycli](https:\u002F\u002Fgithub.com\u002Fdbcli\u002Fmycli)：支持自动补全和语法高亮的 MySQL 命令行客户端\r\n    * [pgcli](https:\u002F\u002Fgithub.com\u002Fdbcli\u002Fpgcli)：支持自动补全和语法高亮的 Postgres 命令行工具。\r\n    * [SAWS](https:\u002F\u002Fgithub.com\u002Fdonnemartin\u002Fsaws)：一个加强版的 AWS 命令行。\r\n*   Shell\r\n    * [xonsh](https:\u002F\u002Fgithub.com\u002Fxonsh\u002Fxonsh\u002F)：一种基于 python 的跨平台，面向 unix 的 shell 语言和命令提示符。\r\n\r\n### 下载器\r\n\r\n用来进行下载的库.\r\n\r\n*   [s3cmd](https:\u002F\u002Fgithub.com\u002Fs3tools\u002Fs3cmd)：一个用来管理 Amazon S3 和 CloudFront 的命令行工具。\r\n*   [s4cmd](https:\u002F\u002Fgithub.com\u002Fbloomreach\u002Fs4cmd)：超级 S3 命令行工具，性能更加强劲。\r\n*   [you-get](https:\u002F\u002Fwww.soimort.org\u002Fyou-get\u002F)：一个 YouTube\u002FYouku\u002FNiconico 视频下载器，使用 Python 3 编写。\r\n*   [youtube-dl](http:\u002F\u002Frg3.github.io\u002Fyoutube-dl\u002F)：一个小巧的命令行程序，用来下载 YouTube 视频。\r\n*   [akshare](https:\u002F\u002Fgithub.com\u002Fjindaxiang\u002Fakshare)：为方便人使用而创建的金融数据接口库。\r\n\r\n### 图像处理\r\n\r\n用来操作图像的库.\r\n\r\n*   [pillow](http:\u002F\u002Fpillow.readthedocs.org\u002Fen\u002Flatest\u002F)：Pillow 是一个更加易用版的 [PIL](http:\u002F\u002Fwww.pythonware.com\u002Fproducts\u002Fpil\u002F)。\r\n*   [hmap](https:\u002F\u002Fgithub.com\u002Frossgoodwin\u002Fhmap)：图像直方图映射。\r\n*   [imgSeek](https:\u002F\u002Fsourceforge.net\u002Fprojects\u002Fimgseek\u002F)：一个使用视觉相似性搜索一组图片集合的项目。\r\n*   [nude.py](https:\u002F\u002Fgithub.com\u002Fhhatto\u002Fnude.py)：裸体检测。\r\n*   [python-barcode](https:\u002F\u002Fgithub.com\u002FWhyNotHugo\u002Fpython-barcode)：不借助其他库在 Python 程序中生成条形码。\r\n*   [pygram](https:\u002F\u002Fgithub.com\u002Fajkumar25\u002Fpygram)：类似 Instagram 的图像滤镜。\r\n*   [python-qrcode](https:\u002F\u002Fgithub.com\u002Flincolnloop\u002Fpython-qrcode)：一个纯 Python 实现的二维码生成器。\r\n*   [Quads](https:\u002F\u002Fgithub.com\u002Ffogleman\u002FQuads)：基于四叉树的计算机艺术。\r\n*   [scikit-image](http:\u002F\u002Fscikit-image.org\u002F)：一个用于（科学）图像处理的 Python 库。\r\n*   [thumbor](https:\u002F\u002Fgithub.com\u002Fthumbor\u002Fthumbor)：一个小型图像服务，具有剪裁，尺寸重设和翻转功能。\r\n*   [wand](https:\u002F\u002Fgithub.com\u002Fdahlia\u002Fwand)：[MagickWand ](http:\u002F\u002Fwww.imagemagick.org\u002Fscript\u002Fmagick-wand.php)的 Python 绑定。MagickWand 是 ImageMagick 的 C API 。\r\n*   [face_recognition](https:\u002F\u002Fgithub.com\u002Fageitgey\u002Fface_recognition)：简单易用的 Python 人脸识别库。\r\n*   [pagan](https:\u002F\u002Fgithub.com\u002Fdaboth\u002Fpagan)：基于输入和哈希的复古风图标（头像）生成工具。\r\n*   [PyMatting](https:\u002F\u002Fgithub.com\u002Fpymatting\u002Fpymatting)：支持 alpha matting 的库。\r\n*   [pywal](https:\u002F\u002Fgithub.com\u002Fdylanaraps\u002Fpywal)：由图像生成配色方案的工具。\r\n*   [pyvips](https:\u002F\u002Fgithub.com\u002Flibvips\u002Fpyvips)：低内存消耗且快速的图像处理库。\r\n\r\n### OCR\r\n\r\n光学字符识别库。\r\n*   [paddleocr](https:\u002F\u002Fgithub.com\u002FPaddlePaddle\u002FPaddleOCR): 除光学字符识别外还引入了表格识别。\r\n*   [pyocr](https:\u002F\u002Fgitlab.gnome.org\u002FWorld\u002FOpenPaperwork\u002Fpyocr)：Tesseract 和 Cuneiform 的一个封装。\r\n*   [pytesseract](https:\u002F\u002Fgithub.com\u002Fmadmaze\u002Fpytesseract)：[Google Tesseract OCR](https:\u002F\u002Fgithub.com\u002Ftesseract-ocr) 的一个封装。\r\n\r\n### 音频\r\n\r\n用来操作音频的库\r\n\r\n*   [audiolazy](https:\u002F\u002Fgithub.com\u002Fdanilobellini\u002Faudiolazy)：Python 的数字信号处理包。\r\n*   [audioread](https:\u002F\u002Fgithub.com\u002Fbeetbox\u002Faudioread)：交叉库 (GStreamer + Core Audio + MAD + FFmpeg) 音频解码。\r\n*   [beets](http:\u002F\u002Fbeets.io\u002F)：一个音乐库管理工具及 [MusicBrainz](https:\u002F\u002Fmusicbrainz.org\u002F) 标签添加工具。\r\n*   [dejavu](https:\u002F\u002Fgithub.com\u002Fworldveil\u002Fdejavu)：音频指纹提取和识别。\r\n*   [django-elastic-transcoder](https:\u002F\u002Fgithub.com\u002FStreetVoice\u002Fdjango-elastic-transcoder)：Django + [Amazon Elastic Transcoder](http:\u002F\u002Faws.amazon.com\u002Felastictranscoder\u002F)。\r\n*   [eyeD3](http:\u002F\u002Feyed3.nicfit.net\u002F)：一个用来操作音频文件的工具，具体来讲就是包含 ID3 元信息的 MP3 文件。\r\n*   [id3reader](http:\u002F\u002Fnedbatchelder.com\u002Fcode\u002Fmodules\u002Fid3reader.py)：一个用来读取 MP3 元数据的 Python 模块。\r\n*   [m3u8](https:\u002F\u002Fgithub.com\u002Fglobocom\u002Fm3u8)：一个用来解析 m3u8 文件的模块。\r\n*   [mutagen](https:\u002F\u002Fbitbucket.org\u002Flazka\u002Fmutagen)：一个用来处理音频元数据的 Python 模块。\r\n*   [pydub](https:\u002F\u002Fgithub.com\u002Fjiaaro\u002Fpydub)：通过简单、简洁的高层接口来操作音频文件。\r\n*   [pyechonest](https:\u002F\u002Fgithub.com\u002Fechonest\u002Fpyechonest)：[Echo Nest](http:\u002F\u002Fdeveloper.echonest.com\u002F) API 的 Python 客户端。\r\n*   [talkbox](http:\u002F\u002Fscikits.appspot.com\u002Ftalkbox)：一个用来处理演讲\u002F信号的 Python 库。\r\n*   [TimeSide](https:\u002F\u002Fgithub.com\u002FParisson\u002FTimeSide)：开源 web 音频处理框架。\r\n*   [tinytag](https:\u002F\u002Fgithub.com\u002Fdevsnd\u002Ftinytag)：一个用来读取 MP3, OGG, FLAC 以及 Wave 文件音乐元数据的库。\r\n*   [mingus](http:\u002F\u002Fbspaans.github.io\u002Fpython-mingus\u002F)：一个高级音乐理论和曲谱包，支持 MIDI 文件和回放功能。\r\n*   [kapre](https:\u002F\u002Fgithub.com\u002Fkeunwoochoi\u002Fkapre)：Keras 音频处理器。\r\n*   [librosa](https:\u002F\u002Fgithub.com\u002Flibrosa\u002Flibrosa)：音频音乐分析 Python 库。\r\n*   [matchering](https:\u002F\u002Fgithub.com\u002Fsergree\u002Fmatchering)：用于音频母带制作的库。\r\n* [pyAudioAnalysis](https:\u002F\u002Fgithub.com\u002Ftyiannak\u002FpyAudioAnalysis)：音频特征提取，分类，分段和应用。\r\n* [beets](https:\u002F\u002Fgithub.com\u002Fbeetbox\u002Fbeets)：一个音乐库管理器和 [MusicBrainz](https:\u002F\u002Fmusicbrainz.org\u002F) 标记器。\r\n\r\n### Video\r\n\r\n用来操作视频和 GIF 的库。\r\n\r\n*   [moviepy](http:\u002F\u002Fzulko.github.io\u002Fmoviepy\u002F)：一个用来进行基于脚本的视频编辑模块，适用于多种格式，包括动图 GIFs。\r\n*   [scikit-video](https:\u002F\u002Fgithub.com\u002Faizvorski\u002Fscikit-video)：SciPy 视频处理常用程序。\r\n*   [vidgear](https:\u002F\u002Fgithub.com\u002FabhiTronix\u002Fvidgear)： 强大的多线程视频处理框架。\r\n\r\n### 地理位置\r\n\r\n地理编码地址以及用来处理经纬度的库。\r\n\r\n*   [GeoDjango](https:\u002F\u002Fdocs.djangoproject.com\u002Fen\u002Fdev\u002Fref\u002Fcontrib\u002Fgis\u002F)：世界级地理图形 web 框架。\r\n*   [GeoIP](https:\u002F\u002Fgithub.com\u002Fmaxmind\u002Fgeoip-api-python)：MaxMind GeoIP Legacy 数据库的 Python API。\r\n*   [geojson](https:\u002F\u002Fgithub.com\u002Ffrewsxcv\u002Fpython-geojson)：GeoJSON 的 Python 绑定及工具。\r\n*   [geopy](https:\u002F\u002Fgithub.com\u002Fgeopy\u002Fgeopy)：Python 地址编码工具箱。\r\n*   [GeoIP2](https:\u002F\u002Fgithub.com\u002Fmaxmind\u002FGeoIP2-python)：GeoIP2 Webservice 客户端与数据库 Python API。\r\n*   [django-countries](https:\u002F\u002Fgithub.com\u002FSmileyChris\u002Fdjango-countries)：一个 Django 应用程序，提供用于表格的国家选择功能，国旗图标静态文件以及模型中的国家字段。\r\n*   [pygeoip](https:\u002F\u002Fgithub.com\u002Fappliedsec\u002Fpygeoip)：Python GeoIP 接口。\r\n\r\n### HTTP\r\n\r\n使用 HTTP 的库。\r\n\r\n*   [aiohttp](https:\u002F\u002Fgithub.com\u002Faio-libs\u002Faiohttp)：基于 asyncio 的异步 HTTP 网络库。\r\n*   [requests](http:\u002F\u002Fdocs.python-requests.org\u002Fen\u002Flatest\u002F)：人性化的 HTTP 请求库。\r\n*   [grequests](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Fgrequests)：requests 库 + gevent ，用于异步 HTTP 请求。\r\n*   [httplib2](https:\u002F\u002Fgithub.com\u002Fjcgregorio\u002Fhttplib2)：全面的 HTTP 客户端库。\r\n*   [treq](https:\u002F\u002Fgithub.com\u002Ftwisted\u002Ftreq)：类似 requests 的 Python API 构建于 Twisted HTTP 客户端之上。\r\n*   [urllib3](https:\u002F\u002Fgithub.com\u002Fshazow\u002Furllib3)：一个具有线程安全连接池，支持文件 post，清晰友好的 HTTP 库。\r\n*   [httpx](https:\u002F\u002Fgithub.com\u002Fencode\u002Fhttpx)：下一代 Python HTTP 客户端。\r\n\r\n### 数据库\r\n\r\nPython 实现的数据库。\r\n\r\n*   [pickleDB](https:\u002F\u002Fpythonhosted.org\u002FpickleDB\u002F)：一个简单，轻量级键值储存数据库。\r\n*   [PipelineDB](https:\u002F\u002Fwww.pipelinedb.com\u002F)：流式 SQL 数据库。\r\n*   [TinyDB](https:\u002F\u002Fgithub.com\u002Fmsiemens\u002Ftinydb)：一个微型的，面向文档型数据库。\r\n*   [ZODB](http:\u002F\u002Fwww.zodb.org\u002Fen\u002Flatest\u002F)：一个 Python 原生对象数据库。一个键值和对象图数据库。\r\n\r\n### 数据库驱动\r\n\r\n用来连接和操作数据库的库。\r\n\r\n*   MySQL：[awesome-mysql](http:\u002F\u002Fshlomi-noach.github.io\u002Fawesome-mysql\u002F) 系列\r\n    *   [aiomysql](https:\u002F\u002Fgithub.com\u002Faio-libs\u002Faiomysql)：基于 asyncio 的异步 MySQL 数据库操作库。\r\n    *   [mysql-python](https:\u002F\u002Fsourceforge.net\u002Fprojects\u002Fmysql-python\u002F)：Python 的 MySQL 数据库连接器。\r\n    *   ysqlclient：[mysql-python](https:\u002F\u002Fgithub.com\u002FPyMySQL\u002Fmysqlclient-python) 分支，支持 Python 3。\r\n    *   [oursql](https:\u002F\u002Fpythonhosted.org\u002Foursql\u002F)：一个更好的 MySQL 连接器，支持原生预编译指令和 BLOBs。\r\n    *   [PyMySQL](https:\u002F\u002Fgithub.com\u002FPyMySQL\u002FPyMySQL)：纯 Python MySQL 驱动，兼容 mysql-python。\r\n*   PostgreSQL\r\n    *   [psycopg2](http:\u002F\u002Finitd.org\u002Fpsycopg\u002F)：Python 中最流行的 PostgreSQL 适配器。\r\n    *   [queries](https:\u002F\u002Fgithub.com\u002Fgmr\u002Fqueries)：psycopg2 库的封装，用来和 PostgreSQL 进行交互。\r\n    *   [txpostgres](http:\u002F\u002Ftxpostgres.readthedocs.org\u002Fen\u002Flatest\u002F)：基于 Twisted 的异步 PostgreSQL 驱动。\r\n*   其他关系型数据库\r\n    *   [apsw](http:\u002F\u002Frogerbinns.github.io\u002Fapsw\u002F)：另一个 Python SQLite 封装。\r\n    *   dataset：在数据库中存储 Python 字典\r\n    *   [pymssql](http:\u002F\u002Fwww.pymssql.org\u002Fen\u002Flatest\u002F)：一个简单的 Microsoft SQL Server 数据库接口。\r\n*   NoSQL 数据库\r\n    *   [asyncio-redis](https:\u002F\u002Fgithub.com\u002Fjonathanslenders\u002Fasyncio-redis)：基于 asyncio 的 redis 客户端 (PEP 3156)。\r\n    *   [cassandra-python-driver](https:\u002F\u002Fgithub.com\u002Fdatastax\u002Fpython-driver)：Cassandra 的 Python 驱动。\r\n    *   [HappyBase](http:\u002F\u002Fhappybase.readthedocs.org\u002Fen\u002Flatest\u002F)：一个为 Apache HBase 设计的，对开发者友好的库。\r\n    *   [Plyvel](https:\u002F\u002Fplyvel.readthedocs.org\u002Fen\u002Flatest\u002F)：一个快速且功能丰富的 LevelDB 的 Python 接口。\r\n    *   [py2neo](http:\u002F\u002Fpy2neo.org\u002F2.0\u002F)：Neo4j restful 接口的 Python 封装客户端。\r\n    *   [pycassa](https:\u002F\u002Fgithub.com\u002Fpycassa\u002Fpycassa)：Cassandra 的 Python Thrift 驱动。\r\n    *   [PyMongo](https:\u002F\u002Fdocs.mongodb.org\u002Fecosystem\u002Fdrivers\u002Fpython\u002F)：MongoDB 的官方 Python 客户端。\r\n    *   [redis-py](https:\u002F\u002Fgithub.com\u002Fandymccurdy\u002Fredis-py)：Redis 的 Python 客户端。\r\n    *   [telephus](https:\u002F\u002Fgithub.com\u002Fdriftx\u002FTelephus)：基于 Twisted 的 Cassandra 客户端。\r\n    *   [txRedis](https:\u002F\u002Fgithub.com\u002Fdeldotdr\u002FtxRedis)：基于 Twisted 的 Redis 客户端。\r\n    *   [kafka-python](https:\u002F\u002Fgithub.com\u002Fdpkp\u002Fkafka-python)：Apache Kafka Python 客户端。\r\n*   异步客户端\r\n    * [motor](https:\u002F\u002Fgithub.com\u002Fmongodb\u002Fmotor)：支持 MongoDB 的异步 Python 驱动程序。\r\n\r\n### ORM\r\n\r\n实现对象关系映射或数据映射技术的库。\r\n\r\n*   关系型数据库\r\n    *   [Django Models](https:\u002F\u002Fdocs.djangoproject.com\u002Fen\u002Fdev\u002Ftopics\u002Fdb\u002Fmodels\u002F)：Django 的一部分。\r\n    *   [SQLAlchemy](http:\u002F\u002Fwww.sqlalchemy.org\u002F)：Python SQL 工具以及对象关系映射工具。\r\n        * [awesome-sqlalchemy](https:\u002F\u002Fgithub.com\u002Fdahlia\u002Fawesome-sqlalchemy)\r\n    *   [awesome-sqlalchemy](https:\u002F\u002Fgithub.com\u002Fdahlia\u002Fawesome-sqlalchemy) 系列\r\n    *   [Peewee](https:\u002F\u002Fgithub.com\u002Fcoleifer\u002Fpeewee)：一个小巧，富有表现力的 ORM。\r\n    *   [PonyORM](https:\u002F\u002Fponyorm.com\u002F)：提供面向生成器的 SQL 接口的 ORM。\r\n    *   [python-sql](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpython-sql)：编写 Python 风格的 SQL 查询。\r\n    *   [dataset](https:\u002F\u002Fgithub.com\u002Fpudo\u002Fdataset)：在数据库中存储字典，支持 SQLite，MySQL 和 PostgreSQL。\r\n    *   [orator](https:\u002F\u002Fgithub.com\u002Fsdispater\u002Forator)：Orator ORM，提供了一个简单而美观的 ActiveRecord 实现。\r\n    *   [orm](https:\u002F\u002Fgithub.com\u002Fencode\u002Form)：一个异步的 ORM。\r\n    *   [pony](https:\u002F\u002Fgithub.com\u002Fponyorm\u002Fpony\u002F)：提供面向生成器的SQL接口的ORM。\r\n    *   [pydal](https:\u002F\u002Fgithub.com\u002Fweb2py\u002Fpydal\u002F)：纯 Python 数据库抽象接口层。\r\n*   NoSQL 数据库\r\n    *   [django-mongodb-engine](https:\u002F\u002Fgithub.com\u002Fdjango-nonrel\u002Fmongodb-engine)：Django MongoDB 后端。\r\n    *   [PynamoDB](https:\u002F\u002Fgithub.com\u002Fjlafon\u002FPynamoDB)：[Amazon DynamoDB](https:\u002F\u002Faws.amazon.com\u002Fdynamodb\u002F) 的一个 Python 风格接口。\r\n    *   [flywheel](https:\u002F\u002Fgithub.com\u002Fmathcamp\u002Fflywheel)：Amazon DynamoDB 的对象映射工具。\r\n    *   [MongoEngine](http:\u002F\u002Fmongoengine.org\u002F)：一个 Python 对象文档映射工具，用于 MongoDB。\r\n    *   [hot-redis](https:\u002F\u002Fgithub.com\u002Fstephenmcd\u002Fhot-redis)：为 Redis 提供 Python 丰富的数据类型。\r\n    *   [redisco](https:\u002F\u002Fgithub.com\u002Fkiddouk\u002Fredisco)：一个 Python 库，提供可以持续存在在 Redis 中的简单模型和容器。\r\n*   其他\r\n    *   [butterdb](https:\u002F\u002Fgithub.com\u002FWiddershin\u002Fbutterdb)：Google Drive 电子表格的 Python ORM。\r\n\r\n### Web 框架\r\n\r\n全栈 Web 框架。\r\n\r\n*   [Django](https:\u002F\u002Fwww.djangoproject.com\u002F)：Python 界最流行的 web 框架。\r\n    *   [awesome-django(by shahraizali)](https:\u002F\u002Fgithub.com\u002Fshahraizali\u002Fawesome-django) 系列\r\n    *   [awesome-django(by wsvincent)](https:\u002F\u002Fgithub.com\u002Fwsvincent\u002Fawesome-django) 系列\r\n*   [Flask](http:\u002F\u002Fflask.pocoo.org\u002F)：一个 Python 微型框架。\r\n    *   [awesome-flask](https:\u002F\u002Fgithub.com\u002Fhumiaozuzu\u002Fawesome-flask) 系列\r\n*   [Pyramid](https:\u002F\u002Fpylonsproject.org\u002F)：一个小巧，快速，接地气的开源 Python web 框架。\r\n    *   [awesome-pyramid](https:\u002F\u002Fgithub.com\u002Furalbash\u002Fawesome-pyramid) 系列\r\n*   [Bottle](http:\u002F\u002Fbottlepy.org\u002Fdocs\u002Fdev\u002Findex.html)：一个快速小巧，轻量级的 WSGI 微型 web 框架。\r\n*   [CherryPy](http:\u002F\u002Fwww.cherrypy.org\u002F)：一个极简的 Python web 框架，服从 HTTP\u002F1.1 协议且具有 WSGI 线程池。\r\n*   [TurboGears](http:\u002F\u002Fwww.turbogears.org\u002F)：一个可以扩展为全栈解决方案的微型框架。\r\n*   [web.py](http:\u002F\u002Fwebpy.org\u002F)：一个 Python 的 web 框架，既简单，又强大。\r\n*   [web2py](http:\u002F\u002Fwww.web2py.com\u002F)：一个全栈 web 框架和平台，专注于简单易用。\r\n*   [Tornado](http:\u002F\u002Fwww.tornadoweb.org\u002Fen\u002Flatest\u002F)：一个 web 框架和异步网络库。\r\n*   [sanic](https:\u002F\u002Fgithub.com\u002Fchannelcat\u002Fsanic\u002F)：基于 Python3.5+ 的异步网络框架。\r\n*   [starlette](https:\u002F\u002Fwww.starlette.io\u002F)： 一款轻量级，高性能的 ASGI 框架。\r\n*   [Masonite](https:\u002F\u002Fgithub.com\u002FMasoniteFramework\u002Fmasonite)：以开发者为中心的现代 Python Web 框架。\r\n\r\n### WebSocket\r\n\r\nWeb socket 相关库。\r\n\r\n* [autobahn-python](https:\u002F\u002Fgithub.com\u002Fcrossbario\u002Fautobahn-python)：适用于 Twisted 和 asyncio 的 Python WebSocket 和 WAMP。\r\n* [channels](https:\u002F\u002Fgithub.com\u002Fdjango\u002Fchannels)：开发者友好的 Django 异步工具。\r\n* [websockets](https:\u002F\u002Fgithub.com\u002Faaugustin\u002Fwebsockets)：一个用于构建 WebSocket 服务器和客户端的库，着重于正确性和简单性。\r\n\r\n### 权限\r\n\r\n允许或拒绝用户访问数据或功能的库。\r\n\r\n*   [Carteblanche](https:\u002F\u002Fgithub.com\u002Fneuman\u002Fpython-carteblanche\u002F)：站在用户和设计者角度开发的一个代码对齐模块，很好地处理了代码导航及权限。\r\n*   [django-guardian](https:\u002F\u002Fgithub.com\u002Fdjango-guardian\u002Fdjango-guardian)：Django 1.2+ ，实现了单个对象权限。\r\n*   [django-rules](https:\u002F\u002Fgithub.com\u002Fdfunckt\u002Fdjango-rules)：一个小巧但是强大的应用，提供对象级别的权限管理，且不需要使用数据库。\r\n\r\n### CMS\r\n\r\n内容管理系统。\r\n\r\n*   [odoo-cms](http:\u002F\u002Fwww.odoo.com)：一个开源的，企业级 CMS，基于 odoo。\r\n*   [django-cms](http:\u002F\u002Fwww.django-cms.org\u002Fen\u002F)：一个开源的，企业级 CMS，基于 Django。\r\n*   [djedi-cms](http:\u002F\u002Fdjedi-cms.org\u002F)：一个轻量级但却非常强大的 Django CMS ，考虑到了插件，内联编辑以及性能。\r\n*   [FeinCMS](http:\u002F\u002Fwww.feincms.org\u002F)：基于 Django 构建的最先进的内容管理系统之一。\r\n*   [Kotti](http:\u002F\u002Fkotti.pylonsproject.org\u002F)：一个高级的，Python 范的 web 应用框架，基于 Pyramid 构建。\r\n*   [Mezzanine](http:\u002F\u002Fmezzanine.jupo.org\u002F)：一个强大的，持续的，灵活的内容管理平台。\r\n*   [Opps](http:\u002F\u002Fopps.github.io\u002Fopps\u002F)：一个为杂志，报纸网站以及大流量门户网站设计的 CMS 平台，基于 Django。\r\n*   [Plone](https:\u002F\u002Fplone.org\u002F)：一个构建于开源应用服务器 Zope 之上的 CMS。\r\n*   [Quokka](https:\u002F\u002Fquintagroup.com\u002Fcms\u002Fpython\u002Fquokka)：灵活，可扩展的小型 CMS，基于 Flask 和 MongoDB。\r\n*   [Wagtail](https:\u002F\u002Fwagtail.io\u002F)：一个 Django 内容管理系统。\r\n*   [Widgy](https:\u002F\u002Fwid.gy\u002F)：最新的 CMS 框架，基于 Django。\r\n*   [indico](https:\u002F\u002Fgithub.com\u002Findico\u002Findico)：一个功能丰富的事件管理系统，由 @[CERN](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FCERN) 开发。\r\n\r\n### 电子商务\r\n\r\n用于电子商务以及支付的框架和库。\r\n\r\n*   [django-oscar](http:\u002F\u002Foscarcommerce.com\u002F)：一个用于 Django 的开源的电子商务框架。\r\n*   [django-shop](https:\u002F\u002Fgithub.com\u002Fawesto\u002Fdjango-shop)：一个基于 Django 的店铺系统。\r\n*   [Cartridge](https:\u002F\u002Fgithub.com\u002Fstephenmcd\u002Fcartridge)：一个基于 Mezzanine 构建的购物车应用。\r\n*   [shoop](https:\u002F\u002Fwww.shoop.io\u002Fen\u002F)：一个基于 Django 的开源电子商务平台。\r\n*   [alipay](https:\u002F\u002Fgithub.com\u002Flxneng\u002Falipay)：非官方的 Python 支付宝 API。\r\n*   [merchant](https:\u002F\u002Fgithub.com\u002Fagiliq\u002Fmerchant)：一个可以接收来自多种支付平台支付的 Django 应用。\r\n*   [money](https:\u002F\u002Fgithub.com\u002Fcarlospalol\u002Fmoney)：一个货币类库。带有可选的 CLDR 后端本地化格式，提供可扩展的货币兑换解决方案。\r\n*   [python-currencies](https:\u002F\u002Fgithub.com\u002FAlir3z4\u002Fpython-currencies)：显示货币格式以及它的数值。\r\n*   [forex-python](https:\u002F\u002Fgithub.com\u002FMicroPyramid\u002Fforex-python)：外汇汇率，比特币价格指数和货币换算。\r\n*   [saleor](http:\u002F\u002Fgetsaleor.com\u002F)：一款兼容 Django 的电子商务平台。\r\n\r\n### RESTful API\r\n\r\n用来开发 RESTful APIs 的库\r\n\r\n*   Django\r\n    *   [django-rest-framework](http:\u002F\u002Fwww.django-rest-framework.org\u002F)：一个强大灵活的工具，用来构建 web API。\r\n    *   [django-tastypie](http:\u002F\u002Ftastypieapi.org\u002F)：为 Django 应用开发 API。\r\n    *   [django-formapi](https:\u002F\u002Fgithub.com\u002F5monkeys\u002Fdjango-formapi)：为 Django 的表单验证，创建 JSON APIs 。\r\n*   Flask\r\n    *   [flask-api](http:\u002F\u002Fwww.flaskapi.org\u002F)：为 flask 开发的，可浏览 Web APIs 。\r\n    *   [flask-restful](http:\u002F\u002Fflask-restful.readthedocs.org\u002Fen\u002Flatest\u002F)：为 flask 快速创建 REST APIs 。\r\n    *   [flask-restless](https:\u002F\u002Fflask-restless.readthedocs.org\u002Fen\u002Flatest\u002F)：为 SQLAlchemy 定义的数据库模型创建 RESTful APIs 。\r\n    *   [flask-api-utils](https:\u002F\u002Fgithub.com\u002Fmarselester\u002Fflask-api-utils)：为 Flask 处理 API 表示和验证。\r\n    *   [eve](https:\u002F\u002Fgithub.com\u002Fnicolaiarocci\u002Feve)：REST API 框架，由 Flask, MongoDB 等驱动。\r\n*   Pyramid\r\n    *   [cornice](https:\u002F\u002Fcornice.readthedocs.org\u002Fen\u002Flatest\u002F)：一个 Pyramid 的 REST 框架 。\r\n*   与框架无关的\r\n    *   [falcon](http:\u002F\u002Ffalconframework.org\u002F)：一个用来建立云 API 和 web app 后端的高性能框架。\r\n    *   [sandman](https:\u002F\u002Fgithub.com\u002Fjeffknupp\u002Fsandman)：为现存的数据库驱动系统自动创建 REST APIs 。\r\n    *   [restless](http:\u002F\u002Frestless.readthedocs.org\u002Fen\u002Flatest\u002F)：框架无关的 REST 框架 ，基于从 Tastypie 学到的知识。\r\n    *   [ripozo](https:\u002F\u002Fgithub.com\u002Fvertical-knowledge\u002Fripozo)：快速创建 REST\u002FHATEOAS\u002FHypermedia APIs。\r\n    *   [apistar](https:\u002F\u002Fgithub.com\u002Fencode\u002Fapistar)：专为Python 3设计的智能 Web API 框架。\r\n    *   [fastapi](https:\u002F\u002Fgithub.com\u002Ftiangolo\u002Ffastapi)：一个现代，快速，基于标准 Python 类型注解的的 web框架，可使用 Python3.6+ 版本构建 API。\r\n    *   [hug](https:\u002F\u002Fgithub.com\u002Fhugapi\u002Fhug)：一个为纯净公开的 API 打造的 Python 3 框架。\r\n    *   [sandman2](https:\u002F\u002Fgithub.com\u002Fjeffknupp\u002Fsandman2)：为数据库驱动的系统自动生成 REST API。\r\n    *   [vibora](https:\u002F\u002Fvibora.io\u002F)：快速高效且支持异步的 Web 框架，灵感来源于 Flask。\r\n\r\n### 验证\r\n\r\n实现验证方案的库。\r\n\r\n*   OAuth\r\n    *   [authlib](https:\u002F\u002Fgithub.com\u002Flepture\u002Fauthlib)：一个强大的Python库，用来构建 OAuth 和 OpenID 服务端。包括：JWS, JWK, JWA, JWT。\r\n    *   [Authomatic](http:\u002F\u002Fpeterhudec.github.io\u002Fauthomatic\u002F)：简单但是强大的框架，身份验证\u002F授权客户端。\r\n    *   [django-allauth](https:\u002F\u002Fgithub.com\u002Fpennersr\u002Fdjango-allauth)：Django 的验证应用。\r\n    *   [django-oauth-toolkit](https:\u002F\u002Fgithub.com\u002Fevonove\u002Fdjango-oauth-toolkit)：为 Django 用户准备的 OAuth2。\r\n    *   [django-oauth2-provider](https:\u002F\u002Fgithub.com\u002Fcaffeinehit\u002Fdjango-oauth2-provider)：为 Django 应用提供 OAuth2 接入。\r\n    *   [Flask-OAuthlib](https:\u002F\u002Fgithub.com\u002Flepture\u002Fflask-oauthlib)：OAuth 1.0\u002Fa, 2.0 客户端实现，供 Flask 使用。\r\n    *   [OAuthLib](https:\u002F\u002Fgithub.com\u002Fidan\u002Foauthlib)：一个 OAuth 请求-签名逻辑通用、 完整的实现。\r\n    *   [python-oauth2](https:\u002F\u002Fgithub.com\u002Fjoestump\u002Fpython-oauth2)：一个完全测试的抽象接口。用来创建 OAuth 客户端和服务端。\r\n    *   [python-social-auth](https:\u002F\u002Fgithub.com\u002Fomab\u002Fpython-social-auth)：一个设置简单的社会化验证方式。\r\n    *   [rauth](https:\u002F\u002Fgithub.com\u002Flitl\u002Frauth)：OAuth 1.0\u002Fa, 2.0, 和 Ofly 的 Python 库。\r\n    *   [sanction](https:\u002F\u002Fgithub.com\u002Fdemianbrecht\u002Fsanction)：一个超级简单的 OAuth2 客户端实现。\r\n*   其他\r\n    *   [PyJWT](https:\u002F\u002Fgithub.com\u002Fjpadilla\u002Fpyjwt)：JSON Web 令牌草案 01。\r\n    *   [python-jws](https:\u002F\u002Fgithub.com\u002Fbrianloveswords\u002Fpython-jws)：JSON Web 签名草案 02 的实现。\r\n    *   [python-jwt](https:\u002F\u002Fgithub.com\u002Fdavedoesdev\u002Fpython-jwt)：一个用来生成和验证 JSON Web 令牌的模块。\r\n    *   [python-jose](https:\u002F\u002Fgithub.com\u002Fmpdavis\u002Fpython-jose\u002F)：python 版 JOSE 实现。\r\n\r\n### 模板引擎\r\n\r\n模板生成和词法解析的库和工具。\r\n\r\n*   [Jinja2](https:\u002F\u002Fgithub.com\u002Fpallets\u002Fjinja)：一个现代的，对设计师友好的模板引擎。\r\n*   [Chameleon](https:\u002F\u002Fchameleon.readthedocs.org\u002Fen\u002Flatest\u002F)：一个 HTML\u002FXML 模板引擎。 模仿了 ZPT（Zope Page Templates）, 进行了速度上的优化。\r\n*   [Genshi](https:\u002F\u002Fgenshi.edgewall.org\u002F)：Python 模板工具，用以生成 web 感知的结果。\r\n*   [Mako](http:\u002F\u002Fwww.makotemplates.org\u002F)：Python 平台的超高速轻量级模板。\r\n\r\n### 队列\r\n\r\n处理事件以及任务队列的库。\r\n\r\n*   [celery](http:\u002F\u002Fwww.celeryproject.org\u002F)：一个异步任务队列\u002F作业队列，基于分布式消息传递\r\n*   [daramatiq](https:\u002F\u002Fgithub.com\u002FBogdanp\u002Fdramatiq)：适用于Python 3的快速可靠的后台任务处理库。\r\n*   [huey](https:\u002F\u002Fgithub.com\u002Fcoleifer\u002Fhuey)：小型多线程任务队列。\r\n*   [mrq](https:\u002F\u002Fgithub.com\u002Fpricingassistant\u002Fmrq)：一个 Python 的分布式 worker 任务队列， 使用 Redis 和 gevent。\r\n*   [rq](http:\u002F\u002Fpython-rq.org\u002F)：简单的 Python 作业队列。\r\n*   [simpleq](https:\u002F\u002Fgithub.com\u002Frdegges\u002Fsimpleq)：一个简单的，可无限扩张的，基于亚马逊 SQS 的队列。\r\n\r\n### 搜索\r\n\r\n对数据进行索引和执行搜索查询的库和软件。\r\n\r\n*   [django-haystack](https:\u002F\u002Fgithub.com\u002Fdjango-haystack\u002Fdjango-haystack)：Django 模块化搜索。\r\n*   [elasticsearch-py](https:\u002F\u002Fwww.elastic.co\u002Fguide\u002Fen\u002Felasticsearch\u002Fclient\u002Fpython-api\u002Fcurrent\u002Findex.html)：Elasticsearch 的官方底层 Python 客户端。\r\n*   [elasticsearch-dsl-py](https:\u002F\u002Fgithub.com\u002Felastic\u002Felasticsearch-dsl-py)：Elasticsearch 的官方高级 Python 客户端。\r\n*   [solrpy](https:\u002F\u002Fgithub.com\u002Fedsu\u002Fsolrpy)：[solr](http:\u002F\u002Flucene.apache.org\u002Fsolr\u002F) 的 Python 客户端。\r\n*   [pysolr](https:\u002F\u002Fgithub.com\u002Fdjango-haystack\u002Fpysolr)：支持 [Apache Solr](https:\u002F\u002Flucene.apache.org\u002Fsolr\u002F) 的轻量级 Python 装饰器。\r\n*   [Whoosh](http:\u002F\u002Fwhoosh.readthedocs.org\u002Fen\u002Flatest\u002F)：一个快速的纯 Python 搜索引擎库。\r\n\r\n### 动态消息\r\n\r\n用来创建用户活动的库。\r\n\r\n*   [django-activity-stream](https:\u002F\u002Fgithub.com\u002Fjustquick\u002Fdjango-activity-stream)：从你的站点行为中生成通用活动信息流。\r\n*   [Stream-Framework](https:\u002F\u002Fgithub.com\u002Ftschellenbach\u002FStream-Framework)：使用 Cassandra 和 Redis 创建动态消息和通知系统。\r\n\r\n### Web 资源管理\r\n\r\n管理、压缩、缩小网站资源的工具。\r\n\r\n*   [django-compressor](https:\u002F\u002Fgithub.com\u002Fdjango-compressor\u002Fdjango-compressor)：将链接和内联的 JavaScript 或 CSS 压缩到一个单独的缓存文件中。\r\n*   [django-pipeline](https:\u002F\u002Fgithub.com\u002Fjazzband\u002Fdjango-pipeline)：Django 的资源包装库。\r\n*   [django-storages](http:\u002F\u002Fdjango-storages.readthedocs.org\u002Fen\u002Flatest\u002F)：一个针对 Django 的自定义存储后端的工具集合。\r\n*   [fanstatic](http:\u002F\u002Fwww.fanstatic.org\u002Fen\u002Flatest\u002F)：打包、优化，并且把静态文件依赖作为 Python 的包来提供。\r\n*   [File Conveyor](https:\u002F\u002Fwimleers.com\u002Ffileconveyor\u002F)：一个后台驻留的程序，用来发现和同步文件到 CDNs, S3 和 FTP。\r\n*   [Flask-Assets](http:\u002F\u002Fflask-assets.readthedocs.org\u002Fen\u002Flatest\u002F)：帮你将 web 资源整合到你的 Flask app 中。\r\n*   [jinja-assets-compressor](https:\u002F\u002Fgithub.com\u002Fjaysonsantos\u002Fjinja-assets-compressor)：一个 Jinja 扩展，用来编译和压缩你的资源。\r\n*   [webassets](http:\u002F\u002Fwebassets.readthedocs.org\u002Fen\u002Flatest\u002F)：为你的静态资源打包、优化和管理生成独一无二的缓存 URL。\r\n\r\n### 缓存\r\n\r\n缓存数据的库。\r\n\r\n*   [Beaker](http:\u002F\u002Fbeaker.readthedocs.org\u002Fen\u002Flatest\u002F)：一个缓存和会话库，可以用在 web 应用和独立 Python 脚本和应用上。\r\n*   [django-cache-machine](https:\u002F\u002Fgithub.com\u002Fdjango-cache-machine\u002Fdjango-cache-machine)：Django 模型的自动缓存和失效。\r\n*   [django-cacheops](https:\u002F\u002Fgithub.com\u002FSuor\u002Fdjango-cacheops)：具有自动颗粒化事件驱动失效功能的 ORM。\r\n*   [django-viewlet](https:\u002F\u002Fgithub.com\u002F5monkeys\u002Fdjango-viewlet)：渲染模板，同时具有额外的缓存控制功能。\r\n*   [dogpile.cache](http:\u002F\u002Fdogpilecache.readthedocs.org\u002Fen\u002Flatest\u002F)：dogpile.cache 是 Beaker 的下一代替代品，由同一作者开发。\r\n*   [HermesCache](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002FHermesCache)：Python 缓存库，具有基于标签的失效和 dogpile effect 保护功能。\r\n*   [johnny-cache](https:\u002F\u002Fgithub.com\u002Fjmoiron\u002Fjohnny-cache)：django 应用缓存框架。\r\n*   [pylibmc](https:\u002F\u002Fgithub.com\u002Flericson\u002Fpylibmc)：[libmemcached](http:\u002F\u002Flibmemcached.org\u002FlibMemcached.html) 接口的 Python 封装。\r\n*   [python-diskcache](http:\u002F\u002Fwww.grantjenks.com\u002Fdocs\u002Fdiskcache\u002F)：SQLite 和文件支持的缓存后端，具有比 memcached 和 redis 更快的查找速度。\r\n\r\n### 电子邮件\r\n\r\n用来发送和解析电子邮件的库。\r\n\r\n*   [django-celery-ses](https:\u002F\u002Fgithub.com\u002FStreetVoice\u002Fdjango-celery-ses)：带有 AWS SES 和 Celery 的 Django email 后端。\r\n*   [envelopes](http:\u002F\u002Ftomekwojcik.github.io\u002Fenvelopes\u002F)：供人类使用的电子邮件库。\r\n*   [flanker](https:\u002F\u002Fgithub.com\u002Fmailgun\u002Fflanker)：一个 email 地址和 Mime 解析库。\r\n*   [imbox](https:\u002F\u002Fgithub.com\u002Fmartinrusev\u002Fimbox)：Python IMAP 库。\r\n*   [inbox.py](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Finbox.py)：Python SMTP 服务器。\r\n*   [inbox](https:\u002F\u002Fgithub.com\u002Fnylas\u002Fsync-engine)：一个开源电子邮件工具箱。\r\n*   [lamson](https:\u002F\u002Fgithub.com\u002Fzedshaw\u002Flamson)：Python 风格的 SMTP 应用服务器。\r\n*   [mailjet](https:\u002F\u002Fgithub.com\u002FWoLpH\u002Fmailjet)：Mailjet API 实现，用来提供批量发送邮件，统计等功能。\r\n*   [marrow.mailer](https:\u002F\u002Fgithub.com\u002Fmarrow\u002Fmailer)：高性能可扩展邮件分发框架。\r\n*   [modoboa](https:\u002F\u002Fgithub.com\u002Ftonioo\u002Fmodoboa)：一个邮件托管和管理平台，具有现代的、简约的 Web UI。\r\n*   [pyzmail](http:\u002F\u002Fwww.magiksys.net\u002Fpyzmail\u002F)：创建，发送和解析电子邮件。\r\n*   [Talon](https:\u002F\u002Fgithub.com\u002Fmailgun\u002Ftalon)：Mailgun 库，用来抽取信息和签名。\r\n*   [yagmail](https:\u002F\u002Fpypi.org\u002Fproject\u002Fyagmail\u002F)：yagmail是一个GMAIL \u002F SMTP客户端，旨在使其尽可能简单地发送电子邮件。\r\n*   [salmon](https:\u002F\u002Fgithub.com\u002Fmoggers87\u002Fsalmon)：一个 Python 邮件服务器。\r\n*   [mailer](https:\u002F\u002Fgithub.com\u002Fmarrow\u002Fmailer)：一款高性能可扩展的邮件投递框架。\r\n\r\n### 国际化\r\n\r\n用来进行国际化的库。\r\n\r\n*   [Babel](http:\u002F\u002Fbabel.pocoo.org\u002Fen\u002Flatest\u002F)：一个 Python 的国际化库。\r\n*   [Korean](https:\u002F\u002Fkorean.readthedocs.org\u002Fen\u002Flatest\u002F)：一个韩语词态库。\r\n*   [PyICU](https:\u002F\u002Fgithub.com\u002Fovalhub\u002Fpyicu)：一个封装了 [ICU](http:\u002F\u002Fsite.icu-project.org\u002F) C++ 库的 Python 扩展。\r\n\r\n### URL 处理\r\n\r\n解析 URLs 的库\r\n\r\n*   [furl](https:\u002F\u002Fgithub.com\u002Fgruns\u002Ffurl)：一个让处理 URL 更简单小型 Python 库。\r\n*   [purl](https:\u002F\u002Fgithub.com\u002Fcodeinthehole\u002Fpurl)：一个简单的，不可变的 URL 类，具有简洁的 API 来进行询问和处理。\r\n*   [pyshorteners](https:\u002F\u002Fgithub.com\u002Fellisonleao\u002Fpyshorteners)：一个纯 Python URL 缩短库。\r\n*   [shorturl](https:\u002F\u002Fgithub.com\u002FAlir3z4\u002Fpython-shorturl)：生成短小 URL 和类似 bit.ly 短链的 Python 实现。\r\n*   [webargs](https:\u002F\u002Fgithub.com\u002Fsloria\u002Fwebargs)：一个解析 HTTP 请求参数的库，内置对流行 web 框架的支持，包括 Flask, Django, Bottle, Tornado 和 Pyramid。\r\n\r\n### HTML 处理\r\n\r\n处理 HTML 和 XML 的库。\r\n\r\n*   [BeautifulSoup](http:\u002F\u002Fwww.crummy.com\u002Fsoftware\u002FBeautifulSoup\u002Fbs4\u002Fdoc\u002F)：以 Python 风格的方式来对 HTML 或 XML 进行迭代，搜索和修改。\r\n*   [bleach](http:\u002F\u002Fbleach.readthedocs.org\u002Fen\u002Flatest\u002F)：一个基于白名单的 HTML 清理和文本链接库。\r\n*   [cssutils](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fcssutils\u002F)：一个 Python 的 CSS 库。\r\n*   [html5lib](https:\u002F\u002Fgithub.com\u002Fhtml5lib\u002Fhtml5lib-python)：一个兼容标准的 HTML 文档和片段解析及序列化库。\r\n*   [lxml](http:\u002F\u002Flxml.de\u002F)：一个非常快速，简单易用，功能齐全的库，用来处理 HTML 和 XML。\r\n*   [MarkupSafe](https:\u002F\u002Fgithub.com\u002Fpallets\u002Fmarkupsafe)：为 Python 实现 XML\u002FHTML\u002FXHTML 标记安全字符串。\r\n*   [pyquery](https:\u002F\u002Fgithub.com\u002Fgawel\u002Fpyquery)：一个解析 HTML 的库，类似 jQuery。\r\n*   [requests-html](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Frequests-html)：人性化的，Pythonic 的 HTML 解析库。\r\n*   [untangle](https:\u002F\u002Fgithub.com\u002Fstchris\u002Funtangle)：将 XML 文档转换为 Python 对象，使其可以方便的访问。\r\n*   [xhtml2pdf](https:\u002F\u002Fgithub.com\u002Fxhtml2pdf\u002Fxhtml2pdf)：HTML\u002FCSS 转 PDF 工具。\r\n*   [xmltodict](https:\u002F\u002Fgithub.com\u002Fmartinblech\u002Fxmltodict)：像处理 JSON 一样处理 XML。\r\n*   [WeasyPrint](http:\u002F\u002Fweasyprint.org)：用于HTML和CSS的可视化呈现引擎，并可以导出为 PDF。\r\n*   [xmldataset](https:\u002F\u002Fxmldataset.readthedocs.io\u002Fen\u002Flatest\u002F)：简单 XML 解析。\r\n\r\n爬取网络站点的库\r\n\r\n*   [Scrapy](http:\u002F\u002Fscrapy.org\u002F)：一个快速高级的屏幕爬取及网页采集框架。\r\n*   [ScrapydWeb](https:\u002F\u002Fgithub.com\u002Fmy8100\u002Fscrapydweb)：一个用于 Scrapyd 集群管理的全功能 web UI，支持 Scrapy 日志分析和可视化，自动打包，定时器任务和邮件通知等特色功能。\r\n*   [cola](https:\u002F\u002Fgithub.com\u002Fchineking\u002Fcola)：一个分布式爬虫框架。\r\n*   [Demiurge](https:\u002F\u002Fgithub.com\u002Fmatiasb\u002Fdemiurge)：基于 PyQuery 的爬虫微型框架。\r\n*   [feedparser](http:\u002F\u002Fpythonhosted.org\u002Ffeedparser\u002F)：通用 feed 解析器。\r\n*   [Grab](http:\u002F\u002Fgrablib.org\u002F)：站点爬取框架。\r\n*   [MechanicalSoup](https:\u002F\u002Fgithub.com\u002Fhickford\u002FMechanicalSoup)：用于自动和网络站点交互的 Python 库。\r\n*   [portia](https:\u002F\u002Fgithub.com\u002Fscrapinghub\u002Fportia)：Scrapy 可视化爬取。\r\n*   [pyspider](https:\u002F\u002Fgithub.com\u002Fbinux\u002Fpyspider)：一个强大的爬虫系统。\r\n*   [RoboBrowser](https:\u002F\u002Fgithub.com\u002Fjmcarp\u002Frobobrowser)：一个简单的，Python 风格的库，用来浏览网站，而不需要一个独立安装的浏览器。\r\n\r\n### 网页内容提取\r\n\r\n用于进行网页内容提取的库。\r\n\r\n*   [Haul](https:\u002F\u002Fgithub.com\u002Fvinta\u002FHaul)：一个可以扩展的图像爬取工具。\r\n*   [html2text](https:\u002F\u002Fgithub.com\u002FAlir3z4\u002Fhtml2text)：将 HTML 转换为 Markdown 格式文本。\r\n*   [lassie](https:\u002F\u002Fgithub.com\u002Fmichaelhelmick\u002Flassie)：人性化的网页内容检索库。\r\n*   [micawber](https:\u002F\u002Fgithub.com\u002Fcoleifer\u002Fmicawber)：一个小型网页内容提取库，用来从 URLs 提取富内容。\r\n*   [newspaper](https:\u002F\u002Fgithub.com\u002Fcodelucas\u002Fnewspaper)：使用 Python 进行新闻提取，文章提取以及内容策展。\r\n*   [opengraph](https:\u002F\u002Fgithub.com\u002Ferikriver\u002Fopengraph)：一个用来解析开放内容协议(Open Graph Protocol)的 Python 模块。\r\n*   [python-goose](https:\u002F\u002Fgithub.com\u002Fgrangier\u002Fpython-goose)：HTML 内容\u002F文章提取器(python2)。\r\n*   [goose3](https:\u002F\u002Fgithub.com\u002Fgoose3\u002Fgoose3)：HTML 内容\u002F文章提取器(python3)。\r\n*   [python-readability](https:\u002F\u002Fgithub.com\u002Fburiy\u002Fpython-readability)：arc90 公司 readability 工具的 Python 高速端口。\r\n*   [sanitize](https:\u002F\u002Fgithub.com\u002FAlir3z4\u002Fpython-sanitize)：为杂乱的数据世界带来调理性。\r\n*   [sumy](https:\u002F\u002Fgithub.com\u002Fmiso-belica\u002Fsumy)：一个为文本文件和 HTML 页面进行自动摘要的模块。\r\n*   [textract](https:\u002F\u002Fgithub.com\u002Fdeanmalmgren\u002Ftextract)：从任何格式的文档中提取文本，Word，PowerPoint，PDFs 等等。\r\n\r\n### 表单\r\n\r\n进行表单操作的库。\r\n\r\n*   [Deform](http:\u002F\u002Fdeform.readthedocs.org\u002Fen\u002Flatest\u002F)：Python HTML 表单生成库，受到了 formish 表单生成库的启发。\r\n*   [django-bootstrap3](https:\u002F\u002Fgithub.com\u002Fdyve\u002Fdjango-bootstrap3)：集成了 Bootstrap 3 的 Django。\r\n*   [django-bootstrap4](https:\u002F\u002Fgithub.com\u002Fzostera\u002Fdjango-bootstrap4)：集成了 Bootstrap 4 的 Django。\r\n*   [django-crispy-forms](http:\u002F\u002Fdjango-crispy-forms.readthedocs.org\u002Fen\u002Flatest\u002F)：一个 Django 应用，他可以让你以一种非常优雅且 DRY (Don't repeat yourself) 的方式来创建美观的表单。\r\n*   [django-remote-forms](https:\u002F\u002Fgithub.com\u002FWiserTogether\u002Fdjango-remote-forms)：一个平台独立的 Django 表单序列化工具。\r\n*   [WTForms](http:\u002F\u002Fwtforms.readthedocs.org\u002Fen\u002Flatest\u002F)：一个灵活的表单验证和呈现库。\r\n*   [WTForms-JSON](http:\u002F\u002Fwtforms-json.readthedocs.org\u002Fen\u002Flatest\u002F)：一个 WTForms 扩展，用来处理 JSON 数据。\r\n\r\n### 数据验证\r\n\r\n数据验证库。多用于表单验证。\r\n\r\n*   [Cerberus](http:\u002F\u002Fdocs.python-cerberus.org\u002Fen\u002Fstable\u002F)：一个映射验证器（mappings-validator）。支持多种规则，提供归一化功能，可以方便地定制为 Python 风格的 schema 定义。\r\n*   [colander](http:\u002F\u002Fdocs.pylonsproject.org\u002Fprojects\u002Fcolander\u002Fen\u002Flatest\u002F)：一个用于对从 XML, JSON，HTML 表单获取的数据或其他同样简单的序列化数据进行验证和反序列化的系统。\r\n*   [kmatch](https:\u002F\u002Fgithub.com\u002Fambitioninc\u002Fkmatch)：一种用于匹配\u002F验证\u002F筛选 Python 字典的语言。\r\n*   [schema](https:\u002F\u002Fgithub.com\u002Fkeleshev\u002Fschema)：一个用于对 Python 数据结构进行验证的库。\r\n*   [Schematics](https:\u002F\u002Fgithub.com\u002Fschematics\u002Fschematics)：数据结构验证。\r\n*   [valideer](https:\u002F\u002Fgithub.com\u002Fpodio\u002Fvalideer)：轻量级可扩展的数据验证和适配库。\r\n*   [voluptuous](https:\u002F\u002Fgithub.com\u002Falecthomas\u002Fvoluptuous)：一个 Python 数据验证库。主要是为了验证传入 Python 的 JSON，YAML 等数据。\r\n*   [jsonschema](https:\u002F\u002Fgithub.com\u002FJulian\u002Fjsonschema)：[JSON Schema](http:\u002F\u002Fjson-schema.org\u002F) 的 python 实现，用于 JSON 数据的验证。\r\n\r\n### 序列化\r\n\r\n复杂数据类型序列化相关库。\r\n\r\n* [marshmallow](https:\u002F\u002Fgithub.com\u002Fmarshmallow-code\u002Fmarshmallow)：一个轻量级的库，用于将复杂对象与简单 Python 数据类型相互转换。\r\n* [pysimdjson](https:\u002F\u002Fgithub.com\u002FTkTech\u002Fpysimdjson)：与 Python 绑定的 [simdjson](https:\u002F\u002Fgithub.com\u002Flemire\u002Fsimdjson) 。\r\n* [python-rapidjson](https:\u002F\u002Fgithub.com\u002Fpython-rapidjson\u002Fpython-rapidjson)： [RapidJSON](https:\u002F\u002Fgithub.com\u002FTencent\u002Frapidjson) 的 Python 封装。\r\n* [ultrajson](https:\u002F\u002Fgithub.com\u002Fesnme\u002Fultrajson)：使用 Python 绑定的，用 C 编写的快速 JSON 解码器和编码器。\r\n\r\n### 反垃圾技术\r\n\r\n帮助你和电子垃圾进行战斗的库。\r\n\r\n*   [django-simple-captcha](https:\u002F\u002Fgithub.com\u002Fmbi\u002Fdjango-simple-captcha)：一个简单、高度可定制的 Django 应用，可以为任何 Django 表单添加验证码。\r\n*   [django-simple-spam-blocker](https:\u002F\u002Fgithub.com\u002Fmoqada\u002Fdjango-simple-spam-blocker)：一个用于 Django 的简单的电子垃圾屏蔽工具。\r\n\r\n### 标记\r\n\r\n用来进行标记的库。\r\n\r\n*   [django-taggit](https:\u002F\u002Fgithub.com\u002Falex\u002Fdjango-taggit)：简单的 Django 标记工具。\r\n\r\n### 管理面板\r\n\r\n管理界面库。\r\n\r\n*   [Ajenti](https:\u002F\u002Fgithub.com\u002Fajenti\u002Fajenti)：一个你的服务器值得拥有的管理面板。\r\n*   [django-suit](http:\u002F\u002Fdjangosuit.com\u002F)：Django 管理界面的一个替代品（仅对于非商业用途是免费的）。\r\n*   [django-xadmin](https:\u002F\u002Fgithub.com\u002Fsshwsfc\u002Fdjango-xadmin)：Django admin 的一个替代品，具有很多不错的功能。\r\n*   [flask-admin](https:\u002F\u002Fgithub.com\u002Fflask-admin\u002Fflask-admin)：一个用于 Flask 的简单可扩展的管理界面框架。\r\n*   [flower](https:\u002F\u002Fgithub.com\u002Fmher\u002Fflower)：一个对 Celery 集群进行实时监控和提供 web 管理界面的工具。\r\n*   [Grappelli](http:\u002F\u002Fgrappelliproject.com\u002F)：Django 管理界面的一个漂亮的皮肤。\r\n*   [Wooey](https:\u002F\u002Fgithub.com\u002Fwooey\u002Fwooey)：一个 Django 应用，可以为 Python 脚本创建 web 用户界面。\r\n*   [django-grappelli](https:\u002F\u002Fgrappelliproject.com\u002F)：拥有绚丽外观的 Django Admin 界面。\r\n*   [django-jet](https:\u002F\u002Fgithub.com\u002Fgeex-arts\u002Fdjango-jet)：具有改进功能的现代响应式 Django 管理界面模板。\r\n* [jet-bridge](https:\u002F\u002Fgithub.com\u002Fjet-admin\u002Fjet-bridge)：管理面板框架，适用于任何具有良好 UI 的应用（例如 Django）。\r\n\r\n### Serverless 框架\r\n\r\n使用 Python 开发 Serverless 模型相关的库。\r\n\r\n* [python-lambda](https:\u002F\u002Fgithub.com\u002Fnficano\u002Fpython-lambda) ：在 AWS Lambda 开发和部署 Python 代码的工具包。\r\n* [Zappa](https:\u002F\u002Fgithub.com\u002FMiserlou\u002FZappa)：在 AWS Lambda 和 API Gateway 部署 WSGI 应用的工具。\r\n\r\n### 静态站点生成器\r\n\r\n静态站点生成器是一个软件，它把文本和模板作为输入，然后输出 HTML 文件。\r\n\r\n*   [Pelican](http:\u002F\u002Fblog.getpelican.com\u002F)：使用 Markdown 或 ReST 来处理内容， Jinja 2 来制作主题。支持 DVCS, Disqus.。AGPL 许可。\r\n*   [Cactus](https:\u002F\u002Fgithub.com\u002Fkoenbok\u002FCactus\u002F)：为设计师设计的静态站点生成器。\r\n*   [Hyde](http:\u002F\u002Fhyde.github.io\u002F)：基于 Jinja2 的静态站点生成器。\r\n*   [Nikola](https:\u002F\u002Fwww.getnikola.com\u002F)：一个静态网站和博客生成器。\r\n*   [Tinkerer](http:\u002F\u002Ftinkerer.me\u002F)：Tinkerer 是一个博客引擎\u002F静态站点生成器，由 Sphinx 驱动。\r\n*   [Lektor](https:\u002F\u002Fwww.getlektor.com\u002F)：一个简单易用的静态 CMS 和博客引擎。\r\n*   [makesite](https:\u002F\u002Fgithub.com\u002Fsunainapai\u002Fmakesite)：简单轻量的站点\u002F博客生成器（小于 130 行代码）。\r\n\r\n### 进程\r\n\r\n操作系统进程启动及通信库。\r\n\r\n*   [envoy](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Fenvoy)：比 Python [subprocess](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fsubprocess.html) 模块更人性化。\r\n*   [sarge](http:\u002F\u002Fsarge.readthedocs.org\u002Fen\u002Flatest\u002F)：另一 种 subprocess 模块的封装。\r\n*   [sh](https:\u002F\u002Fgithub.com\u002Famoffat\u002Fsh)：一个完备的 subprocess 替代库。\r\n*   [delegator.py](https:\u002F\u002Fgithub.com\u002Famitt001\u002Fdelegator.py)：人性化的 [Subprocesses](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fsubprocess.html) 2.0 版本。\r\n\r\n### 并发和并行\r\n\r\n用以进行并发和并行操作的库。\r\n\r\n*   [multiprocessing](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fmultiprocessing.html)：(Python 标准库) 基于进程的“线程”接口。\r\n*   [threading](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fthreading.html)：(Python 标准库)更高层的线程接口。\r\n*   [eventlet](http:\u002F\u002Feventlet.net\u002F)：支持 WSGI 的异步框架。\r\n*   [gevent](http:\u002F\u002Fwww.gevent.org\u002F)：一个基于协程的 Python 网络库，使用 [greenlet](https:\u002F\u002Fgithub.com\u002Fpython-greenlet\u002Fgreenlet)。\r\n*   [Tomorrow](https:\u002F\u002Fgithub.com\u002Fmadisonmay\u002FTomorrow)：用于产生异步代码的神奇的装饰器语法实现。\r\n*   [uvloop](https:\u002F\u002Fgithub.com\u002FMagicStack\u002Fuvloop)：在 libuv 之上超快速实现 asyncio 事件循环。\r\n*   [concurrent.futures](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fconcurrent.futures.html)：(Python 标准库) 异步执行可调用对象的高级接口。\r\n*   [gevent](http:\u002F\u002Fwww.gevent.org\u002F)：使用 [greenlet](https:\u002F\u002Fgithub.com\u002Fpython-greenlet\u002Fgreenlet) 且基于协程的 Python 网络库。\r\n*   [scoop](https:\u002F\u002Fgithub.com\u002Fsoravux\u002Fscoop)：支持在 Python 中进行可伸缩并行操作。\r\n\r\n### 网络\r\n\r\n用于网络编程的库。\r\n\r\n*   [asyncio](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fasyncio.html)：(Python 标准库) 异步 I\u002FO，事件循环，协程以及任务。\r\n*   [trio](https:\u002F\u002Fgithub.com\u002Fpython-trio\u002Ftrio)：异步并发和 I\u002FO 友好的库。\r\n*   [Twisted](https:\u002F\u002Ftwistedmatrix.com\u002Ftrac\u002F)：一个事件驱动的网络引擎。\r\n*   [pulsar](https:\u002F\u002Fgithub.com\u002Fquantmind\u002Fpulsar)：事件驱动的并发框架。\r\n*   [diesel](https:\u002F\u002Fgithub.com\u002Fdieseldev\u002Fdiesel)：基于 Greenlet 的事件 I\u002FO 框架。\r\n*   [pyzmq](http:\u002F\u002Fzeromq.github.io\u002Fpyzmq\u002F)：一个 ZeroMQ 消息库的 Python 封装。\r\n*   [Toapi](https:\u002F\u002Fgithub.com\u002Fgaojiuli\u002Ftoapi)：一个轻巧，简单，快速的 Flask 库，致力于为所有网站提供 API 服务。\r\n*   [txZMQ](https:\u002F\u002Fgithub.com\u002Fsmira\u002FtxZMQ)：基于 Twisted 的 ZeroMQ 消息库的 Python 封装。\r\n\r\n### WebSocket\r\n\r\n帮助使用 WebSocket 的库。\r\n\r\n*   [AutobahnPython](https:\u002F\u002Fgithub.com\u002Fcrossbario\u002Fautobahn-python)：给 Python、使用的 WebSocket & WAMP 基于 Twisted 和 [asyncio](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fasyncio.html)。\r\n*   [Crossbar](https:\u002F\u002Fgithub.com\u002Fcrossbario\u002Fcrossbar\u002F)：开源统一应用路由(Websocket & WAMP for Python on Autobahn)。\r\n*   [django-socketio](https:\u002F\u002Fgithub.com\u002Fstephenmcd\u002Fdjango-socketio)：给 Django 用的 WebSockets。\r\n*   [WebSocket-for-Python](https:\u002F\u002Fgithub.com\u002FLawouach\u002FWebSocket-for-Python)：为 Python2\u002F3 以及 PyPy 编写的 WebSocket 客户端和服务器库。\r\n\r\n### WSGI 服务器\r\n\r\n兼容 WSGI 的 web 服务器\r\n\r\n*   [gunicorn](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fgunicorn)：Pre-forked, 部分是由 C 语言编写的。\r\n*   [uwsgi](https:\u002F\u002Fuwsgi-docs.readthedocs.org\u002Fen\u002Flatest\u002F)：uwsgi 项目的目的是开发一组全栈工具，用来建立托管服务，由 C 语言编写。\r\n*   [bjoern](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fbjoern)：异步，非常快速，由 C 语言编写。\r\n*   [fapws3](http:\u002F\u002Fwww.fapws.org\u002F)：异步 (仅对于网络端)，由 C 语言编写。\r\n*   [meinheld](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fmeinheld)：异步，部分是由 C 语言编写的。\r\n*   [netius](https:\u002F\u002Fgithub.com\u002Fhivesolutions\u002Fnetius)：异步，非常快速。\r\n*   [paste](http:\u002F\u002Fpythonpaste.org\u002F)：多线程，稳定，久经考验。\r\n*   [rocket](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Frocket)：多线程。\r\n*   [waitress](https:\u002F\u002Fwaitress.readthedocs.org\u002Fen\u002Flatest\u002F)：多线程，是它驱动着 Pyramid 框架。\r\n*   [Werkzeug](http:\u002F\u002Fwerkzeug.pocoo.org\u002F)：一个 WSGI 工具库，驱动着 Flask，而且可以很方便大嵌入到你的项目中去。\r\n\r\n### ASGI 服务器\r\n\r\n兼容 ASGI 的 web 服务器。\r\n\r\n* [daphne](https:\u002F\u002Fgithub.com\u002Fdjango\u002Fdaphne)：用于 ASGI 和 ASGI-HTTP 的，支持 HTTP，HTTP2 和 WebSocket 协议的服务器。\r\n* [uvicorn](https:\u002F\u002Fgithub.com\u002Fencode\u002Fuvicorn)：使用 uvloop 和 httptools 实现的闪电般快速的 ASGI 服务器。\r\n\r\n### RPC 服务器\r\n\r\n兼容 RPC 的服务器。\r\n\r\n*   [SimpleJSONRPCServer](https:\u002F\u002Fgithub.com\u002Fjoshmarshall\u002Fjsonrpclib\u002F)：这个库是 JSON-RPC 规范的一个实现。\r\n*   [SimpleXMLRPCServer](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fsimplexmlrpcserver.html)：(Python 标准库) 简单的 XML-RPC 服务器实现，单线程。\r\n*   [zeroRPC](https:\u002F\u002Fgithub.com\u002F0rpc\u002Fzerorpc-python)：zerorpc 是一个灵活的 RPC 实现，基于 [ZeroMQ](http:\u002F\u002Fzeromq.org\u002F) 和 [MessagePack](http:\u002F\u002Fmsgpack.org\u002F)。\r\n*   [RPyC](https:\u002F\u002Fgithub.com\u002Ftomerfiliba\u002Frpyc) (Remote Python Call)：适用于 Python 的透明且对称的RPC库。\r\n\r\n### 密码学\r\n\r\n*   [cryptography](https:\u002F\u002Fcryptography.io\u002Fen\u002Flatest\u002F)：这个软件包意在提供密码学基本内容和方法提供给 Python 开发者。\r\n*   [hashids](https:\u002F\u002Fgithub.com\u002Fdavidaurelio\u002Fhashids-python)：在 Python 中实现 [hashids](http:\u002F\u002Fhashids.org\u002F) 。\r\n*   [Paramiko](http:\u002F\u002Fwww.paramiko.org\u002F)：SSHv2 协议的 Python (2.6+, 3.3+) ，提供客户端和服务端的功能。\r\n*   [Passlib](https:\u002F\u002Fpythonhosted.org\u002Fpasslib\u002F)：安全密码存储／哈希库。\r\n*   [PyCrypto](https:\u002F\u002Fwww.dlitz.net\u002Fsoftware\u002Fpycrypto\u002F)：Python 密码学工具箱。\r\n*   [PyNacl](https:\u002F\u002Fgithub.com\u002Fpyca\u002Fpynacl)：网络和密码学(NaCl) 库的 Python 绑定。\r\n\r\n### 图形用户界面\r\n\r\n用来创建图形用户界面程序的库。\r\n\r\n*   [curses](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fcurses.html#module-curses)：内建的 [ncurses](http:\u002F\u002Fwww.gnu.org\u002Fsoftware\u002Fncurses\u002F) 封装，用来创建终端图形用户界面。\r\n*   [enaml](https:\u002F\u002Fgithub.com\u002Fnucleic\u002Fenaml)：使用类似 QML 的 Declaratic 语法来创建美观的用户界面。\r\n*   [kivy](https:\u002F\u002Fkivy.org\u002F)：一个用来创建自然用户交互（NUI）应用程序的库，可以运行在 Windows, Linux, Mac OS X, Android 以及 iOS 平台上。\r\n*   [pyglet](https:\u002F\u002Fbitbucket.org\u002Fpyglet\u002Fpyglet\u002Fwiki\u002FHome)：一个 Python 的跨平台窗口及多媒体库。\r\n*   [PyQt](https:\u002F\u002Friverbankcomputing.com\u002Fsoftware\u002Fpyqt\u002Fintro)：跨平台用户界面框架 [Qt](http:\u002F\u002Fwww.qt.io\u002F) 的 Python 绑定 ，支持 Qt v4 和 Qt v5。\r\n*   [PySide](https:\u002F\u002Fwiki.qt.io\u002FPySide)：跨平台用户界面框架 [Qt](http:\u002F\u002Fwww.qt.io\u002F) 的 Python 绑定 ，支持 Qt v4。\r\n*   [Tkinter](https:\u002F\u002Fwiki.python.org\u002Fmoin\u002FTkInter)：Tkinter 是 Python GUI 的一个事实标准库。\r\n*   [Toga](https:\u002F\u002Fgithub.com\u002Fpybee\u002Ftoga)：一个 Python 原生的，操作系统原生的 GUI 工具包。\r\n*   [urwid](http:\u002F\u002Furwid.org\u002F)：一个用来创建终端 GUI 应用的库，支持组件，事件和丰富的色彩等。\r\n*   [wxPython](http:\u002F\u002Fwxpython.org\u002F)：wxPython 是 wxWidgets C++ 类库和 Python 语言混合的产物。\r\n*   [PyGObject](https:\u002F\u002Fwiki.gnome.org\u002FProjects\u002FPyGObject)：GLib\u002FGObject\u002FGIO\u002FGTK+ (GTK+3) 的 Python 绑定。\r\n*   [Flexx](https:\u002F\u002Fgithub.com\u002FzoofIO\u002Fflexx)：Flexx 是一个纯 Python 语言编写的用来创建 GUI 程序的工具集，它使用 web 技术进行界面的展示。\r\n*   [Eel](https:\u002F\u002Fgithub.com\u002FChrisKnott\u002FEel)：用于制作简单离线 HTML\u002FJS GUI 应用的库。\r\n*   [PySimpleGUI](https:\u002F\u002Fgithub.com\u002FPySimpleGUI\u002FPySimpleGUI)：tkinter，Qt，WxPython 和 Remi 的封装。\r\n*   [pywebview](https:\u002F\u002Fgithub.com\u002Fr0x0r\u002Fpywebview\u002F)：围绕网页视图组件的轻量级跨平台的原生包装。\r\n*   [DearPyGui](https:\u002F\u002Fgithub.com\u002FRaylockLLC\u002FDearPyGui\u002F)：一个简单的可使用 GPU 加速的 Python GUI 框架。\r\n\r\n### 游戏开发\r\n\r\n超赞的游戏开发库。\r\n\r\n*   [Cocos2d](http:\u002F\u002Fcocos2d.org\u002F)：cocos2d 是一个用来开发 2D 游戏， 示例和其他图形\u002F交互应用的框架。基于 pyglet。\r\n*   [Panda3D](https:\u002F\u002Fwww.panda3d.org\u002F)：由迪士尼开发的 3D 游戏引擎，并由卡内基梅陇娱乐技术中心负责维护。使用 C++ 编写, 针对 Python 进行了完全的封装。\r\n*   [Pygame](http:\u002F\u002Fwww.pygame.org\u002Fnews.html)：Pygame 是一组 Python 模块，用来编写游戏。\r\n*   [PyOgre](http:\u002F\u002Fwww.ogre3d.org\u002Ftikiwiki\u002FPyOgre)：Ogre 3D 渲染引擎的 Python 绑定，可以用来开发游戏和仿真程序等任何 3D 应用。\r\n*   [PyOpenGL](http:\u002F\u002Fpyopengl.sourceforge.net\u002F)：OpenGL 的 Python 绑定及其相关 APIs。\r\n*   [PySDL2](http:\u002F\u002Fpysdl2.readthedocs.org\u002Fen\u002Flatest\u002F)：SDL2 库的封装，基于 ctypes。\r\n*   [RenPy](https:\u002F\u002Fwww.renpy.org\u002F)：一个视觉小说（visual novel）引擎。\r\n*   [Arcade](https:\u002F\u002Farcade.academy\u002Findex.html)：一个现代 Python 框架，用于制作具有引人入胜的图形与声音的游戏。\r\n*   [Harfang3D](http:\u002F\u002Fwww.harfang3d.com)：支持3D，VR 与游戏开发的 Python 框架。\r\n\r\n### 日志\r\n\r\n用来生成和操作日志的库。\r\n\r\n*   [logging](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Flogging.html)：(Python 标准库) 为 Python 提供日志功能。\r\n*   [logbook](http:\u002F\u002Fpythonhosted.org\u002FLogbook\u002F)：Logging 库的替代品。\r\n*   [Eliot](https:\u002F\u002Feliot.readthedocs.org\u002Fen\u002Flatest\u002F)：为复杂的和分布式系统创建日志。\r\n*   [Raven](http:\u002F\u002Fraven.readthedocs.org\u002Fen\u002Flatest\u002F)：Sentry 的 Python 客户端。\r\n*   [Sentry](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fsentry)：实时记录和收集日志的服务器。\r\n*   [sentry-python](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-python)：Python 版 Sentry SDK。\r\n*   [loguru](https:\u002F\u002Fgithub.com\u002FDelgan\u002Floguru)：旨在带来愉悦体验的 Python 日志库。\r\n*   [structlog](https:\u002F\u002Fwww.structlog.org\u002Fen\u002Fstable\u002F)：结构化日志，让日志变得简单。\r\n\r\n### 测试\r\n\r\n进行代码库测试和生成测试数据的库。\r\n\r\n*   测试框架\r\n    *   [unittest](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Funittest.html)：(Python 标准库) 单元测试框架。\r\n    *   [nose](https:\u002F\u002Fnose.readthedocs.org\u002Fen\u002Flatest\u002F)：nose 扩展了 unittest 的功能。\r\n    *   [nose2](https:\u002F\u002Fgithub.com\u002Fnose-devs\u002Fnose2) `nose`的继任者，基于 `unittest2`。\r\n    *   [contexts](https:\u002F\u002Fgithub.com\u002Fbenjamin-hodgson\u002FContexts)：一个 Python 3.3+ 的 BDD 框架。受到 C#  Machine.Specifications 的启发。\r\n    *   [hypothesis](https:\u002F\u002Fgithub.com\u002FDRMacIver\u002Fhypothesis)：Hypothesis 是一个基于先进的 Quickcheck 风格特性的测试库。\r\n    *   [mamba](http:\u002F\u002Fnestorsalceda.github.io\u002Fmamba\u002F)：Python 的终极测试工具， 拥护 BDD。\r\n    *   [pyshould](https:\u002F\u002Fgithub.com\u002Fdrslump\u002Fpyshould)：Should 风格的断言，基于 [PyHamcrest](https:\u002F\u002Fgithub.com\u002Fhamcrest\u002FPyHamcrest)。\r\n    *   [pytest](http:\u002F\u002Fpytest.org\u002Flatest\u002F)：一个成熟的全功能 Python 测试工具。\r\n    *   [green](https:\u002F\u002Fgithub.com\u002FCleanCut\u002Fgreen)：干净，多彩的测试工具。\r\n    *   [pyvows](http:\u002F\u002Fheynemann.github.io\u002Fpyvows\u002F)：BDD 风格的测试工具，受 Vows.js 的启发。\r\n    *   [Robot Framework](https:\u002F\u002Fgithub.com\u002Frobotframework\u002Frobotframework)：一个通用的自动化测试框架。\r\n    *   [tox](https:\u002F\u002Ftox.readthedocs.io\u002Fen\u002Flatest\u002F)：自动化测试与发布的工具，支持多个 Python 版本。\r\n*   GUI \u002F Web 测试\r\n    *   [Selenium](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fselenium)：[Selenium](http:\u002F\u002Fwww.seleniumhq.org\u002F) WebDriver 的 Python 绑定。\r\n    *   [PyAutoGUI](https:\u002F\u002Fgithub.com\u002Fasweigart\u002Fpyautogui)：PyAutoGUI 是一个人性化的跨平台 GUI 自动测试模块。\r\n    *   [locust](https:\u002F\u002Fgithub.com\u002Flocustio\u002Flocust)：使用 Python 编写的，可扩展的用户加载测试工具。\r\n    *   [sixpack](https:\u002F\u002Fgithub.com\u002Fseatgeek\u002Fsixpack)：一个和语言无关的 A\u002FB 测试框架。\r\n    *   [splinter](https:\u002F\u002Fsplinter.readthedocs.org\u002Fen\u002Flatest\u002F)：开源的 web 应用测试工具。\r\n    *   [Schemathesis](https:\u002F\u002Fgithub.com\u002Fkiwicom\u002Fschemathesis)：基于属性的自动测试工具，用于测试使用 Open API \u002F Swagger 规范构建的 Web 应用程序。\r\n*   Mock 测试\r\n    *   [mock](https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Funittest.mock.html)：(Python 标准库) 一个用于伪造测试的库。\r\n    *   [doublex](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fdoublex)：Python 的一个功能强大的 doubles 测试框架。\r\n    *   [freezegun](https:\u002F\u002Fgithub.com\u002Fspulec\u002Ffreezegun)：通过伪造日期模块来生成不同的时间。\r\n    *   [httmock](https:\u002F\u002Fgithub.com\u002Fpatrys\u002Fhttmock)：针对 Python 2.6+ 和 3.2+ 生成 伪造请求的库。\r\n    *   [httpretty](http:\u002F\u002Ffalcao.it\u002FHTTPretty\u002F)：Python 的 HTTP 请求 mock 工具。\r\n    *   [responses](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fresponses)：伪造 Python 中的 requests 库的一个通用库。\r\n    *   [VCR.py](https:\u002F\u002Fgithub.com\u002Fkevin1024\u002Fvcrpy)：在你的测试中记录和重放 HTTP 交互。\r\n    *   [mocket](https:\u002F\u002Fgithub.com\u002Fmindflayer\u002Fpython-mocket)：gevent\u002Fasyncio\u002FSSL 支持的 socket mock 框架。\r\n*   对象工厂\r\n    *   [factoryboy](https:\u002F\u002Fgithub.com\u002Frbarrois\u002Ffactoryboy)：一个 Python 用的测试固件 (test fixtures) 替代库。\r\n    *   [mixer](https:\u002F\u002Fgithub.com\u002Fklen\u002Fmixer)：另外一个测试固件 (test fixtures) 替代库，支持 Django, Flask, SQLAlchemy, Peewee 等。\r\n    *   [modelmommy](https:\u002F\u002Fgithub.com\u002Fvandersonmota\u002Fmodelmommy)：为 Django 测试创建随机固件。\r\n*   代码覆盖率\r\n    *   [coverage](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fcoverage)：代码覆盖率测量。\r\n    *   [Codecov](https:\u002F\u002Fcodecov.io\u002F)：一个代码覆盖率测试工具，为开源项目提供免费代码覆盖率测试服务。\r\n*   伪数据\r\n    *   [faker](http:\u002F\u002Fwww.joke2k.net\u002Ffaker\u002F)：一个 Python 库，用来生成伪数据。\r\n    *   [fake2db](https:\u002F\u002Fgithub.com\u002Femirozer\u002Ffake2db)：伪数据库生成器。\r\n    *   [mimesis](https:\u002F\u002Fgithub.com\u002Flk-geimfari\u002Fmimesis)：一个帮助你生成伪数据的 Python 库。\r\n    *   [radar](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fradar)：生成随机的日期\u002F时间。\r\n*   错误处理\r\n    *   [FuckIt.py](https:\u002F\u002Fgithub.com\u002Fajalt\u002Ffuckitpy)：使用最先进的技术来保证你的 Python 代码无论对错都能继续运行。\r\n\r\n### 渗透测试\r\n\r\n渗透测试相关框架和工具。\r\n\r\n* [fsociety](https:\u002F\u002Fgithub.com\u002FManisso\u002Ffsociety)：一款渗透测试框架。\r\n* [setoolkit](https:\u002F\u002Fgithub.com\u002Ftrustedsec\u002Fsocial-engineer-toolkit)：社会工程工具包。\r\n* [sqlmap](https:\u002F\u002Fgithub.com\u002Fsqlmapproject\u002Fsqlmap)：自动 SQL 注入和数据库接管工具。\r\n\r\n### 代码分析和 Lint 工具\r\n\r\n进行代码分析、解析和操作代码库的库和工具。\r\n\r\n*   代码分析\r\n    *   [coala](http:\u002F\u002Fcoala-analyzer.org\u002F)：语言独立和易于扩展的代码分析应用程序。\r\n    *   [code2flow](https:\u002F\u002Fgithub.com\u002Fscottrogowski\u002Fcode2flow)：把你的 Python 和 JavaScript 代码转换为流程图。\r\n    *   [pycallgraph](https:\u002F\u002Fgithub.com\u002Fgak\u002Fpycallgraph)：这个库可以把你的 Python 应用的流程(调用图)进行可视化。\r\n    *   [pysonar2](https:\u002F\u002Fgithub.com\u002Fyinwang0\u002Fpysonar2)：Python 类型推断和检索工具。\r\n    *   [prospector](https:\u002F\u002Fgithub.com\u002FPyCQA\u002Fprospector)：分析 Python 代码的工具。\r\n    *   [vulture](https:\u002F\u002Fgithub.com\u002Fjendrikseipp\u002Fvulture)：用于发现和分析无效 Python 代码的工具。\r\n    \r\n* Lint 工具\r\n  *   [Flake8](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fflake8)：模块化源码检查工具，提供与 `pycodestyle`、`pyflakes` 、McCabe 相关的装饰器。\r\n      * [awesome-flake8-extensions](https:\u002F\u002Fgithub.com\u002FDmytroLitvinov\u002Fawesome-flake8-extensions)\r\n\r\n  *   [Pylint](https:\u002F\u002Fwww.pylint.org\u002F)：一个完全可定制的源码分析器。\r\n  *   [YAPF](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fyapf)：Google 的 Python 代码格式化工具。\r\n  *   [pylama](https:\u002F\u002Fpylama.readthedocs.org\u002Fen\u002Flatest\u002F)：Python 和 JavaScript 的代码审查工具。\r\n  *   [wemake-python-styleguide](https:\u002F\u002Fgithub.com\u002Fwemake-services\u002Fwemake-python-styleguide)：有史以来最严格的 Python 代码审查工具。\r\n\r\n*   代码格式化\r\n    *   [autopep8](https:\u002F\u002Fgithub.com\u002Fhhatto\u002Fautopep8)：自动格式化 Python 代码，以使其符合 PEP8 规范。\r\n    *   [black](https:\u002F\u002Fgithub.com\u002Fambv\u002Fblack)：一个坚定的 Python 代码格式化工具。\r\n    *   [isort](https:\u002F\u002Fgithub.com\u002Ftimothycrosley\u002Fisort)：用于纠正包导入顺序的 Python 库。\r\n    \r\n*   静态类型检查，也可以参考 [awesome-python-typing](https:\u002F\u002Fgithub.com\u002Ftypeddjango\u002Fawesome-python-typing)\r\n\r\n    * [mypy](http:\u002F\u002Fmypy-lang.org\u002F)：在编译期间检查变量类型。\r\n    * [pyre-check](https:\u002F\u002Fgithub.com\u002Ffacebook\u002Fpyre-check)：性能类型检查。\r\n    * [typeshed](https:\u002F\u002Fgithub.com\u002Fpython\u002Ftypeshed)：带有静态类型的Python库存根的集合。\r\n\r\n*   静态类型注释生成器\r\n\r\n    * [MonkeyType](https:\u002F\u002Fgithub.com\u002FInstagram\u002FMonkeyType)：通过收集运行时的类型来为 Python 生成静态类型注释的系统。\r\n    * [pyannotate](https:\u002F\u002Fgithub.com\u002Fdropbox\u002Fpyannotate)：自动生成符合 PEP-484 的注解。\r\n    * [pytype](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpytype)：检查和推断 Python 代码中的类型，无需添加注解。\r\n\r\n### 调试工具\r\n\r\n用来进行代码调试的库。\r\n\r\n*   调试器\r\n    *   [ipdb](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fipdb)：IPython 启用的 [pdb](https:\u002F\u002Fdocs.python.org\u002F2\u002Flibrary\u002Fpdb.html)。\r\n    *   [pudb](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpudb)：全屏，基于控制台的 Python 调试器。\r\n    *   [pdb++](https:\u002F\u002Fgithub.com\u002Fantocuni\u002Fpdb)：另一种 pdb 的替代。\r\n    *   [pyringe](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpyringe)：可以在 Python 进程中附加和注入代码的调试器。\r\n    *   [wdb](https:\u002F\u002Fgithub.com\u002FKozea\u002Fwdb)：一个奇异的 web 调试器，通过 WebSockets 工作。\r\n    *   [winpdb](http:\u002F\u002Fwinpdb.org\u002F)：一个具有图形用户界面的 Python 调试器，可以进行远程调试，基于 rpdb2。\r\n*   追踪器\r\n    * [lptrace](https:\u002F\u002Fgithub.com\u002Fkhamidou\u002Flptrace)：为 Python 程序打造的 [strace](http:\u002F\u002Fman7.org\u002Flinux\u002Fman-pages\u002Fman1\u002Fstrace.1.html)。\r\n    * [manhole](https:\u002F\u002Fgithub.com\u002Fionelmc\u002Fpython-manhole)：调试UNIX套接字连接，并显示所有线程的堆栈跟踪和交互式提示。\r\n    * [pyringe](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fpyringe)：能够附加到 Python 进程并将代码注入Python进程的调试器。\r\n    * [python-hunter](https:\u002F\u002Fgithub.com\u002Fionelmc\u002Fpython-hunter)：一个灵活的代码追踪工具包。\r\n\r\n*   性能分析器\r\n    *   [lineprofiler](https:\u002F\u002Fgithub.com\u002Frkern\u002Flineprofiler)：逐行性能分析。\r\n    *   [Memory Profiler](http:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fmemory_profiler)、[内存](https:\u002F\u002Fgithub.com\u002Ffabianp\u002Fmemoryprofiler)：监控 Python 代码的内存使用。\r\n    *   [profiling](https:\u002F\u002Fgithub.com\u002Fwhat-studio\u002Fprofiling)：一个交互式 Python 性能分析工具。\r\n    *   [py-spy](https:\u002F\u002Fgithub.com\u002Fbenfred\u002Fpy-spy)：Python 程序采样分析器，使用 Rust 实现。\r\n    *   [pyflame](https:\u002F\u002Fgithub.com\u002Fuber\u002Fpyflame)：用于 Python 的跟踪分析器。\r\n    *   [vprof](https:\u002F\u002Fgithub.com\u002Fnvdv\u002Fvprof)：视觉 Python 分析器。\r\n*   其他\r\n    *   [pyelftools](https:\u002F\u002Fgithub.com\u002Feliben\u002Fpyelftools)：解析和分析 ELF 文件以及 DWARF 调试信息。\r\n    *   [python-statsd](https:\u002F\u002Fgithub.com\u002FWoLpH\u002Fpython-statsd)：[statsd](https:\u002F\u002Fgithub.com\u002Fetsy\u002Fstatsd\u002F) 服务器的 Python 客户端。\r\n    *   [django-debug-toolbar](https:\u002F\u002Fgithub.com\u002Fdjango-debug-toolbar\u002Fdjango-debug-toolbar)：为 Django 显示各种调试信息。\r\n    *   [django-devserver](https:\u002F\u002Fgithub.com\u002Fdcramer\u002Fdjango-devserver)：一个 Django 运行服务器的替代品。\r\n    *   [flask-debugtoolbar](https:\u002F\u002Fgithub.com\u002Fmgood\u002Fflask-debugtoolbar)：django-debug-toolbar 的 flask 版。\r\n    *   [icecream](https:\u002F\u002Fgithub.com\u002Fgruns\u002Ficecream)：通过一个简单的函数调用检查变量、表达式和程序执行情况。\r\n\r\n### 科学计算和数据分析\r\n\r\n用来进行科学计算和数据分析的库。\r\n\r\n*   [astropy](http:\u002F\u002Fwww.astropy.org\u002F)：一个天文学 Python 库。\r\n*   [bcbio-nextgen](https:\u002F\u002Fgithub.com\u002Fchapmanb\u002Fbcbio-nextgen)：这个工具箱为全自动高通量测序分析提供符合最佳实践的处理流程。\r\n*   [bccb](https:\u002F\u002Fgithub.com\u002Fchapmanb\u002Fbcbb)：生物分析相关代码集合。\r\n*   [Biopython](http:\u002F\u002Fbiopython.org\u002Fwiki\u002FMainPage)：Biopython 是一组可以免费使用的用来进行生物计算的工具。\r\n*   [blaze](http:\u002F\u002Fblaze.readthedocs.org\u002Fen\u002Flatest\u002Findex.html)：NumPy 和 Pandas 的大数据接口。\r\n*   [cclib](http:\u002F\u002Fcclib.github.io\u002F)：一个用来解析和解释计算化学软件包输出结果的库。\r\n*   [NetworkX](https:\u002F\u002Fnetworkx.github.io\u002F)：一个为复杂网络设计的高性能软件。\r\n*   [Neupy](http:\u002F\u002Fneupy.com\u002Fpages\u002Fhome.html)：执行和测试各种不同的人工神经网络算法。\r\n*   [NumPy](http:\u002F\u002Fwww.numpy.org\u002F)：使用 Python 进行科学计算的基础包。\r\n*   [Open Babel](http:\u002F\u002Fopenbabel.org\u002Fwiki\u002FMainPage)：一个化学工具箱，用来描述多种化学数据。\r\n*   [Open Mining](https:\u002F\u002Fgithub.com\u002Fmining\u002Fmining)：使用 Python 挖掘商业情报 (BI) (Pandas web 接口)。\r\n*   [orange](http:\u002F\u002Forange.biolab.si\u002F)：通过可视化编程或 Python 脚本进行数据挖掘，数据可视化，分析和机器学习。\r\n*   [Pandas](http:\u002F\u002Fpandas.pydata.org\u002F)：提供高性能，易用的数据结构和数据分析工具。\r\n*   [PyDy](http:\u002F\u002Fwww.pydy.org\u002F)：PyDy 是 Python Dynamics 的缩写，用来为动力学运动建模工作流程提供帮助， 基于 NumPy, SciPy, IPython 和 matplotlib。\r\n*   [PyMC](https:\u002F\u002Fgithub.com\u002Fpymc-devs\u002Fpymc3)：马尔科夫链蒙特卡洛采样工具。\r\n*   [RDKit](http:\u002F\u002Fwww.rdkit.org\u002F)：化学信息学和机器学习软件。\r\n*   [SciPy](http:\u002F\u002Fwww.scipy.org\u002F)：由一些基于 Python ，用于数学，科学和工程的开源软件构成的生态系统。\r\n*   [statsmodels](https:\u002F\u002Fgithub.com\u002Fstatsmodels\u002Fstatsmodels)：统计建模和计量经济学。\r\n*   [SymPy](https:\u002F\u002Fgithub.com\u002Fsympy\u002Fsympy)：一个用于符号数学的 Python 库。\r\n*   [zipline](https:\u002F\u002Fgithub.com\u002Fquantopian\u002Fzipline)：一个 Python 算法交易库。\r\n*   [Bayesian-belief-networks](https:\u002F\u002Fgithub.com\u002FeBay\u002Fbayesian-belief-networks)：优雅的贝叶斯理念网络框架。\r\n*   [AWS Data Wrangler](https:\u002F\u002Fgithub.com\u002Fawslabs\u002Faws-data-wrangler)：AWS 平台上使用的 Pandas。\r\n*   [Optimus](https:\u002F\u002Fgithub.com\u002Fironmussa\u002FOptimus)：在使用 PySpark 时，让敏捷数据科学工作流程变得简单。\r\n*   [Colour](http:\u002F\u002Fcolour-science.org\u002F)：大量色彩理论转换和算法的实现。\r\n*   [Karate Club](https:\u002F\u002Fgithub.com\u002Fbenedekrozemberczki\u002Fkarateclub)：用于图形结构化数据的无监督机器学习工具箱。\r\n*   [NIPY](http:\u002F\u002Fnipy.org)：神经影响学工具箱集合。\r\n*   [ObsPy](https:\u002F\u002Fgithub.com\u002Fobspy\u002Fobspy\u002Fwiki\u002F)：地震学 Python 工具箱。\r\n*   [QuTiP](http:\u002F\u002Fqutip.org\u002F)：Python 版 Quantum 工具箱。\r\n*   [SimPy](https:\u002F\u002Fgitlab.com\u002Fteam-simpy\u002Fsimpy)：一个基于过程的离散事件模拟框架。\r\n\r\n### 数据可视化\r\n\r\n进行数据可视化的库。 参见：[awesome-javascript](https:\u002F\u002Fgithub.com\u002Fsorrycc\u002Fawesome-javascript#data-visualization)。\r\n\r\n*   [matplotlib](http:\u002F\u002Fmatplotlib.org\u002F)：一个 Python 2D 绘图库。\r\n*   [bokeh](https:\u002F\u002Fgithub.com\u002Fbokeh\u002Fbokeh)：用 Python 进行交互式 web 绘图。\r\n*   [ggplot](https:\u002F\u002Fgithub.com\u002Fyhat\u002Fggplot)：ggplot2 给 R 提供的 API 的 Python 版本。\r\n*   [plotly](https:\u002F\u002Fplot.ly\u002Fpython\u002F)：协同 Python 和 matplotlib 工作的 web 绘图库。\r\n*   [pyecharts](https:\u002F\u002Fgithub.com\u002Fchenjiandongx\u002Fpyecharts)：基于百度 Echarts 的数据可视化库。\r\n*   [pygal](http:\u002F\u002Fwww.pygal.org\u002Fen\u002Flatest\u002F)：一个 Python SVG 图表创建工具。\r\n*   [pygraphviz](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpygraphviz)：Graphviz 的 Python 接口。\r\n*   [PyQtGraph](http:\u002F\u002Fwww.pyqtgraph.org\u002F)：交互式实时 2D\u002F3D\u002F 图像绘制及科学\u002F工程学组件。\r\n*   [SnakeViz](http:\u002F\u002Fjiffyclub.github.io\u002Fsnakeviz\u002F)：一个基于浏览器的 Python's cProfile 模块输出结果查看工具。\r\n*   [vincent](https:\u002F\u002Fgithub.com\u002Fwrobstory\u002Fvincent)：把 Python 转换为 Vega 语法的转换工具。\r\n*   [VisPy](http:\u002F\u002Fvispy.org\u002F)：基于 OpenGL 的高性能科学可视化工具。\r\n*   [Altair](https:\u002F\u002Fgithub.com\u002Faltair-viz\u002Faltair)：用于 Python 的声明式统计可视化库。\r\n*   [bqplot](https:\u002F\u002Fgithub.com\u002Fbloomberg\u002Fbqplot)：Jupyter Notebook 的交互式绘图库。\r\n*   [Cartopy](https:\u002F\u002Fgithub.com\u002FSciTools\u002Fcartopy)：具有 matplotlib 支持的 Python 制图库。\r\n*   [Dash](https:\u002F\u002Fplot.ly\u002Fproducts\u002Fdash\u002F)：构建在 Flask、React 和 Plotly 之上，旨在用于分析 Web 应用程序。\r\n    * [awesome-dash](https:\u002F\u002Fgithub.com\u002FAcrotrend\u002Fawesome-dash)\r\n*   [diagrams](https:\u002F\u002Fgithub.com\u002Fmingrammer\u002Fdiagrams)：用图表作为代码。\r\n*   [plotnine](https:\u002F\u002Fgithub.com\u002Fhas2k1\u002Fplotnine)：基于ggplot2的Python图形语法。\r\n*   [PyGraphviz](https:\u002F\u002Fpypi.org\u002Fproject\u002Fpygraphviz\u002F)： [Graphviz](http:\u002F\u002Fwww.graphviz.org\u002F) 的 Python 接口。\r\n*   [Seaborn](https:\u002F\u002Fgithub.com\u002Fmwaskom\u002Fseaborn)：使用 Matplotlib 进行统计数据可视化。\r\n\r\n### 计算机视觉\r\n\r\n计算机视觉相关库。\r\n\r\n*   [OpenCV](http:\u002F\u002Fopencv.org\u002F)：开源计算机视觉库。\r\n*   [pyocr](https:\u002F\u002Fgithub.com\u002Fjflesch\u002Fpyocr)：Tesseract 和 Cuneiform 的包装库。\r\n*   [pytesseract](https:\u002F\u002Fgithub.com\u002Fmadmaze\u002Fpytesseract)：[Google Tesseract OCR](https:\u002F\u002Fgithub.com\u002Ftesseract-ocr) 的另一包装库。\r\n*   [SimpleCV](http:\u002F\u002Fsimplecv.org\u002F)：一个用来创建计算机视觉应用的开源框架。\r\n*   [EasyOCR](https:\u002F\u002Fgithub.com\u002FJaidedAI\u002FEasyOCR)：支持40多种语言的即用型 OCR。\r\n*   [Face Recognition](https:\u002F\u002Fgithub.com\u002Fageitgey\u002Fface_recognition)：简单的面部识别库。\r\n*   [Kornia](https:\u002F\u002Fgithub.com\u002Fkornia\u002Fkornia\u002F)：PyTorch 的开源差异化计算机视觉库。\r\n*   [tesserocr](https:\u002F\u002Fgithub.com\u002Fsirfz\u002Ftesserocr)：另一个简单的，兼容 Pillow 的 `tesseract-ocr` API 装饰器，可用于 OCR。\r\n\r\n### 深度学习\r\n\r\n神经网络和深度学习相关框架。 也可以参考 [awesome-deep-learning](https:\u002F\u002Fgithub.com\u002FChristosChristofidis\u002Fawesome-deep-learning)。\r\n\r\n*   [Caffe](http:\u002F\u002Fcaffe.berkeleyvision.org)：一个 [Caffe](https:\u002F\u002Fgithub.com\u002FBVLC\u002Fcaffe) 的 python 接口。\r\n*   [Caffe2](https:\u002F\u002Fcaffe2.ai\u002F)：一个轻量级的，模块化的，可扩展的深度学习框架。\r\n*   [keras](https:\u002F\u002Fkeras.io\u002F)：以 tensorflow\u002Ftheano\u002FCNTK 为后端的深度学习封装库，快速上手神经网络。\r\n*   [MXNet](http:\u002F\u002Fmxnet.incubator.apache.org\u002F)：一个高效和灵活的深度学习框架。\r\n*   [Pytorch](http:\u002F\u002Fpytorch.org\u002F)：一个具有张量和动态神经网络，并有强大 GPU 加速能力的深度学习框架。\r\n*   [SerpentAI](https:\u002F\u002Fgithub.com\u002FSerpentAI\u002FSerpentAI)：游戏代理框架，可使用任意视频游戏作为深度学习沙箱。\r\n*   [Theano](https:\u002F\u002Fgithub.com\u002FTheano\u002FTheano)：一个快速数值计算库。\r\n*   [TensorFlow](http:\u002F\u002Ftensorflow.org\u002F)：谷歌开源的最受欢迎的深度学习框架。\r\n*   [skflow](https:\u002F\u002Fgithub.com\u002Ftensorflow\u002Fskflow)：一个 [TensorFlow](https:\u002F\u002Fgithub.com\u002Ftensorflow\u002Ftensorflow) 的简化接口(模仿 scikit-learn)。\r\n*   [hebel](https:\u002F\u002Fgithub.com\u002Fhannes-brt\u002Fhebel)：GPU 加速的深度学习库。\r\n*   [pydeep](https:\u002F\u002Fgithub.com\u002Fandersbll\u002Fdeeppy)：Python 深度学习库。\r\n\r\n### 机器学习\r\n\r\n机器学习相关库，也可以参考 [awesome-machine-learning](https:\u002F\u002Fgithub.com\u002Fjosephmisiti\u002Fawesome-machine-learning#python)。\r\n\r\n*   [Crab](https:\u002F\u002Fgithub.com\u002Fmuricoca\u002Fcrab)：灵活、快速的推荐引擎。\r\n*   [NuPIC](https:\u002F\u002Fgithub.com\u002Fnumenta\u002Fnupic)：智能计算 Numenta 平台。\r\n*   [pattern](https:\u002F\u002Fgithub.com\u002Fclips\u002Fpattern)：Python 网络挖掘模块。\r\n*   [PyBrain](https:\u002F\u002Fgithub.com\u002Fpybrain\u002Fpybrain)：另一个 Python 机器学习库。\r\n*   [Pylearn2](https:\u002F\u002Fgithub.com\u002Flisa-lab\u002Fpylearn2)：一个基于 [Theano](https:\u002F\u002Fgithub.com\u002FTheano\u002FTheano) 的机器学习库。\r\n*   [python-recsys](https:\u002F\u002Fgithub.com\u002Focelma\u002Fpython-recsys)：一个用来实现推荐系统的 Python 库。\r\n*   [scikit-learn](http:\u002F\u002Fscikit-learn.org\u002F)：基于 SciPy 构建的机器学习 Python 模块。\r\n* ","awesome-python-cn 是一个全面的Python资源大全中文版，涵盖了从Web框架、网络爬虫到数据可视化等众多领域的工具和库。该项目由「开源前哨」和「Python开发者」微信公众号团队维护更新，旨在为Python开发者提供最新的技术资源。其核心功能在于分类整理了大量实用的Python开发资源，方便开发者快速找到适合项目需求的技术方案。此外，它还提供了环境管理、包管理和分发等方面的工具推荐，帮助用户更好地进行Python项目的开发与部署。此项目非常适合需要查找Python相关工具或希望了解当前流行技术栈的开发者使用。",2,"2026-06-11 03:27:06","top_topic"]