Python--Flask Django等常用库总结

# Python 资源大全中文版

我想很多程序员应该记得 GitHub 上有一个 Awesome - XXX 系列的资源整理。[awesome-python](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvinta%2Fawesome-python) 是 vinta 发起维护的 Python 资源列表,内容包括:Web框架、网络爬虫、网络内容提取、模板引擎、数据库、数据可视化、图片处理、文本处理、自然语言处理、机器学习、日志、代码分析等。由伯乐在线持续更新。

Awesome 系列虽然挺全,但基本只对收录的资源做了极为简要的介绍,如果有更详细的中文介绍,对相应开发者的帮助会更大。这也是我们发起这个开源项目的初衷。

### 我们要做什么?

*  基于 awesome-python 列表,我们将对其中的各个资源项进行编译整理。此外还将从其他来源补充好资源。

*  整理后的内容,将收录在[伯乐在线资源频道](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2F)。可参考已整理的内容:

*  《[Scrapy:Python的爬虫框架](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-scrapy%2F)》

*  《[Flask:一个使用Python编写的轻量级Web应用框架](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fflask%2F)》

### 环境管理

管理 Python 版本和环境的工具

*  p:非常简单的交互式 python 版本管理工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fqw3rtman%2Fp)

*  pyenv:简单的 Python 版本管理工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fyyuu%2Fpyenv)

*  Vex:可以在虚拟环境中执行命令。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsashahart%2Fvex)

*  virtualenv:创建独立 Python 环境的工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fvirtualenv)

*  virtualenvwrapper:virtualenv 的一组扩展。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fvirtualenvwrapper)

### 包管理

管理包和依赖的工具。

*  pip:Python 包和依赖关系管理工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpip.pypa.io%2F)

*  pip-tools:保证 Python 包依赖关系更新的一组工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnvie%2Fpip-tools)

*  conda:跨平台,Python 二进制包管理工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fconda%2Fconda%2F)

*  Curdling:管理 Python 包的命令行工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fclarete.li%2Fcurdling%2F)

*  wheel:Python 分发的新标准,意在取代 eggs。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpythonwheels.com%2F)

### 包仓库

本地 PyPI 仓库服务和代{过}{滤}理。

*  warehouse:下一代 PyPI。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpypa%2Fwarehouse)

*  Warehouse:PyPA 提供的 PyPI 镜像工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwarehouse.python.org%2F) [bandersnatch](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fpypa%2Fbandersnatch)

*  devpi:PyPI 服务和打包/测试/分发工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdoc.devpi.net%2F)

*  localshop:本地 PyPI 服务(自定义包并且自动对 PyPI 镜像)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmvantellingen%2Flocalshop)

### 分发

打包为可执行文件以便分发。

*  PyInstaller:将 Python 程序转换成独立的执行文件(跨平台)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpyinstaller%2Fpyinstaller)

*  dh-virtualenv:构建并将 virtualenv 虚拟环境作为一个 Debian 包来发布。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdh-virtualenv.readthedocs.org%2F)

*  Nuitka:将脚本、模块、包编译成可执行文件或扩展模块。[官网](https://link.jianshu.com?t=http%3A%2F%2Fnuitka.net%2F)

*  py2app:将 Python 脚本变为独立软件包(Mac OS X)。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpythonhosted.org%2Fpy2app%2F)

*  py2exe:将 Python 脚本变为独立软件包(Windows)。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.py2exe.org%2F)

*  pynsist:一个用来创建 Windows 安装程序的工具,可以在安装程序中打包 Python本身。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpynsist.readthedocs.org%2F)

### 构建工具

将源码编译成软件。

*  buildout:一个构建系统,从多个组件来创建,组装和部署应用。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.buildout.org%2F)

*  BitBake:针对嵌入式 Linux 的类似 make 的构建工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.yoctoproject.org%2Fdocs%2F1.6%2Fbitbake-user-manual%2Fbitbake-user-manual.html)

*  fabricate:对任何语言自动找到依赖关系的构建工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fcode.google.com%2Farchive%2Fp%2Ffabricate)

*  PlatformIO:多平台命令行构建工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fplatformio%2Fplatformio)

*  PyBuilder:纯 Python 实现的持续化构建工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpybuilder%2Fpybuilder)

*  SCons:软件构建工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.scons.org%2F)

### 交互式解析器

交互式 Python 解析器。

*  IPython:功能丰富的工具,非常有效的使用交互式 Python。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fipython%2Fipython)

*  [bpython](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fbpython%2F):界面丰富的 Python 解析器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbpython-interpreter.org%2F)

*  ptpython:高级交互式Python解析器, 构建于[python-prompt-toolkit](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjonathanslenders%2Fpython-prompt-toolkit) 之上。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjonathanslenders%2Fptpython)

### 文件

文件管理和 MIME(多用途的网际邮件扩充协议)类型检测。

*  imghdr:(Python 标准库)检测图片类型。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fimghdr.html)

*  mimetypes:(Python 标准库)将文件名映射为 MIME 类型。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fmimetypes.html)

*  path.py:对 os.path 进行封装的模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjaraco%2Fpath.py)

*  pathlib:(Python3.4+ 标准库)跨平台的、面向对象的路径操作库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpathlib.readthedocs.org%2Fen%2Fpep428%2F)

*  python-magic:文件类型检测的第三方库 libmagic 的 Python 接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fahupp%2Fpython-magic)

*  Unipath:用面向对象的方式操作文件和目录。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmikeorr%2FUnipath)

*  watchdog:管理文件系统事件的 API 和 shell 工具[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgorakhargosh%2Fwatchdog)

### 日期和时间

操作日期和时间的类库。

*  arrow:更好的 Python 日期时间操作类库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcrsmithdev%2Farrow)

*  Chronyk:Python 3 的类库,用于解析手写格式的时间和日期。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FKoffeinFlummi%2FChronyk)

*  dateutil:Python datetime 模块的扩展。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fpython-dateutil)

*  delorean:解决 Python 中有关日期处理的棘手问题的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmyusuf3%2Fdelorean%2F)

*  moment:一个用来处理时间和日期的Python库。灵感来自于Moment.js。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fzachwill%2Fmoment)

*  PyTime:一个简单易用的Python模块,用于通过字符串来操作日期/时间。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fshinux%2FPyTime)

*  pytz:现代以及历史版本的世界时区定义。将时区数据库引入Python。[官网](https://link.jianshu.com?t=https%3A%2F%2Flaunchpad.net%2Fpytz)

*  when.py:提供用户友好的函数来帮助用户进行常用的日期和时间操作。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdirn%2FWhen.py)

### 文本处理

用于解析和操作文本的库。

*  通用

*  [chardet](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fchardet%2F):字符编码检测器,兼容 Python2 和 Python3。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchardet%2Fchardet)

*  difflib:(Python 标准库)帮助我们进行差异化比较。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fdifflib.html)

*  ftfy:让Unicode文本更完整更连贯。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FLuminosoInsight%2Fpython-ftfy)

*  fuzzywuzzy:模糊字符串匹配。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fseatgeek%2Ffuzzywuzzy)

*  Levenshtein:快速计算编辑距离以及字符串的相似度。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fztane%2Fpython-Levenshtein%2F)

*  pangu.py:在中日韩语字符和数字字母之间添加空格。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvinta%2Fpangu.py)

*  yfiglet-figlet:[pyfiglet -figlet](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpwaller%2Fpyfiglet) 的 Python实现。

*  shortuuid:一个生成器库,用以生成简洁的,明白的,URL 安全的 UUID。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstochastic-technologies%2Fshortuuid)

*  unidecode:Unicode 文本的 ASCII 转换形式 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2FUnidecode)

*  uniout:打印可读的字符,而不是转义的字符串。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmoskytw%2Funiout)

*  xpinyin:一个用于把汉字转换为拼音的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flxneng%2Fxpinyin)

*  simplejson:Python的JSON编码、解码器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fsimplejson.readthedocs.io%2Fen%2Flatest%2F)、[GitHub](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsimplejson%2Fsimplejson)

*  Slug化

*  awesome-slugify:一个 Python slug 化库,可以保持 Unicode。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdimka665%2Fawesome-slugify)

*  python-slugify:Python slug 化库,可以把 unicode 转化为 ASCII。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fun33k%2Fpython-slugify)

*  unicode-slugify:一个 slug 工具,可以生成 unicode slugs ,需要依赖 Django 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmozilla%2Funicode-slugify)

*  解析器

*  phonenumbers:解析,格式化,储存,验证电话号码。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdaviddrysdale%2Fpython-phonenumbers)

*  PLY:lex 和 yacc 解析工具的 Python 实现。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.dabeaz.com%2Fply%2F)

*  Pygments:通用语法高亮工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpygments.org%2F)

*  pyparsing:生成通用解析器的框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpyparsing.wikispaces.com%2F)

*  python-nameparser:把一个人名分解为几个独立的部分。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fderek73%2Fpython-nameparser)

*  python-user-agents:浏览器 user agent 解析器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fselwin%2Fpython-user-agents)

*  sqlparse:一个无验证的 SQL 解析器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fsqlparse.readthedocs.org%2Fen%2Flatest%2F)

### 特殊文本格式处理

一些用来解析和操作特殊文本格式的库。

*  通用

*  tablib:一个用来处理中表格数据的模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Ftablib)

*  Office

*  Marmir:把输入的Python 数据结构转换为电子表单。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbrianray%2Fmm)

*  openpyxl:一个用来读写 Excel 2010 xlsx/xlsm/xltx/xltm 文件的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fopenpyxl.readthedocs.org%2Fen%2Flatest%2F)

*  python-docx:读取,查询以及修改 Microsoft Word 2007/2008 docx 文件。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpython-openxml%2Fpython-docx)

*  unoconv:在 LibreOffice/OpenOffice 支持的任意文件格式之间进行转换。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdagwieers%2Funoconv)

*  XlsxWriter:一个用于创建 Excel .xlsx 文件的 Python 模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fxlsxwriter.readthedocs.org%2Fen%2Flatest%2F)

*  xlwings:一个使得在 Excel 中方便调用 Python 的库(反之亦然),基于 BSD 协议。[官网](https://link.jianshu.com?t=http%3A%2F%2Fxlwings.org%2F)

*  [xlwt](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fxlwt%2F):读写 Excel 文件的数据和格式信息。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpython-excel%2Fxlwt) / [xlrd](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpython-excel%2Fxlrd)

*  relatorio:模板化OpenDocument 文件。[官网](https://link.jianshu.com?t=http%3A%2F%2Frelatorio.tryton.org%2F)

*  PDF

*  PDFMiner:一个用于从PDF文档中抽取信息的工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Feuske%2Fpdfminer)

*  PyPDF2:一个可以分割,合并和转换 PDF 页面的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmstamy2%2FPyPDF2)

*  ReportLab:快速创建富文本 PDF 文档。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.reportlab.com%2Fopensource%2F)

*  Markdown

*  Mistune:快速并且功能齐全的纯 Python 实现的 Markdown 解析器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flepture%2Fmistune)

*  Python-Markdown:John Gruber’s Markdown 的 Python 版实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwaylan%2FPython-Markdown)

*  Python-Markdiwn2:纯 Python 实现的 Markdown 解析器,比 Python-Markdown 更快,更准确,可扩展。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftrentm%2Fpython-markdown2)

*  YAML

*  PyYAML:Python 版本的 YAML 解析器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpyyaml.org%2F)

*  CSV

*  csvkit:用于转换和操作 CSV 的工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwireservice%2Fcsvkit)

*  Archive

*  unp:一个用来方便解包归档文件的命令行工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmitsuhiko%2Funp)

### 自然语言处理

用来处理人类语言的库。

*  [NLTK](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fnltk%2F):一个先进的平台,用以构建处理人类语言数据的 Python 程序。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.nltk.org%2F)

*  jieba:中文分词工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffxsjy%2Fjieba)

*  langid.py:独立的语言识别系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsaffsd%2Flangid.py)

*  Pattern:Python 网络信息挖掘模块。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.clips.ua.ac.be%2Fpattern)

*  SnowNLP:一个用来处理中文文本的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fisnowfy%2Fsnownlp)

*  TextBlob:为进行普通自然语言处理任务提供一致的 API。[官网](https://link.jianshu.com?t=http%3A%2F%2Ftextblob.readthedocs.org%2Fen%2Flatest%2F)

*  TextGrocery:一简单高效的短文本分类工具,基于 LibLinear 和 Jieba。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F2shou%2FTextGrocery)

### 文档

用以生成项目文档的库。

*  [Sphinx](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fsphinx%2F):Python 文档生成器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.sphinx-doc.org%2Fen%2Flatest%2F)

*  awesome-sphinxdoc:[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fyoloseem%2Fawesome-sphinxdoc)

*  MkDocs:对 Markdown 友好的文档生成器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.mkdocs.org%2F)

*  pdoc:一个可以替换Epydoc 的库,可以自动生成 Python 库的 API 文档。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FBurntSushi%2Fpdoc)

*  Pycco:文学编程(literate-programming)风格的文档生成器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpycco-docs%2Fpycco)

### 配置

用来保存和解析配置的库。

*  config:[logging](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Flogging.html) 模块作者写的分级配置模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.red-dove.com%2Fconfig-doc%2F)

*  ConfigObj:INI 文件解析器,带验证功能。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.voidspace.org.uk%2Fpython%2Fconfigobj.html)

*  ConfigParser:(Python 标准库) INI 文件解析器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fconfigparser.html)

*  profig:通过多种格式进行配置,具有数值转换功能。[官网](https://link.jianshu.com?t=http%3A%2F%2Fprofig.readthedocs.org%2Fen%2Fdefault%2F)

*  python-decouple:将设置和代码完全隔离。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhenriquebastos%2Fpython-decouple)

### 命令行工具

用于创建命令行程序的库。

*  命令行程序开发

*  asciimatics:跨平台,全屏终端包(即鼠标/键盘输入和彩色,定位文本输出),完整的复杂动画和特殊效果的高级API。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpeterbrittain%2Fasciimatics)

*  cement:Python 的命令行程序框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbuiltoncement.com%2F)

*  click:一个通过组合的方式来创建精美命令行界面的包。[官网](https://link.jianshu.com?t=http%3A%2F%2Fclick.pocoo.org%2Fdev%2F)

*  cliff:一个用于创建命令行程序的框架,可以创建具有多层命令的命令行程序。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdocs.openstack.org%2Fdeveloper%2Fcliff%2F)

*  clint:Python 命令行程序工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Fclint)

*  colorama:跨平台彩色终端文本。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcolorama)

*  docopt:Python 风格的命令行参数解析器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdocopt.org%2F)

*  Gooey:一条命令,将命令行程序变成一个 GUI 程序。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchriskiehl%2FGooey)

*  python-prompt-toolkit:一个用于构建强大的交互式命令行程序的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjonathanslenders%2Fpython-prompt-toolkit)

*  [Pythonpy](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpythonpy%2F):在命令行中直接执行任何Python指令。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FRussell91%2Fpythonpy%2Fwiki)

*  生产力工具

*  aws-cli:Amazon Web Services 的通用命令行界面。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Faws%2Faws-cli)

*  bashplotlib:在终端中进行基本绘图。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fglamp%2Fbashplotlib)

*  caniusepython3:判断是哪个项目妨碍你你移植到 Python 3。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbrettcannon%2Fcaniusepython3)

*  cookiecutter:从 cookiecutters(项目模板)创建项目的一个命令行工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Faudreyr%2Fcookiecutter)

*  doitlive:一个用来在终端中进行现场演示的工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsloria%2Fdoitlive)

*  howdoi:通过命令行获取即时的编程问题解答。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgleitz%2Fhowdoi)

*  httpie:一个命令行HTTP 客户端,cURL 的替代品,易用性更好。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjkbrzt%2Fhttpie)

*  PathPicker:从bash输出中选出文件。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffacebook%2FPathPicker)

*  percol:向UNIX shell 传统管道概念中加入交互式选择功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmooz%2Fpercol)

*  SAWS:一个加强版的 AWS 命令行。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdonnemartin%2Fsaws)

*  thefuck:修正你之前的命令行指令。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnvbn%2Fthefuck)

*  mycli:一个 MySQL 命令行客户端,具有自动补全和语法高亮功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdbcli%2Fmycli)

*  pgcli:Postgres 命令行工具,具有自动补全和语法高亮功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdbcli%2Fpgcli)

*  try:一个从来没有更简单的命令行工具,用来试用python库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftimofurrer%2Ftry)

### 下载器

用来进行下载的库.

*  s3cmd:一个用来管理Amazon S3 和 CloudFront 的命令行工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fs3tools%2Fs3cmd)

*  s4cmd:超级 S3 命令行工具,性能更加强劲。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbloomreach%2Fs4cmd)

*  you-get:一个 YouTube/Youku/Niconico 视频下载器,使用 Python3 编写。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.soimort.org%2Fyou-get%2F)

*  youtube-dl:一个小巧的命令行程序,用来下载 YouTube 视频。[官网](https://link.jianshu.com?t=http%3A%2F%2Frg3.github.io%2Fyoutube-dl%2F)

### 图像处理

用来操作图像的库.

*  [pillow](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpillow%2F):Pillow 是一个更加易用版的 [PIL](https://link.jianshu.com?t=http%3A%2F%2Fwww.pythonware.com%2Fproducts%2Fpil%2F)。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpillow.readthedocs.org%2Fen%2Flatest%2F)

*  hmap:图像直方图映射。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frossgoodwin%2Fhmap)

*  imgSeek:一个使用视觉相似性搜索一组图片集合的项目。[官网](https://link.jianshu.com?t=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fimgseek%2F)

*  nude.py:裸体检测。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhhatto%2Fnude.py)

*  pyBarcode:不借助 PIL 库在 Python 程序中生成条形码。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2FpyBarcode%2F)

*  pygram:类似 Instagram 的图像滤镜。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fajkumar25%2Fpygram)

*  python-qrcode:一个纯 Python 实现的二维码生成器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flincolnloop%2Fpython-qrcode)

*  Quads:基于四叉树的计算机艺术。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffogleman%2FQuads)

*  scikit-image:一个用于(科学)图像处理的 Python 库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fscikit-image.org%2F)

*  thumbor:一个小型图像服务,具有剪裁,尺寸重设和翻转功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fthumbor%2Fthumbor)

*  wand:[MagickWand](https://link.jianshu.com?t=http%3A%2F%2Fwww.imagemagick.org%2Fscript%2Fmagick-wand.php)的Python 绑定。MagickWand 是 ImageMagick的 C API 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdahlia%2Fwand)

### OCR

光学字符识别库。

*  pyocr:Tesseract 和 Cuneiform 的一个封装(wrapper)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjflesch%2Fpyocr)

*  [pytesseract](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpytesseract%2F):[Google Tesseract OCR](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftesseract-ocr) 的另一个封装(wrapper)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmadmaze%2Fpytesseract)

*  python-tesseract - [Google Tesseract OCR](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftesseract-ocr) 的一个包装类。

### 音频

用来操作音频的库

*  audiolazy:Python 的数字信号处理包。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdanilobellini%2Faudiolazy)

*  audioread:交叉库 (GStreamer + Core Audio + MAD + FFmpeg) 音频解码。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbeetbox%2Faudioread)

*  beets:一个音乐库管理工具及 [MusicBrainz](https://link.jianshu.com?t=https%3A%2F%2Fmusicbrainz.org%2F) 标签添加工具[官网](https://link.jianshu.com?t=http%3A%2F%2Fbeets.io%2F)

*  dejavu:音频指纹提取和识别[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fworldveil%2Fdejavu)

*  [django-elastic-transcoder](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fdjango-elastic-transcoder%2F):Django + [Amazon Elastic Transcoder](https://link.jianshu.com?t=http%3A%2F%2Faws.amazon.com%2Felastictranscoder%2F)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FStreetVoice%2Fdjango-elastic-transcoder)

*  eyeD3:一个用来操作音频文件的工具,具体来讲就是包含 ID3 元信息的 MP3 文件。[官网](https://link.jianshu.com?t=http%3A%2F%2Feyed3.nicfit.net%2F)

*  id3reader:一个用来读取 MP3 元数据的 Python 模块。[官网](https://link.jianshu.com?t=http%3A%2F%2Fnedbatchelder.com%2Fcode%2Fmodules%2Fid3reader.py)

*  m3u8:一个用来解析 m3u8 文件的模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fglobocom%2Fm3u8)

*  mutagen:一个用来处理音频元数据的 Python 模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Flazka%2Fmutagen)

*  pydub:通过简单、简洁的高层接口来操作音频文件。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjiaaro%2Fpydub)

*  pyechonest:[Echo Nest](https://link.jianshu.com?t=http%3A%2F%2Fdeveloper.echonest.com%2F) API 的 Python 客户端[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fechonest%2Fpyechonest)

*  talkbox:一个用来处理演讲/信号的 Python 库[官网](https://link.jianshu.com?t=http%3A%2F%2Fscikits.appspot.com%2Ftalkbox)

*  TimeSide:开源 web 音频处理框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FParisson%2FTimeSide)

*  tinytag:一个用来读取MP3, OGG, FLAC 以及 Wave 文件音乐元数据的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdevsnd%2Ftinytag)

*  mingus:一个高级音乐理论和曲谱包,支持 MIDI 文件和回放功能。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbspaans.github.io%2Fpython-mingus%2F)

### Video

用来操作视频和GIF的库。

*  moviepy:一个用来进行基于脚本的视频编辑模块,适用于多种格式,包括动图 GIFs。[官网](https://link.jianshu.com?t=http%3A%2F%2Fzulko.github.io%2Fmoviepy%2F)

*  scikit-video:SciPy 视频处理常用程序。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Faizvorski%2Fscikit-video)

### 地理位置

地理编码地址以及用来处理经纬度的库。

*  GeoDjango:世界级地理图形 web 框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.djangoproject.com%2Fen%2Fdev%2Fref%2Fcontrib%2Fgis%2F)

*  GeoIP:MaxMind GeoIP Legacy 数据库的 Python API。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmaxmind%2Fgeoip-api-python)

*  geojson:GeoJSON 的 Python 绑定及工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffrewsxcv%2Fpython-geojson)

*  geopy:Python 地址编码工具箱。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgeopy%2Fgeopy)

*  pygeoip:纯 Python GeoIP API。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fappliedsec%2Fpygeoip)

*  django-countries:一个 Django 应用程序,提供用于表格的国家选择功能,国旗图标静态文件以及模型中的国家字段。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSmileyChris%2Fdjango-countries)

### HTTP

使用HTTP的库。

*  requests:人性化的HTTP请求库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdocs.python-requests.org%2Fen%2Flatest%2F)

*  grequests:requests 库 + gevent ,用于异步 HTTP 请求.[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Fgrequests)

*  httplib2:全面的 HTTP 客户端库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjcgregorio%2Fhttplib2)

*  treq:类似 requests 的Python API 构建于 Twisted HTTP 客户端之上。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftwisted%2Ftreq)

*  urllib3:一个具有线程安全连接池,支持文件 post,清晰友好的 HTTP 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fshazow%2Furllib3)

### 数据库

Python实现的数据库。

*  pickleDB:一个简单,轻量级键值储存数据库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2FpickleDB%2F)

*  PipelineDB:流式 SQL 数据库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.pipelinedb.com%2F)

*  TinyDB:一个微型的,面向文档型数据库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmsiemens%2Ftinydb)

*  ZODB:一个 Python 原生对象数据库。一个键值和对象图数据库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.zodb.org%2Fen%2Flatest%2F)

### 数据库驱动

用来连接和操作数据库的库。

*  MySQL:[awesome-mysql](https://link.jianshu.com?t=http%3A%2F%2Fshlomi-noach.github.io%2Fawesome-mysql%2F)系列

*  mysql-python:Python 的 MySQL 数据库连接器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fmysql-python%2F)

*  ysqlclient:[mysql-python](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FPyMySQL%2Fmysqlclient-python) 分支,支持 Python 3。

*  oursql:一个更好的 MySQL 连接器,支持原生预编译指令和 BLOBs.[官网](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2Foursql%2F)

*  PyMySQL:纯 Python MySQL 驱动,兼容 mysql-python。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FPyMySQL%2FPyMySQL)

*  PostgreSQL

*  psycopg2:Python 中最流行的 PostgreSQL 适配器。[官网](https://link.jianshu.com?t=http%3A%2F%2Finitd.org%2Fpsycopg%2F)

*  queries:psycopg2 库的封装,用来和 PostgreSQL 进行交互。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgmr%2Fqueries)

*  txpostgres:基于 Twisted 的异步 PostgreSQL 驱动。[官网](https://link.jianshu.com?t=http%3A%2F%2Ftxpostgres.readthedocs.org%2Fen%2Flatest%2F)

*  其他关系型数据库

*  apsw:另一个 Python SQLite封装。[官网](https://link.jianshu.com?t=http%3A%2F%2Frogerbinns.github.io%2Fapsw%2F)

*  dataset:在数据库中存储Python字典

*  pymssql:一个简单的Microsoft SQL Server数据库接口。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.pymssql.org%2Fen%2Flatest%2F)

*  NoSQL 数据库

*  cassandra-python-driver:Cassandra 的 Python 驱动。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdatastax%2Fpython-driver)

*  HappyBase:一个为 Apache HBase 设计的,对开发者友好的库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fhappybase.readthedocs.org%2Fen%2Flatest%2F)

*  Plyvel:一个快速且功能丰富的 LevelDB 的 Python 接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fplyvel.readthedocs.org%2Fen%2Flatest%2F)

*  py2neo:Neo4j restful 接口的Python 封装客户端。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpy2neo.org%2F2.0%2F)

*  pycassa:Cassandra 的 Python Thrift 驱动。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpycassa%2Fpycassa)

*  PyMongo:MongoDB 的官方 Python 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.mongodb.org%2Fecosystem%2Fdrivers%2Fpython%2F)

*  redis-py:Redis 的 Python 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fandymccurdy%2Fredis-py)

*  telephus:基于 Twisted 的 Cassandra 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdriftx%2FTelephus)

*  txRedis:基于 Twisted 的 Redis 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdeldotdr%2FtxRedis)

### ORM

实现对象关系映射或数据映射技术的库。

*  关系型数据库

*  Django Models:Django 的一部分。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.djangoproject.com%2Fen%2Fdev%2Ftopics%2Fdb%2Fmodels%2F)

*  SQLAlchemy:Python SQL 工具以及对象关系映射工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.sqlalchemy.org%2F)

*  [awesome-sqlalchemy](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdahlia%2Fawesome-sqlalchemy)系列

*  [Peewee](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpeewee%2F):一个小巧,富有表达力的 ORM。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcoleifer%2Fpeewee)

*  PonyORM:提供面向生成器的 SQL 接口的 ORM。[官网](https://link.jianshu.com?t=https%3A%2F%2Fponyorm.com%2F)

*  python-sql:编写 Python 风格的 SQL 查询。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fpython-sql)

*  NoSQL 数据库

*  django-mongodb-engine:Django MongoDB 后端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-nonrel%2Fmongodb-engine)

*  PynamoDB:[Amazon DynamoDB](https://link.jianshu.com?t=https%3A%2F%2Faws.amazon.com%2Fdynamodb%2F) 的一个 Python 风格接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjlafon%2FPynamoDB)

*  flywheel:Amazon DynamoDB 的对象映射工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmathcamp%2Fflywheel)

*  MongoEngine:一个Python 对象文档映射工具,用于 MongoDB。[官网](https://link.jianshu.com?t=http%3A%2F%2Fmongoengine.org%2F)

*  hot-redis:为 Redis 提供 Python 丰富的数据类型。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstephenmcd%2Fhot-redis)

*  redisco:一个 Python 库,提供可以持续存在在 Redis 中的简单模型和容器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkiddouk%2Fredisco)

*  其他

*  butterdb:Google Drive 电子表格的 Python ORM。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FWiddershin%2Fbutterdb)

### Web 框架

全栈 Web 框架。

*  [Django](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fdjango%2F):Python 界最流行的 web 框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.djangoproject.com%2F)

*  [awesome-django](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frosarior%2Fawesome-django)系列

*  [Flask](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fflask%2F):一个 Python 微型框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fflask.pocoo.org%2F)

*  [awesome-flask](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhumiaozuzu%2Fawesome-flask)系列

*  pyramid:一个小巧,快速,接地气的开源Python web 框架。

*  [awesome-pyramid](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Furalbash%2Fawesome-pyramid)系列

*  [Bottle](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fbottle%2F):一个快速小巧,轻量级的 WSGI 微型 web 框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbottlepy.org%2Fdocs%2Fdev%2Findex.html)

*  CherryPy:一个极简的 Python web 框架,服从 HTTP/1.1 协议且具有WSGI 线程池。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.cherrypy.org%2F)

*  TurboGears:一个可以扩展为全栈解决方案的微型框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.turbogears.org%2F)

*  [web.py](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-webpy%2F):一个 Python 的 web 框架,既简单,又强大。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwebpy.org%2F)

*  web2py:一个全栈 web 框架和平台,专注于简单易用。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.web2py.com%2F)

*  [Tornado](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Ftornado%2F):一个web 框架和异步网络库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.tornadoweb.org%2Fen%2Flatest%2F)

### 权限

允许或拒绝用户访问数据或功能的库。

*  Carteblanche:Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fneuman%2Fpython-carteblanche%2F)

*  django-guardian:Django 1.2+ 实现了单个对象权限。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-guardian%2Fdjango-guardian)

*  django-rules:一个小巧但是强大的应用,提供对象级别的权限管理,且不需要使用数据库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdfunckt%2Fdjango-rules)

### CMS

内容管理系统

*  odoo-cms: 一个开源的,企业级 CMS,基于odoo。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.odoo.com)

*  django-cms:一个开源的,企业级 CMS,基于 Django。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.django-cms.org%2Fen%2F)

*  djedi-cms:一个轻量级但却非常强大的 Django CMS ,考虑到了插件,内联编辑以及性能。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdjedi-cms.org%2F)

*  FeinCMS:基于 Django 构建的最先进的内容管理系统之一。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.feincms.org%2F)

*  Kotti:一个高级的,Python 范的 web 应用框架,基于 Pyramid 构建。[官网](https://link.jianshu.com?t=http%3A%2F%2Fkotti.pylonsproject.org%2F)

*  Mezzanine:一个强大的,持续的,灵活的内容管理平台。[官网](https://link.jianshu.com?t=http%3A%2F%2Fmezzanine.jupo.org%2F)

*  Opps:一个为杂志,报纸网站以及大流量门户网站设计的 CMS 平台,基于 Django。[官网](https://link.jianshu.com?t=http%3A%2F%2Fopps.github.io%2Fopps%2F)

*  Plone:一个构建于开源应用服务器 Zope 之上的 CMS。[官网](https://link.jianshu.com?t=https%3A%2F%2Fplone.org%2F)

*  Quokka:灵活,可扩展的小型 CMS,基于 Flask 和 MongoDB。[官网](https://link.jianshu.com?t=http%3A%2F%2Fquokkaproject.org%2F)

*  [Wagtail](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fwagtail%2F):一个 Django 内容管理系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwagtail.io%2F)

*  Widgy:最新的 CMS 框架,基于 Django。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwid.gy%2F)

### 电子商务

用于电子商务以及支付的框架和库。

*  django-oscar:一个用于 Django 的开源的电子商务框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Foscarcommerce.com%2F)

*  django-shop:一个基于 Django 的店铺系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fawesto%2Fdjango-shop)

*  Cartridge:一个基于 Mezzanine 构建的购物车应用。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstephenmcd%2Fcartridge)

*  shoop:一个基于 Django 的开源电子商务平台。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.shoop.io%2Fen%2F)

*  alipay:非官方的 Python 支付宝 API。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flxneng%2Falipay)

*  merchant:一个可以接收来自多种支付平台支付的 Django 应用。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fagiliq%2Fmerchant)

*  money:货币类库with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcarlospalol%2Fmoney)

*  python-currencies:显示货币格式以及它的数值。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fpython-currencies)

### RESTful API

用来开发RESTful APIs的库

*  Django

*  [django-rest-framework](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fdjango-rest-framework%2F):一个强大灵活的工具,用来构建 web API。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.django-rest-framework.org%2F)

*  django-tastypie:为Django 应用开发API。[官网](https://link.jianshu.com?t=http%3A%2F%2Ftastypieapi.org%2F)

*  django-formapi:为 Django 的表单验证,创建 JSON APIs 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F5monkeys%2Fdjango-formapi)

*  Flask

*  flask-api:为 flask 开发的,可浏览 Web APIs 。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.flaskapi.org%2F)

*  flask-restful:为 flask 快速创建REST APIs 。[官网](https://link.jianshu.com?t=http%3A%2F%2Fflask-restful.readthedocs.org%2Fen%2Flatest%2F)

*  flask-restless:为 SQLAlchemy 定义的数据库模型创建 RESTful APIs 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fflask-restless.readthedocs.org%2Fen%2Flatest%2F)

*  flask-api-utils:为 Flask 处理 API 表示和验证。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmarselester%2Fflask-api-utils)

*  eve:REST API 框架,由 Flask, MongoDB 等驱动。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnicolaiarocci%2Feve)

*  Pyramid

*  cornice:一个Pyramid 的 REST 框架 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fcornice.readthedocs.org%2Fen%2Flatest%2F)

*  与框架无关的

*  falcon:一个用来建立云 API 和 web app 后端的高性能框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Ffalconframework.org%2F)

*  sandman:为现存的数据库驱动系统自动创建 REST APIs 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjeffknupp%2Fsandman)

*  restless:框架无关的 REST 框架 ,基于从 Tastypie 学到的知识。[官网](https://link.jianshu.com?t=http%3A%2F%2Frestless.readthedocs.org%2Fen%2Flatest%2F)

*  ripozo:快速创建 REST/HATEOAS/Hypermedia APIs。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvertical-knowledge%2Fripozo)

### 验证

实现验证方案的库。

*  OAuth

*  Authomatic:简单但是强大的框架,身份验证/授权客户端。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpeterhudec.github.io%2Fauthomatic%2F)

*  django-allauth:Django 的验证应用。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpennersr%2Fdjango-allauth)

*  django-oauth-toolkit:为 Django 用户准备的 OAuth2。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fevonove%2Fdjango-oauth-toolkit)

*  django-oauth2-provider:为 Django 应用提供 OAuth2 接入。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcaffeinehit%2Fdjango-oauth2-provider)

*  Flask-OAuthlib:OAuth 1.0/a, 2.0 客户端实现,供 Flask 使用。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flepture%2Fflask-oauthlib)

*  OAuthLib:一个 OAuth 请求-签名逻辑通用、 完整的实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FIDAn%2Foauthlib)

*  python-oauth2:一个完全测试的抽象接口。用来创建 OAuth 客户端和服务端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjoestump%2Fpython-oauth2)

*  python-social-auth:一个设置简单的社会化验证方式。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fomab%2Fpython-social-auth)

*  rauth:OAuth 1.0/a, 2.0, 和 Ofly 的 Python 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flitl%2Frauth)

*  sanction:一个超级简单的OAuth2 客户端实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdemianbrecht%2Fsanction)

*  其他

*  jose:JavaScript 对象签名和加密草案的实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdemonware%2Fjose)

*  PyJWT:JSON Web 令牌草案 01。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjpadilla%2Fpyjwt)

*  python-jws:JSON Web 签名草案 02 的实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbrianloveswords%2Fpython-jws)

*  python-jwt:一个用来生成和验证 JSON Web 令牌的模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdavedoesdev%2Fpython-jwt)

### 模板引擎

模板生成和词法解析的库和工具。

*  [Jinja2](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fjinja2%2F):一个现代的,对设计师友好的模板引擎。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpallets%2Fjinja)

*  Chameleon:一个 HTML/XML 模板引擎。 模仿了 ZPT(Zope Page Templates), 进行了速度上的优化。[官网](https://link.jianshu.com?t=https%3A%2F%2Fchameleon.readthedocs.org%2Fen%2Flatest%2F)

*  Genshi:Python 模板工具,用以生成 web 感知的结果。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgenshi.edgewall.org%2F)

*  Mako:Python 平台的超高速轻量级模板。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.makotemplates.org%2F)

### Queue

处理事件以及任务队列的库。

*  celery:一个异步任务队列/作业队列,基于分布式消息传递。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.celeryproject.org%2F)

*  huey:小型多线程任务队列。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcoleifer%2Fhuey)

*  [mrq](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fmrq%2F):Mr. Queue -一个 Python 的分布式 worker 任务队列, 使用 Redis 和 gevent。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpricingassistant%2Fmrq)

*  rq:简单的 Python 作业队列。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpython-rq.org%2F)

*  simpleq:一个简单的,可无限扩张的,基于亚马逊 SQS 的队列。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frdegges%2Fsimpleq)

### 搜索

对数据进行索引和执行搜索查询的库和软件。

*  django-haystack:Django 模块化搜索。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-haystack%2Fdjango-haystack)

*  elasticsearch-py:Elasticsearch 的官方底层 Python 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Fclient%2Fpython-api%2Fcurrent%2Findex.html)

*  elasticsearch-dsl-py:Elasticsearch 的官方高级 Python 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Felastic%2Felasticsearch-dsl-py)

*  solrpy:[solr](https://link.jianshu.com?t=http%3A%2F%2Flucene.apache.org%2Fsolr%2F)的 Python 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fedsu%2Fsolrpy)

*  Whoosh:一个快速的纯 Python 搜索引擎库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwhoosh.readthedocs.org%2Fen%2Flatest%2F)

### 动态消息

用来创建用户活动的库。

*  django-activity-stream:从你的站点行为中生成通用活动信息流。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjustquick%2Fdjango-activity-stream)

*  Stream-Framework:使用 Cassandra 和 Redis 创建动态消息和通知系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftschellenbach%2FStream-Framework)

### 资源管理

管理、压缩、缩小网站资源的工具。

*  django-compressor:将链接和内联的 JavaScript 或 CSS 压缩到一个单独的缓存文件中。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-compressor%2Fdjango-compressor)

*  django-storages:一个针对 Django 的自定义存储后端的工具集合。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdjango-storages.readthedocs.org%2Fen%2Flatest%2F)

*  fanstatic:打包、优化,并且把静态文件依赖作为 Python 的包来提供。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.fanstatic.org%2Fen%2Flatest%2F)

*  File Conveyor:一个后台驻留的程序,用来发现和同步文件到 CDNs, S3 和 FTP。[官网](https://link.jianshu.com?t=http%3A%2F%2Ffileconveyor.org%2F)

*  Flask-Assets:帮你将 web 资源整合到你的 Flask app 中。[官网](https://link.jianshu.com?t=http%3A%2F%2Fflask-assets.readthedocs.org%2Fen%2Flatest%2F)

*  jinja-assets-compressor:一个 Jinja 扩展,用来编译和压缩你的资源。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjaysonsantos%2Fjinja-assets-compressor)

*  webassets:为你的静态资源打包、优化和管理生成独一无二的缓存 URL。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwebassets.readthedocs.org%2Fen%2Flatest%2F)

### 缓存

缓存数据的库。

*  Beaker:一个缓存和会话库,可以用在 web 应用和独立 Python脚本和应用上。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbeaker.readthedocs.org%2Fen%2Flatest%2F)

*  django-cache-machine:Django 模型的自动缓存和失效。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-cache-machine%2Fdjango-cache-machine)

*  django-cacheops:具有自动颗粒化事件驱动失效功能的 ORM。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSuor%2Fdjango-cacheops)

*  django-viewlet:渲染模板,同时具有额外的缓存控制功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F5monkeys%2Fdjango-viewlet)

*  dogpile.cache:dogpile.cache 是 Beaker 的下一代替代品,由同一作者开发。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdogpilecache.readthedocs.org%2Fen%2Flatest%2F)

*  HermesCache:Python 缓存库,具有基于标签的失效和 dogpile effect 保护功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2FHermesCache)

*  johnny-cache:django应用缓存框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjmoiron%2Fjohnny-cache)

*  pylibmc:[libmemcached](https://link.jianshu.com?t=http%3A%2F%2Flibmemcached.org%2FlibMemcached.html) 接口的 Python 封装。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flericson%2Fpylibmc)

### 电子邮件

用来发送和解析电子邮件的库。

*  django-celery-ses:带有 AWS SES 和 Celery 的 Django email 后端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FStreetVoice%2Fdjango-celery-ses)

*  envelopes:供人类使用的电子邮件库。[官网](https://link.jianshu.com?t=http%3A%2F%2Ftomekwojcik.github.io%2Fenvelopes%2F)

*  flanker:一个 email 地址和 Mime 解析库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmailgun%2Fflanker)

*  imbox:Python IMAP 库[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmartinrusev%2Fimbox)

*  inbox.py:Python SMTP 服务器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Finbox.py)

*  inbox:一个开源电子邮件工具箱。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnylas%2Fsync-engine)

*  lamson:Python 风格的 SMTP 应用服务器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fzedshaw%2Flamson)

*  mailjet:Mailjet API 实现,用来提供批量发送邮件,统计等功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FWoLpH%2Fmailjet)

*  marrow.mailer:高性能可扩展邮件分发框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmarrow%2Fmailer)

*  modoboa:一个邮件托管和管理平台,具有现代的、简约的 Web UI。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftonioo%2Fmodoboa)

*  pyzmail:创建,发送和解析电子邮件。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.magiksys.net%2Fpyzmail%2F)

*  Talon:Mailgun 库,用来抽取信息和签名。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmailgun%2Ftalon)

### 国际化

用来进行国际化的库。

*  Babel:一个Python 的国际化库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbabel.pocoo.org%2Fen%2Flatest%2F)

*  Korean:一个韩语词态库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fkorean.readthedocs.org%2Fen%2Flatest%2F)

### URL处理

解析URLs的库

*  furl:一个让处理 URL 更简单小型 Python 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgruns%2Ffurl)

*  purl:一个简单的,不可变的URL类,具有简洁的 API 来进行询问和处理。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcodeinthehole%2Fpurl)

*  pyshorteners:一个纯 Python URL 缩短库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fellisonleao%2Fpyshorteners)

*  shorturl:生成短小 URL 和类似 bit.ly 短链的Python 实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fpython-shorturl)

*  webargs:一个解析 HTTP 请求参数的库,内置对流行 web 框架的支持,包括 Flask, Django, Bottle, Tornado和 Pyramid。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsloria%2Fwebargs)

### HTML处理

处理 HTML和XML的库。

*  BeautifulSoup:以 Python 风格的方式来对 HTML 或 XML 进行迭代,搜索和修改。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.crummy.com%2Fsoftware%2FBeautifulSoup%2Fbs4%2Fdoc%2F)

*  bleach:一个基于白名单的 HTML 清理和文本链接库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbleach.readthedocs.org%2Fen%2Flatest%2F)

*  cssutils:一个 Python 的 CSS 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcssutils%2F)

*  html5lib:一个兼容标准的 HTML 文档和片段解析及序列化库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhtml5lib%2Fhtml5lib-python)

*  lxml:一个非常快速,简单易用,功能齐全的库,用来处理 HTML 和 XML。[官网](https://link.jianshu.com?t=http%3A%2F%2Flxml.de%2F)

*  MarkupSafe:为Python 实现 XML/HTML/XHTML 标记安全字符串。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpallets%2Fmarkupsafe)

*  pyquery:一个解析 HTML 的库,类似 jQuery。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgawel%2Fpyquery)

*  untangle:将XML文档转换为Python对象,使其可以方便的访问。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstchris%2Funtangle)

*  xhtml2pdf:HTML/CSS 转 PDF 工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fxhtml2pdf%2Fxhtml2pdf)

*  xmltodict:像处理 JSON 一样处理 XML。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmartinblech%2Fxmltodict)

爬取网络站点的库

*  Scrapy:一个快速高级的屏幕爬取及网页采集框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fscrapy.org%2F)

*  cola:一个分布式爬虫框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchineking%2Fcola)

*  Demiurge:基于PyQuery 的爬虫微型框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmatiasb%2Fdemiurge)

*  feedparser:通用 feed 解析器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpythonhosted.org%2Ffeedparser%2F)

*  Grab:站点爬取框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fgrablib.org%2F)

*  MechanicalSoup:用于自动和网络站点交互的 Python 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhickford%2FMechanicalSoup)

*  portia:Scrapy 可视化爬取。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fscrapinghub%2Fportia)

*  pyspider:一个强大的爬虫系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbinux%2Fpyspider)

*  RoboBrowser:一个简单的,Python 风格的库,用来浏览网站,而不需要一个独立安装的浏览器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjmcarp%2Frobobrowser)

### 网页内容提取

用于进行网页内容提取的库。

*  Haul:一个可以扩展的图像爬取工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvinta%2FHaul)

*  html2text:将 HTML 转换为 Markdown 格式文本[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fhtml2text)

*  lassie:人性化的网页内容检索库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmichaelhelmick%2Flassie)

*  micawber:一个小型网页内容提取库,用来从 URLs 提取富内容。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcoleifer%2Fmicawber)

*  [newspaper](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-newspaper%2F):使用 Python 进行新闻提取,文章提取以及内容策展。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcodelucas%2Fnewspaper)

*  opengraph:一个用来解析开放内容协议(Open Graph Protocol)的 Python模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ferikriver%2Fopengraph)

*  [python-goose](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-goose%2F):HTML内容/文章提取器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgrangier%2Fpython-goose)

*  python-readability:arc90 公司 readability 工具的 Python 高速端口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fburiy%2Fpython-readability)

*  sanitize:为杂乱的数据世界带来调理性。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fpython-sanitize)

*  sumy:一个为文本文件和 HTML 页面进行自动摘要的模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmiso-belica%2Fsumy)

*  textract:从任何格式的文档中提取文本,Word,PowerPoint,PDFs 等等。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdeanmalmgren%2Ftextract)

### 表单

进行表单操作的库。

*  Deform:Python HTML 表单生成库,受到了 formish 表单生成库的启发。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdeform.readthedocs.org%2Fen%2Flatest%2F)

*  django-bootstrap3:集成了 Bootstrap 3 的 Django。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdyve%2Fdjango-bootstrap3)

*  django-crispy-forms:一个 Django 应用,他可以让你以一种非常优雅且 DRY(Don't repeat yourself) 的方式来创建美观的表单。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdjango-crispy-forms.readthedocs.org%2Fen%2Flatest%2F)

*  django-remote-forms:一个平台独立的 Django 表单序列化工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FWiserTogether%2Fdjango-remote-forms)

*  WTForms:一个灵活的表单验证和呈现库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwtforms.readthedocs.org%2Fen%2Flatest%2F)

*  WTForms-JSON:一个 WTForms 扩展,用来处理 JSON 数据。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwtforms-json.readthedocs.org%2Fen%2Flatest%2F)

### 数据验证

数据验证库。多用于表单验证。

*  Cerberus:A mappings-validator with a variety of rules, normalization-features and simple customization that uses a pythonic schema-definition.[官网](https://link.jianshu.com?t=http%3A%2F%2Fdocs.python-cerberus.org%2Fen%2Fstable%2F)

*  colander:一个用于对从 XML, JSON,HTML 表单获取的数据或其他同样简单的序列化数据进行验证和反序列化的系统。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdocs.pylonsproject.org%2Fprojects%2Fcolander%2Fen%2Flatest%2F)

*  kmatch:一种用于匹配/验证/筛选 Python 字典的语言。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fambitioninc%2Fkmatch)

*  schema:一个用于对 Python 数据结构进行验证的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkeleshev%2Fschema)

*  Schematics:数据结构验证。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fschematics%2Fschematics)

*  valideer:轻量级可扩展的数据验证和适配库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpodio%2Fvalideer)

*  voluptuous:一个 Python 数据验证库。主要是为了验证传入 Python的 JSON,YAML 等数据。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Falecthomas%2Fvoluptuous)

### 反垃圾技术

帮助你和电子垃圾进行战斗的库。

*  django-simple-captcha:一个简单、高度可定制的Django 应用,可以为任何Django表单添加验证码。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmbi%2Fdjango-simple-captcha)

*  django-simple-spam-blocker:一个用于Django的简单的电子垃圾屏蔽工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmoqada%2Fdjango-simple-spam-blocker)

### 标记

用来进行标记的库。

*  django-taggit:简单的 Django 标记工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Falex%2Fdjango-taggit)

### 管理面板

管理界面库。

*  Ajenti:一个你的服务器值得拥有的管理面板。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FEugeny%2Fajenti)

*  django-suit:Django 管理界面的一个替代品 (仅对于非商业用途是免费的)。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdjangosuit.com%2F)

*  django-xadmin:Django admin 的一个替代品,具有很多不错的功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsshwsfc%2Fdjango-xadmin)

*  flask-admin:一个用于 Flask 的简单可扩展的管理界面框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fflask-admin%2Fflask-admin)

*  flower:一个对 Celery 集群进行实时监控和提供 web 管理界面的工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmher%2Fflower)

*  Grappelli:Django 管理界面的一个漂亮的皮肤。[官网](https://link.jianshu.com?t=http%3A%2F%2Fgrappelliproject.com%2F)

*  Wooey:一个 Django 应用,可以为 Python 脚本创建 web 用户界面。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwooey%2Fwooey)

### 静态站点生成器

静态站点生成器是一个软件,它把文本和模板作为输入,然后输出HTML文件。

*  Pelican:使用 Markdown 或 ReST 来处理内容, Jinja 2 来制作主题。支持 DVCS, Disqus.。AGPL 许可。[官网](https://link.jianshu.com?t=http%3A%2F%2Fblog.getpelican.com%2F)

*  Cactus:为设计师设计的静态站点生成器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkoenbok%2FCactus%2F)

*  Hyde:基于 Jinja2 的静态站点生成器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fhyde.github.io%2F)

*  Nikola:一个静态网站和博客生成器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.getnikola.com%2F)

*  Tinkerer:Tinkerer 是一个博客引擎/静态站点生成器,由Sphinx驱动。[官网](https://link.jianshu.com?t=http%3A%2F%2Ftinkerer.me%2F)

*  Lektor:一个简单易用的静态 CMS 和博客引擎。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.getlektor.com%2F)

### 进程

操作系统进程启动及通信库。

*  envoy:比 Python [subprocess](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fsubprocess.html) 模块更人性化。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Fenvoy)

*  sarge:另一 种 subprocess 模块的封装。[官网](https://link.jianshu.com?t=http%3A%2F%2Fsarge.readthedocs.org%2Fen%2Flatest%2F)

*  sh:一个完备的 subprocess 替代库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Famoffat%2Fsh)

### 并发和并行

用以进行并发和并行操作的库。

*  multiprocessing:(Python 标准库) 基于进程的“线程”接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fmultiprocessing.html)

*  threading:(Python 标准库)更高层的线程接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fthreading.html)

*  eventlet:支持 WSGI 的异步框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Feventlet.net%2F)

*  gevent:一个基于协程的 Python 网络库,使用[greenlet](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpython-greenlet%2Fgreenlet)。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.gevent.org%2F)

*  Tomorrow:用于产生异步代码的神奇的装饰器语法实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmadisonmay%2FTomorrow)

*  uvloop:在libuv之上超快速实现asyncio事件循环。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FMagicStack%2Fuvloop)

### 网络

用于网络编程的库。

*  asyncio:(Python 标准库) 异步 I/O, 事件循环, 协程以及任务。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F3%2Flibrary%2Fasyncio.html)

*  [Twisted](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Ftwisted%2F):一个事件驱动的网络引擎。[官网](https://link.jianshu.com?t=https%3A%2F%2Ftwistedmatrix.com%2Ftrac%2F)

*  pulsar:事件驱动的并发框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fquantmind%2Fpulsar)

*  diesel:基于Greenlet 的事件 I/O 框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdieseldev%2Fdiesel)

*  pyzmq:一个 ZeroMQ 消息库的 Python 封装。[官网](https://link.jianshu.com?t=http%3A%2F%2Fzeromq.github.io%2Fpyzmq%2F)

*  txZMQ:基于 Twisted 的 ZeroMQ 消息库的 Python 封装。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsmira%2FtxZMQ)

### WebSocket

帮助使用WebSocket的库。

*  AutobahnPython:给 Python 、使用的 WebSocket & WAMP 基于 Twisted 和 [asyncio](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F3%2Flibrary%2Fasyncio.html)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcrossbario%2Fautobahn-python)

*  Crossbar:开源统一应用路由(Websocket & WAMP for Python on Autobahn).[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcrossbario%2Fcrossbar%2F)

*  django-socketio:给 Django 用的 WebSockets。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstephenmcd%2Fdjango-socketio)

*  WebSocket-for-Python:为Python2/3 以及 PyPy 编写的 WebSocket 客户端和服务器库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FLawouach%2FWebSocket-for-Python)

### WSGI 服务器

兼容 WSGI 的 web 服务器

*  gunicorn:Pre-forked, 部分是由 C 语言编写的。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fgunicorn)

*  uwsgi:uwsgi 项目的目的是开发一组全栈工具,用来建立托管服务, 由 C 语言编写。[官网](https://link.jianshu.com?t=https%3A%2F%2Fuwsgi-docs.readthedocs.org%2Fen%2Flatest%2F)

*  [bjoern](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fbjoern%2F):异步,非常快速,由 C 语言编写。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fbjoern)

*  fapws3:异步 (仅对于网络端),由 C 语言编写。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.fapws.org%2F)

*  meinheld:异步,部分是由 C 语言编写的。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fmeinheld)

*  netius:异步,非常快速。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhivesolutions%2Fnetius)

*  paste:多线程,稳定,久经考验。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpythonpaste.org%2F)

*  rocket:多线程。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Frocket)

*  waitress:多线程, 是它驱动着 Pyramid 框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwaitress.readthedocs.org%2Fen%2Flatest%2F)

*  Werkzeug:一个 WSGI 工具库,驱动着 Flask ,而且可以很方便大嵌入到你的项目中去。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwerkzeug.pocoo.org%2F)

### RPC 服务器

兼容 RPC 的服务器。

*  SimpleJSONRPCServer:这个库是 JSON-RPC 规范的一个实现。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjoshmarshall%2Fjsonrpclib%2F)

*  SimpleXMLRPCServer:(Python 标准库) 简单的 XML-RPC 服务器实现,单线程。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fsimplexmlrpcserver.html)

*  zeroRPC:zerorpc 是一个灵活的 RPC 实现,基于 ZeroMQ 和 MessagePack。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F0rpc%2Fzerorpc-python)

### 密码学

*  cryptography:这个软件包意在提供密码学基本内容和方法提供给 Python 开发者。[官网](https://link.jianshu.com?t=https%3A%2F%2Fcryptography.io%2Fen%2Flatest%2F)

*  hashids:在 Python 中实现 [hashids](https://link.jianshu.com?t=http%3A%2F%2Fhashids.org%2F) 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdavidaurelio%2Fhashids-python)

*  Paramiko:SSHv2 协议的 Python (2.6+, 3.3+) ,提供客户端和服务端的功能。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.paramiko.org%2F)

*  Passlib:安全密码存储/哈希库,[官网](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2Fpasslib%2F)

*  PyCrypto:Python 密码学工具箱。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.dlitz.net%2Fsoftware%2Fpycrypto%2F)

*  PyNacl:网络和密码学(NaCl) 库的 Python 绑定。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpyca%2Fpynacl)

### 图形用户界面

用来创建图形用户界面程序的库。

*  curses:内建的 [ncurses](https://link.jianshu.com?t=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fncurses%2F) 封装,用来创建终端图形用户界面。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fcurses.html%23module-curses)

*  enaml:使用类似 QML 的Declaratic语法来创建美观的用户界面。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnucleic%2Fenaml)

*  [kivy](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fkivy%2F):一个用来创建自然用户交互(NUI)应用程序的库,可以运行在 Windows, Linux, Mac OS X, Android 以及 iOS平台上。[官网](https://link.jianshu.com?t=https%3A%2F%2Fkivy.org%2F)

*  pyglet:一个Python 的跨平台窗口及多媒体库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fpyglet%2Fpyglet%2Fwiki%2FHome)

*  PyQt:跨平台用户界面框架 [Qt](https://link.jianshu.com?t=http%3A%2F%2Fwww.qt.io%2F) 的 Python 绑定 ,支持Qt v4 和 Qt v5。[官网](https://link.jianshu.com?t=https%3A%2F%2Friverbankcomputing.com%2Fsoftware%2Fpyqt%2Fintro)

*  PySide:P跨平台用户界面框架 [Qt](https://link.jianshu.com?t=http%3A%2F%2Fwww.qt.io%2F) 的 Python 绑定 ,支持Qt v4。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwiki.qt.io%2FPySide)

*  Tkinter:Tkinter 是 Python GUI 的一个事实标准库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwiki.python.org%2Fmoin%2FTkInter)

*  Toga:一个 Python 原生的, 操作系统原生的 GUI工具包。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpybee%2Ftoga)

*  urwid:一个用来创建终端 GUI 应用的库,支持组件,事件和丰富的色彩等。[官网](https://link.jianshu.com?t=http%3A%2F%2Furwid.org%2F)

*  wxPython:wxPython 是 wxWidgets C++ 类库和 Python 语言混合的产物。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwxpython.org%2F)

*  PyGObject:GLib/GObject/GIO/GTK+ (GTK+3) 的 Python 绑定[官网](https://link.jianshu.com?t=https%3A%2F%2Fwiki.gnome.org%2FProjects%2FPyGObject)

*  Flexx:Flexx 是一个纯 Python 语言编写的用来创建 GUI 程序的工具集,它使用 web 技术进行界面的展示。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FzoofIO%2Fflexx)

### 游戏开发

超赞的游戏开发库。

*  Cocos2d:cocos2d 是一个用来开发 2D 游戏, 示例和其他图形/交互应用的框架。基于 pyglet。[官网](https://link.jianshu.com?t=http%3A%2F%2Fcocos2d.org%2F)

*  Panda3D:由迪士尼开发的 3D 游戏引擎,并由卡内基梅陇娱乐技术中心负责维护。使用C++编写, 针对 Python 进行了完全的封装。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.panda3d.org%2F)

*  Pygame:Pygame 是一组 Python 模块,用来编写游戏。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.pygame.org%2Fnews.html)

*  PyOgre:Ogre 3D 渲染引擎的 Python 绑定,可以用来开发游戏和仿真程序等任何 3D 应用。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.ogre3d.org%2Ftikiwiki%2FPyOgre)

*  PyOpenGL:OpenGL 的 Python 绑定及其相关 APIs。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpyopengl.sourceforge.net%2F)

*  PySDL2:SDL2 库的封装,基于 ctypes。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpysdl2.readthedocs.org%2Fen%2Flatest%2F)

*  RenPy:一个视觉小说(visual novel)引擎。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.renpy.org%2F)

### 日志

用来生成和操作日志的库。

*  logging:(Python 标准库) 为 Python 提供日志功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Flogging.html)

*  logbook:Logging 库的替代品。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpythonhosted.org%2FLogbook%2F)

*  Eliot:为复杂的和分布式系统创建日志。[官网](https://link.jianshu.com?t=https%3A%2F%2Feliot.readthedocs.org%2Fen%2Flatest%2F)

*  Raven:Sentry的 Python 客户端。[官网](https://link.jianshu.com?t=http%3A%2F%2Fraven.readthedocs.org%2Fen%2Flatest%2F)

*  Sentry:实时记录和收集日志的服务器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fsentry)

### Testing

进行代码库测试和生成测试数据的库。

*  测试框架

*  unittest:(Python 标准库) 单元测试框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Funittest.html)

*  nose:nose 扩展了 unittest 的功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fnose.readthedocs.org%2Fen%2Flatest%2F)

*  contexts:一个 Python 3.3+ 的 BDD 框架。受到C# – Machine.Specifications的启发。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbenjamin-hodgson%2FContexts)

*  hypothesis:Hypothesis 是一个基于先进的 Quickcheck 风格特性的测试库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FDRMacIver%2Fhypothesis)

*  mamba:Python 的终极测试工具, 拥护BDD。[官网](https://link.jianshu.com?t=http%3A%2F%2Fnestorsalceda.github.io%2Fmamba%2F)

*  PyAutoGUI:PyAutoGUI 是一个人性化的跨平台 GUI 自动测试模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fasweigart%2Fpyautogui)

*  pyshould:Should 风格的断言,基于 [PyHamcrest](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhamcrest%2FPyHamcrest)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdrslump%2Fpyshould)

*  pytest:一个成熟的全功能 Python 测试工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpytest.org%2Flatest%2F)

*  green:干净,多彩的测试工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FCleanCut%2Fgreen)

*  pyvows:BDD 风格的测试工具,受Vows.js的启发。[官网](https://link.jianshu.com?t=http%3A%2F%2Fheynemann.github.io%2Fpyvows%2F)-

*  Robot Framework:一个通用的自动化测试框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frobotframework%2Frobotframework)

*  Web 测试

*  Selenium:[Selenium](https://link.jianshu.com?t=http%3A%2F%2Fwww.seleniumhq.org%2F) WebDriver 的 Python 绑定。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fselenium)

*  locust:使用 Python 编写的,可扩展的用户加载测试工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flocustio%2Flocust)

*  sixpack:一个和语言无关的 A/B 测试框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fseatgeek%2Fsixpack)

*  splinter:开源的 web 应用测试工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fsplinter.readthedocs.org%2Fen%2Flatest%2F)

*  Mock测试

*  mock:(Python 标准库) 一个用于伪造测试的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F3%2Flibrary%2Funittest.mock.html)

*  doublex:Python 的一个功能强大的 doubles 测试框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fdoublex)

*  freezegun:通过伪造日期模块来生成不同的时间。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fspulec%2Ffreezegun)

*  httmock:针对 Python 2.6+ 和 3.2+ 生成 伪造请求的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpatrys%2Fhttmock)

*  httpretty:Python 的 HTTP 请求 mock 工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Ffalcao.it%2FHTTPretty%2F)

*  responses:伪造 Python 中的 requests 库的一个通用库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fresponses)

*  VCR.py:在你的测试中记录和重放 HTTP 交互。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkevin1024%2Fvcrpy)

*  对象工厂

*  factoryboy:一个 Python 用的测试固件 (test fixtures) 替代库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frbarrois%2Ffactoryboy)

*  mixer:另外一个测试固件 (test fixtures) 替代库,支持 Django, Flask, SQLAlchemy, Peewee 等。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fklen%2Fmixer)

*  modelmommy:为 Django 测试创建随机固件[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvandersonmota%2Fmodelmommy)

*  代码覆盖率

*  coverage:代码覆盖率测量。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcoverage)

*  伪数据

*  faker:一个 Python 库,用来生成伪数据。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.joke2k.net%2Ffaker%2F)

*  fake2db:伪数据库生成器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Femirozer%2Ffake2db)

*  radar:生成随机的日期/时间。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fradar)

*  错误处理

*  FuckIt.py:FuckIt.py 使用最先进的技术来保证你的 Python 代码无论对错都能继续运行。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fajalt%2Ffuckitpy)

### 代码分析和Lint工具

进行代码分析,解析和操作代码库的库和工具。

*  代码分析

*  coala:语言独立和易于扩展的代码分析应用程序。[官网](https://link.jianshu.com?t=http%3A%2F%2Fcoala-analyzer.org%2F)

*  code2flow:把你的 Python 和 JavaScript 代码转换为流程图。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fscottrogowski%2Fcode2flow)

*  pycallgraph:这个库可以把你的Python 应用的流程(调用图)进行可视化。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgak%2Fpycallgraph)

*  pysonar2:Python 类型推断和检索工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fyinwang0%2Fpysonar2)

*  Lint工具

*  Flake8:模块化源码检查工具: pep8, pyflakes 以及 co。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fflake8)

*  Pylint:一个完全可定制的源码分析器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.pylint.org%2F)

*  pylama:Python 和 JavaScript 的代码审查工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpylama.readthedocs.org%2Fen%2Flatest%2F)

*  代码格式化

*  autopep8:自动格式化 Python 代码,以使其符合 PEP8 规范。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhhatto%2Fautopep8)

### Debugging Tools

用来进行代码调试的库。

*  调试器

*  ipdb:IPython 启用的 [pdb](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fpdb.html)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fipdb)

*  pudb:全屏,基于控制台的 Python 调试器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fpudb)

*  pyringe:可以在 Python 进程中附加和注入代码的调试器。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpyringe)

*  wdb:一个奇异的 web 调试器,通过 WebSockets 工作。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FKozea%2Fwdb)

*  winpdb:一个具有图形用户界面的 Python 调试器,可以进行远程调试,基于 rpdb2。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwinpdb.org%2F)

*  django-debug-toolbar:为 Django 显示各种调试信息。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-debug-toolbar%2Fdjango-debug-toolbar)

*  django-devserver:一个 Django 运行服务器的替代品。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdcramer%2Fdjango-devserver)

*  flask-debugtoolbar:django-debug-toolbar 的 flask 版。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmgood%2Fflask-debugtoolbar)

*  性能分析器

*  lineprofiler:逐行性能分析。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frkern%2Flineprofiler)

*  [Memory Profiler](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fmemory_profiler%2F):监控 Python 代码的内存使用。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpypi.python.org%2Fpypi%2Fmemory_profiler)、[内存](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffabianp%2Fmemoryprofiler)

*  profiling:一个交互式 Python 性能分析工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwhat-studio%2Fprofiling)

*  其他

*  pyelftools:解析和分析 ELF 文件以及 DWARF 调试信息。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Feliben%2Fpyelftools)

*  python-statsd:[statsd](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fetsy%2Fstatsd%2F) 服务器的 Python 客户端。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FWoLpH%2Fpython-statsd)

### Science and Data Analysis

用来进行科学计算和数据分析的库。

*  astropy:一个天文学 Python 库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.astropy.org%2F)

*  [bcbio-nextgen](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fbcbio-nextgen%2F):这个工具箱为全自动高通量测序分析提供符合最佳实践的处理流程。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchapmanb%2Fbcbio-nextgen)

*  bccb:生物分析相关代码集合[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchapmanb%2Fbcbb)

*  Biopython:Biopython 是一组可以免费使用的用来进行生物计算的工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fbiopython.org%2Fwiki%2FMainPage)

*  [blaze](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fblaze%2F):NumPy 和 Pandas 的大数据接口。[官网](https://link.jianshu.com?t=http%3A%2F%2Fblaze.readthedocs.org%2Fen%2Flatest%2Findex.html)

*  [cclib](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fcclib%2F):一个用来解析和解释计算化学软件包输出结果的库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fcclib.github.io%2F)

*  NetworkX:一个为复杂网络设计的高性能软件。[官网](https://link.jianshu.com?t=https%3A%2F%2Fnetworkx.github.io%2F)

*  Neupy:执行和测试各种不同的人工神经网络算法。[官网](https://link.jianshu.com?t=http%3A%2F%2Fneupy.com%2Fpages%2Fhome.html)

*  Numba:Python JIT (just in time) 编译器,针对科学用的 Python ,由Cython 和 NumPy 的开发者开发。[官网](https://link.jianshu.com?t=http%3A%2F%2Fnumba.pydata.org%2F)

*  [NumPy](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fnumpy%2F):使用 Python 进行科学计算的基础包。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.numpy.org%2F)

*  Open Babel:一个化学工具箱,用来描述多种化学数据。[官网](https://link.jianshu.com?t=http%3A%2F%2Fopenbabel.org%2Fwiki%2FMainPage)

*  [Open Mining](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fopen-mining%2F):使用 Python 挖掘商业情报 (BI) (Pandas web 接口)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmining%2Fmining)

*  [orange](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Forange%2F):通过可视化编程或 Python 脚本进行数据挖掘,数据可视化,分析和机器学习。[官网](https://link.jianshu.com?t=http%3A%2F%2Forange.biolab.si%2F)

*  Pandas:提供高性能,易用的数据结构和数据分析工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpandas.pydata.org%2F)

*  PyDy:PyDy 是 Python Dynamics 的缩写,用来为动力学运动建模工作流程提供帮助, 基于 NumPy, SciPy, IPython 和 matplotlib。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.pydy.org%2F)

*  [PyMC](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpymc%2F):马尔科夫链蒙特卡洛采样工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpymc-devs%2Fpymc3)

*  RDKit:化学信息学和机器学习软件。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.rdkit.org%2F)

*  [SciPy](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fscipy%2F):由一些基于 Python ,用于数学,科学和工程的开源软件构成的生态系统。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.scipy.org%2F)

*  [statsmodels](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fstatsmodels%2F):统计建模和计量经济学。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstatsmodels%2Fstatsmodels)

*  SymPy:一个用于符号数学的 Python 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsympy%2Fsympy)

*  zipline:一个 Python 算法交易库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fquantopian%2Fzipline)

*  [Bayesian-belief-networks](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fbayesian-belief-networks%2F):优雅的贝叶斯信念网络框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FeBay%2Fbayesian-belief-networks)

### 数据可视化

进行数据可视化的库。 参见: [awesome-javascript](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsorrycc%2Fawesome-javascript%23data-visualization)。

*  matplotlib:一个 Python 2D 绘图库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fmatplotlib.org%2F)

*  bokeh:用 Python 进行交互式 web 绘图。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbokeh%2Fbokeh)

*  ggplot:ggplot2 给 R 提供的 API 的 Python 版本。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fyhat%2Fggplot)

*  plotly:协同 Python 和 matplotlib 工作的 web 绘图库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fplot.ly%2Fpython%2F)

*  pygal:一个 Python SVG 图表创建工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.pygal.org%2Fen%2Flatest%2F)

*  pygraphviz:Graphviz 的 Python 接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fpygraphviz)

*  PyQtGraph:交互式实时2D/3D/图像绘制及科学/工程学组件。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.pyqtgraph.org%2F)

*  SnakeViz:一个基于浏览器的 Python's cProfile 模块输出结果查看工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fjiffyclub.github.io%2Fsnakeviz%2F)

*  vincent:把 Python 转换为 Vega 语法的转换工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwrobstory%2Fvincent)

*  VisPy:基于 OpenGL 的高性能科学可视化工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fvispy.org%2F)

### 计算机视觉

计算机视觉库。

*  OpenCV:开源计算机视觉库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fopencv.org%2F)

*  pyocr:Tesseract和Cuneiform的包装库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjflesch%2Fpyocr)

*  pytesseract:[Google Tesseract OCR](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftesseract-ocr)的另一包装库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmadmaze%2Fpytesseract)

*  [SimpleCV](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fsimplecv%2F):一个用来创建计算机视觉应用的开源框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fsimplecv.org%2F)

### 机器学习

机器学习库。 参见: [awesome-machine-learning](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjosephmisiti%2Fawesome-machine-learning%23python).

*  Crab:灵活、快速的推荐引擎。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmuricoca%2Fcrab)

*  gensim:人性化的话题建模库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpiskvorky%2Fgensim)

*  hebel:GPU 加速的深度学习库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhannes-brt%2Fhebel)

*  NuPIC:智能计算 Numenta 平台。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnumenta%2Fnupic)

*  pattern:Python 网络挖掘模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fclips%2Fpattern)

*  [PyBrain](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpybrain%2F):另一个 Python 机器学习库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpybrain%2Fpybrain)

*  [Pylearn2](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpylearn2%2F):一个基于 [Theano](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FTheano%2FTheano) 的机器学习库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flisa-lab%2Fpylearn2)

*  [python-recsys](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-recsys%2F):一个用来实现推荐系统的 Python 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Focelma%2Fpython-recsys)

*  scikit-learn:基于 SciPy 构建的机器学习 Python 模块。[官网](https://link.jianshu.com?t=http%3A%2F%2Fscikit-learn.org%2F)

*  pydeep:Python 深度学习库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fandersbll%2Fdeeppy)

*  vowpalporpoise:轻量级 [Vowpal Wabbit](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FJohnLangford%2Fvowpalwabbit%2F) 的 Python 封装。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjosephreisinger%2Fvowpalporpoise)

*  skflow:一个 [TensorFlow](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftensorflow%2Ftensorflow) 的简化接口(模仿 scikit-learn)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftensorflow%2Fskflow)

### MapReduce

MapReduce 框架和库。

*  [dpark](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fdpark%2F):Spark 的 Python 克隆版,一个类似 MapReduce 的框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdouban%2Fdpark)

*  dumbo:这个 Python 模块可以让人轻松的编写和运行 Hadoop 程序。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fklbostee%2Fdumbo)

*  luigi:这个模块帮你构建批处理作业的复杂流水线。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fspotify%2Fluigi)

*  mrjob:在 Hadoop 或 Amazon Web Services 上运行 MapReduce 任务。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FYelp%2Fmrjob)

*  PySpark:Spark 的 Python API 。[官网](https://link.jianshu.com?t=http%3A%2F%2Fspark.apache.org%2Fdocs%2Flatest%2Fprogramming-guide.html)

*  streamparse:运行针对事实数据流的 Python 代码。集成了[Apache Storm](https://link.jianshu.com?t=http%3A%2F%2Fstorm.apache.org%2F)。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FParsely%2Fstreamparse)

### 函数式编程

使用 Python 进行函数式编程。

*  CyToolz:Toolz 的 Cython 实现 : 高性能函数式工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpytoolz%2Fcytoolz%2F)

*  fn.py:在 Python 中进行函数式编程 : 实现了一些享受函数式编程缺失的功能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkachayev%2Ffn.py)

*  funcy:炫酷又实用的函数式工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSuor%2Ffuncy)

*  Toolz:一组用于迭代器,函数和字典的函数式编程工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpytoolz%2Ftoolz)

### 第三方 API

用来访问第三方 API的库。 参见: [List of Python API Wrappers and Libraries](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frealpython%2Flist-of-python-api-wrappers)。

*  apache-libcloud:一个为各种云设计的 Python 库。[官网](https://link.jianshu.com?t=https%3A%2F%2Flibcloud.apache.org%2F)

*  boto:Amazon Web Services 的 Python 接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fboto%2Fboto)

*  django-wordpress:WordPress models and views for Django.[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsunlightlabs%2Fdjango-wordpress%2F)

*  facebook-sdk:Facebook 平台的 Python SDK.[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmobolic%2Ffacebook-sdk)

*  facepy:Facepy 让和 Facebook's Graph API 的交互变得更容易。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjgorset%2Ffacepy)

*  gmail:Gmail 的 Python 接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcharlierguo%2Fgmail)

*  google-api-python-client:Python 用的 Google APIs 客户端库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-api-python-client)

*  gspread:Google 电子表格的 Python API.[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fburnash%2Fgspread)

*  twython:Twitter API 的封装。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fryanmcgrath%2Ftwython)

### DevOps 工具

用于 DevOps 的软件和库。

*  Ansible:一个非常简单的 IT 自动化平台。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fansible%2Fansible)

*  SaltStack:基础设施自动化和管理系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsaltstack%2Fsalt)

*  OpenStack:用于构建私有和公有云的开源软件。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.openstack.org%2F)

*  Docker Compose:快速,分离的开发环境,使用 Docker。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.docker.com%2Fcompose%2F)

*  Fabric:一个简单的,Python 风格的工具,用来进行远程执行和部署。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.fabfile.org%2F)

*  cuisine:为 Fabric 提供一系列高级函数。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsebastien%2Fcuisine)

*  Fabtools:一个用来编写超赞的 Fabric 文件的工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fronnix%2Ffabtools)

*  gitapi:Git 的纯 Python API。[官网](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fhaard%2Fgitapi)

*  hgapi:Mercurial 的纯 Python API。[官网](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fhaard%2Fhgapi)

*  honcho:[Foreman](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fddollar%2Fforeman)的 Python 克隆版,用来管理基于[Procfile](https://link.jianshu.com?t=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fprocfile)的应用。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnickstenning%2Fhoncho)

*  pexpect:Controlling interactive programs in a pseudo-terminal like 在一个伪终端中控制交互程序,就像 GNU expect 一样。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpexpect%2Fpexpect)

*  psutil:一个跨平台进程和系统工具模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgiampaolo%2Fpsutil)

*  supervisor:UNIX 的进程控制系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSupervisor%2Fsupervisor)

### 任务调度

任务调度库。

*  APScheduler:轻巧但强大的进程内任务调度,使你可以调度函数。[官网](https://link.jianshu.com?t=http%3A%2F%2Fapscheduler.readthedocs.org%2Fen%2Flatest%2F)

*  django-schedule:一个 Django 排程应用。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fthauber%2Fdjango-schedule)

*  doit:一个任务执行和构建工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpydoit.org%2F)

*  gunnery:分布式系统使用的多用途任务执行工具 ,具有 web 交互界面。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgunnery%2Fgunnery)

*  Joblib:一组为 Python 提供轻量级作业流水线的工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpythonhosted.org%2Fjoblib%2Findex.html)

*  Plan:如有神助地编写 crontab 文件。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffengsp%2Fplan)

*  schedule:人性化的 Python 任务调度库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdbader%2Fschedule)

*  Spiff:使用纯 Python 实现的强大的工作流引擎。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fknipknap%2FSpiffWorkflow)

*  TaskFlow:一个可以让你方便执行任务的 Python 库,一致并且可靠。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdocs.openstack.org%2Fdeveloper%2Ftaskflow%2F)

### 外来函数接口

使用外来函数接口的库。

*  cffi:用来调用 C 代码的外来函数接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcffi)

*  [ctypes](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fctypes%2F):(Python 标准库) 用来调用 C 代码的外来函数接口。[官网](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fctypes.html)

*  PyCUDA:Nvidia CUDA API 的封装。[官网](https://link.jianshu.com?t=https%3A%2F%2Fmathema.tician.de%2Fsoftware%2Fpycuda%2F)

*  SWIG:简化的封装和接口生成器。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.swig.org%2FDoc1.3%2FPython.html)

### 高性能

让 Python 更快的库。

*  Cython:优化的 Python 静态编译器。使用类型混合使 Python 编译成 C 或 C++ 模块来获得性能的极大提升。[官网](https://link.jianshu.com?t=http%3A%2F%2Fcython.org%2F)

*  PeachPy:嵌入 Python 的 x86-64 汇编器。可以被用作 Python 内联的汇编器或者是独立的汇编器,用于 Windows, Linux, OS X, Native Client 或者 Go 。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FMaratyszcza%2FPeachPy)

*  PyPy:使用 Python 实现的 Python。解释器使用黑魔法加快 Python 运行速度且不需要加入额外的类型信息。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpypy.org%2F)

*  [Pyston](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpyston-llvm-jit%2F):使用 LLVM 和现代 JIT 技术构建的 Python 实现,目标是为了获得很好的性能。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdropbox%2Fpyston)

*  Stackless Python:一个强化版的 Python。[官网](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fstackless-dev%2Fstackless%2Foverview)

### 微软的 Windows平台

在 Windows 平台上进行 Python 编程。

*  Python(x,y):面向科学应用的 Python 发行版,基于 Qt 和 Spyder。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpython-xy.github.io%2F)

*  pythonlibs:非官方的 Windows 平台 Python 扩展二进制包。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.lfd.uci.edu%2F%7Egohlke%2Fpythonlibs%2F)

*  PythonNet:Python 与 .NET 公共语言运行库 (CLR)的集成。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet)

*  PyWin32:针对 Windows 的Python 扩展。[官网](https://link.jianshu.com?t=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpywin32%2F)

*  WinPython:Windows 7/8 系统下便携式开发环境。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwinpython.github.io%2F)

### 网络可视化和SDN

用来进行网络可视化和SDN(软件定义网络)的工具和库。

*  Mininet:一款流行的网络模拟器以及用 Python 编写的 API。[官网](https://link.jianshu.com?t=http%3A%2F%2Fmininet.org%2F)

*  POX:一个针对基于 Python 的软件定义网络应用(例如 OpenFlow SDN 控制器)的开源开发平台。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnoxrepo%2Fpox)

*  Pyretic:火热的 SDN 编程语言中的一员,为网络交换机和模拟器提供强大的抽象能力。[官网](https://link.jianshu.com?t=http%3A%2F%2Ffrenetic-lang.org%2Fpyretic%2F)

*  SDX Platform:基于 SDN 的 IXP 实现,影响了 Mininet, POX 和 Pyretic。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsdn-ixp%2Finternet2award)

### 硬件

用来对硬件进行编程的库。

*  ino:操作[Arduino](https://link.jianshu.com?t=https%3A%2F%2Fwww.arduino.cc%2F)的命令行工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Finotool.org%2F)

*  Pyro:Python 机器人编程库。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpyrorobotics.com%2F)

*  PyUserInput:跨平台的,控制鼠标和键盘的模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSavinaRoja%2FPyUserInput)

*  scapy:一个非常棒的操作数据包的库。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsecdev%2Fscapy)

*  wifi:一个 Python 库和命令行工具用来在 Linux 平台上操作WiFi。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwifi.readthedocs.org%2Fen%2Flatest%2F)

*  Pingo:Pingo 为类似Raspberry Pi,pcDuino, Intel Galileo等设备提供统一的API用以编程。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.pingo.io%2F)

### 兼容性

帮助从 Python 2 向 Python 3迁移的库。

*  Python-Future:这就是 Python 2 和 Python 3 之间丢失的那个兼容性层。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpython-future.org%2Findex.html)

*  Python-Modernize:使 Python 代码更加现代化以便最终迁移到 Python 3。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmitsuhiko%2Fpython-modernize)

*  Six:Python 2 和 3 的兼容性工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fsix)

### 杂项

不属于上面任何一个类别,但是非常有用的库。

*  blinker:一个快速的 Python 进程内信号/事件分发系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjek%2Fblinker)

*  itsdangerous:一系列辅助工具用来将可信的数据传入不可信的环境。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpallets%2Fitsdangerous)

*  pluginbase:一个简单但是非常灵活的 Python 插件系统。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmitsuhiko%2Fpluginbase)

*  Pychievements:一个用来创建和追踪成就的 Python 框架。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FPacketPerception%2Fpychievements)

*  [Tryton](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Ftryton%2F):一个通用商务框架。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.tryton.org%2F)

### 算法和设计模式

Python 实现的算法和设计模式。

*  [algorithms](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Falgorithms%2F):一个 Python 算法模块。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnryoung%2Falgorithms)

*  python-patterns:Python 设计模式的集合。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns)

*  sortedcontainers:快速,纯 Python 实现的SortedList,SortedDict 和 SortedSet 类型。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.grantjenks.com%2Fdocs%2Fsortedcontainers%2F)

### 编辑器插件

编辑器和 IDE 的插件

*  Emacs

*  Elpy:Emacs Python 开发环境。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjorgenschaefer%2Felpy)

*  Sublime Text

*  SublimeJEDI:一个 Sublime Text 插件,用来使用超赞的自动补全库 Jedi。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsrusskih%2FSublimeJEDI)

*  Anaconda:Anaconda 把你的 Sublime Text 3 变成一个功能齐全的 Python IDE。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FDamnWidget%2Fanaconda)

*  Vim

*  [YouCompleteMe](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fyoucompleteme%2F):引入基于 [Jedi](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdavidhalter%2Fjedi) 的 Python 自动补全引擎。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FValloric%2FYouCompleteMe)

*  Jedi-vim:绑定 Vim 和 Jedi 自动补全库对 Python 进行自动补全。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdavidhalter%2Fjedi-vim)

*  Python-mode:将 Vim 变成 Python IDE 的一款多合一插件。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fklen%2Fpython-mode)

*  Visual Studio

*  PTVS:Visual Studio 的 Python 工具[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FMicrosoft%2FPTVS)

### 集成开发环境

流行的 Python 集成开发环境。

*  PyCharm:商业化的 Python IDE ,由 JetBrains 开发。也有免费的社区版提供。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.jetbrains.com%2Fpycharm%2F)

*  LiClipse:基于 Eclipse 的免费多语言 IDE 。使用 PyDev 来支持 Python 。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwww.liclipse.com%2F)

*  Spyder:开源 Python IDE。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fspyder-ide%2Fspyder)

### 自动聊天工具

用于开发聊天机器人的库

*  Errbot:最简单和最流行的聊天机器人用来实现自动聊天工具。[官网](https://link.jianshu.com?t=http%3A%2F%2Ferrbot.io%2Fen%2Flatest%2F)

## 服务

在线工具和简化开发的 API 。

### 持续集成

参见: [awesome-CIandCD](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fciandcd%2Fawesome-ciandcd%23online-build-system).

*  Travis CI:一个流行的工具,为你的开源和[私人](https://link.jianshu.com?t=https%3A%2F%2Ftravis-ci.com%2F)项目提供持续集成服务。(仅支持 GitHub)[官网](https://link.jianshu.com?t=https%3A%2F%2Ftravis-ci.org%2F)

*  CircleCI:一个持续集成工具,可以非常快速的进行并行测试。 (仅支持 GitHub)[官网](https://link.jianshu.com?t=https%3A%2F%2Fcircleci.com%2F)

*  Vexor CI:一个为私人 app 提供持续集成的工具,支持按分钟付费。[官网](https://link.jianshu.com?t=https%3A%2F%2Fvexor.io%2F)

*  Wercker:基于 Docker 平台,用来构建和部署微服务。[官网](https://link.jianshu.com?t=http%3A%2F%2Fwercker.com%2F)

### 代码质量

*  Codacy:自动化代码审查,更加快速的发布高质量代码。对于开源项目是免费的。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.codacy.com%2F)

*  QuantifiedCode:一个数据驱动、自动、持续的代码审查工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fwww.quantifiedcode.com%2F)

## 资源

在这里可以找到新的 Python 库。

### 网站

*  [r/Python](https://link.jianshu.com?t=https%3A%2F%2Fwww.reddit.com%2Fr%2Fpython)

*  [CoolGithubProjects](https://link.jianshu.com?t=https%3A%2F%2Fwww.coolgithubprojects.com%2F)

*  [Django Packages](https://link.jianshu.com?t=https%3A%2F%2Fwww.djangopackages.com%2F)

*  [Full Stack Python](https://link.jianshu.com?t=http%3A%2F%2Fwww.fullstackpython.com%2F)

*  [Python 3 Wall of Superpowers](https://link.jianshu.com?t=http%3A%2F%2Fpython3wos.appspot.com%2F)

*  [Python Hackers](https://link.jianshu.com?t=http%3A%2F%2Fpythonhackers.com%2Fopen-source%2F)

*  [Python ZEEF](https://link.jianshu.com?t=https%3A%2F%2Fpython.zeef.com%2Falan.richmond)

*  [Trending Python repositories on GitHub today](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftrending%3Fl%3Dpython)

*  [PyPI Ranking](https://link.jianshu.com?t=http%3A%2F%2Fpypi-ranking.info%2Falltime)

### 周刊

*  [Import Python Newsletter](https://link.jianshu.com?t=http%3A%2F%2Fimportpython.com%2Fnewsletter%2F)

*  [Pycoder's Weekly](https://link.jianshu.com?t=http%3A%2F%2Fpycoders.com%2F)

*  [Python Weekly](https://link.jianshu.com?t=http%3A%2F%2Fwww.pythonweekly.com%2F)

### Twitter

*  [@codetengu](https://link.jianshu.com?t=https%3A%2F%2Ftwitter.com%2Fcodetengu)

*  [@getpy](https://link.jianshu.com?t=https%3A%2F%2Ftwitter.com%2Fgetpy)

*  [@planetpython](https://link.jianshu.com?t=https%3A%2F%2Ftwitter.com%2Fplanetpython)

*  [@pycoders](https://link.jianshu.com?t=https%3A%2F%2Ftwitter.com%2Fpycoders)

*  [@pypi](https://link.jianshu.com?t=https%3A%2F%2Ftwitter.com%2Fpypi)

*  [@pythontrending](https://link.jianshu.com?t=https%3A%2F%2Ftwitter.com%2Fpythontrending)

*  [@PythonWeekly](https://link.jianshu.com?t=https%3A%2F%2Ftwitter.com%2FPythonWeekly)

### 学习指南

*  [Scipy-lecture-notes](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fscipy-lecture-notes%2F):如何用Python来做学术?[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fscipy-lectures%2Fscipy-lecture-notes)

*  [SScientific-python-lectures](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fscientific-python-lectures%2F):Python科学计算的资料。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjrjohansson%2Fscientific-python-lectures)

*  [Mario-Level-1](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fmario-level-1%2F):用Python和Pygame写的超级马里奥第一关。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjustinmeister%2FMario-Level-1)

*  [Python Koans](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-koans%2F):Python的交互式学习工具。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgregmalcolm%2Fpython_koans)

*  [Minecraft](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fminecraft-python%2F):用python写的Minecraft游戏。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffogleman%2FMinecraft)

*  [pycrumbs](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-pycrumbs%2F):Python资源大全。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkirang89%2Fpycrumbs%2Fblob%2Fmaster%2Fpycrumbs.md)

*  [python-patterns](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-patterns%2F):使用python实现设计模式。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns)

*  [Projects](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fpython-projects%2F):Python项目大集合。[官网](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkaran%2FProjects)

*  [The Hitchhiker’s Guide to Python](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fthe-hitchhikers-guide-to-python%2F):旅行者的Python学习指南。[官网](https://link.jianshu.com?t=http%3A%2F%2Fdocs.python-guide.org%2Fen%2Flatest%2F)

*  [Code Like a Pythonista: Idiomatic Python](https://link.jianshu.com?t=http%3A%2F%2Ftop.jobbole.com%2F18767%2F):如何像Python高手(Pythonista)一样编程。[官网](https://link.jianshu.com?t=http%3A%2F%2Fpython.net%2F%7Egoodger%2Fprojects%2Fpycon%2F2007%2Fidiomatic%2Fhandout.html)

作者:aimaile

链接:[https://www.jianshu.com/p/a166e63544d8](https://www.jianshu.com/p/a166e63544d8)

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 148,637评论 1 318
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 63,443评论 1 266
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 99,164评论 0 218
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 42,075评论 0 188
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 50,080评论 1 266
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 39,365评论 1 184
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 30,901评论 2 283
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 29,649评论 0 176
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 33,122评论 0 223
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 29,734评论 2 225
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 31,093评论 1 236
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 27,548评论 2 222
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 32,028评论 3 216
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 25,765评论 0 9
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,291评论 0 178
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 34,162评论 2 239
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 34,293评论 2 242

推荐阅读更多精彩内容