Python--Flask Django等常用庫(kù)總結(jié)

# Python 資源大全中文版

我想很多程序員應(yīng)該記得 GitHub 上有一個(gè) Awesome - XXX 系列的資源整理八毯。[awesome-python](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvinta%2Fawesome-python) 是 vinta 發(fā)起維護(hù)的 Python 資源列表携茂,內(nèi)容包括:Web框架箭券、網(wǎng)絡(luò)爬蟲(chóng)寄锐、網(wǎng)絡(luò)內(nèi)容提取、模板引擎、數(shù)據(jù)庫(kù)近忙、數(shù)據(jù)可視化田晚、圖片處理咳促、文本處理、自然語(yǔ)言處理趋翻、機(jī)器學(xué)習(xí)做鹰、日志、代碼分析等泞莉。由伯樂(lè)在線持續(xù)更新哪雕。

Awesome 系列雖然挺全,但基本只對(duì)收錄的資源做了極為簡(jiǎn)要的介紹鲫趁,如果有更詳細(xì)的中文介紹斯嚎,對(duì)相應(yīng)開(kāi)發(fā)者的幫助會(huì)更大。這也是我們發(fā)起這個(gè)開(kāi)源項(xiàng)目的初衷。

### 我們要做什么堡僻?

*? 基于 awesome-python 列表糠惫,我們將對(duì)其中的各個(gè)資源項(xiàng)進(jìn)行編譯整理。此外還將從其他來(lái)源補(bǔ)充好資源钉疫。

*? 整理后的內(nèi)容硼讽,將收錄在[伯樂(lè)在線資源頻道](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2F)∩螅可參考已整理的內(nèi)容:

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

*? 《[Flask:一個(gè)使用Python編寫(xiě)的輕量級(jí)Web應(yīng)用框架](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fflask%2F)》

### 環(huán)境管理

管理 Python 版本和環(huán)境的工具

*? p:非常簡(jiǎn)單的交互式 python 版本管理工具固阁。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fqw3rtman%2Fp)

*? pyenv:簡(jiǎn)單的 Python 版本管理工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fyyuu%2Fpyenv)

*? Vex:可以在虛擬環(huán)境中執(zhí)行命令城菊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsashahart%2Fvex)

*? virtualenv:創(chuàng)建獨(dú)立 Python 環(huán)境的工具备燃。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fvirtualenv)

*? virtualenvwrapper:virtualenv 的一組擴(kuò)展。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fvirtualenvwrapper)

### 包管理

管理包和依賴的工具凌唬。

*? pip:Python 包和依賴關(guān)系管理工具并齐。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpip.pypa.io%2F)

*? pip-tools:保證 Python 包依賴關(guān)系更新的一組工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnvie%2Fpip-tools)

*? conda:跨平臺(tái)客税,Python 二進(jìn)制包管理工具况褪。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fconda%2Fconda%2F)

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

*? wheel:Python 分發(fā)的新標(biāo)準(zhǔn)更耻,意在取代 eggs测垛。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpythonwheels.com%2F)

### 包倉(cāng)庫(kù)

本地 PyPI 倉(cāng)庫(kù)服務(wù)和代{過(guò)}{濾}理。

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

*? Warehouse:PyPA 提供的 PyPI 鏡像工具赐纱。[官網(wǎng)](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 服務(wù)和打包/測(cè)試/分發(fā)工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdoc.devpi.net%2F)

*? localshop:本地 PyPI 服務(wù)(自定義包并且自動(dòng)對(duì) PyPI 鏡像)熬北。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmvantellingen%2Flocalshop)

### 分發(fā)

打包為可執(zhí)行文件以便分發(fā)疙描。

*? PyInstaller:將 Python 程序轉(zhuǎn)換成獨(dú)立的執(zhí)行文件(跨平臺(tái))。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpyinstaller%2Fpyinstaller)

*? dh-virtualenv:構(gòu)建并將 virtualenv 虛擬環(huán)境作為一個(gè) Debian 包來(lái)發(fā)布讶隐。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdh-virtualenv.readthedocs.org%2F)

*? Nuitka:將腳本起胰、模塊、包編譯成可執(zhí)行文件或擴(kuò)展模塊巫延。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fnuitka.net%2F)

*? py2app:將 Python 腳本變?yōu)楠?dú)立軟件包(Mac OS X)效五。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpythonhosted.org%2Fpy2app%2F)

*? py2exe:將 Python 腳本變?yōu)楠?dú)立軟件包(Windows)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.py2exe.org%2F)

*? pynsist:一個(gè)用來(lái)創(chuàng)建 Windows 安裝程序的工具炉峰,可以在安裝程序中打包 Python本身畏妖。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpynsist.readthedocs.org%2F)

### 構(gòu)建工具

將源碼編譯成軟件。

*? buildout:一個(gè)構(gòu)建系統(tǒng)疼阔,從多個(gè)組件來(lái)創(chuàng)建戒劫,組裝和部署應(yīng)用半夷。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.buildout.org%2F)

*? BitBake:針對(duì)嵌入式 Linux 的類(lèi)似 make 的構(gòu)建工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.yoctoproject.org%2Fdocs%2F1.6%2Fbitbake-user-manual%2Fbitbake-user-manual.html)

*? fabricate:對(duì)任何語(yǔ)言自動(dòng)找到依賴關(guān)系的構(gòu)建工具迅细。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fcode.google.com%2Farchive%2Fp%2Ffabricate)

*? PlatformIO:多平臺(tái)命令行構(gòu)建工具巫橄。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fplatformio%2Fplatformio)

*? PyBuilder:純 Python 實(shí)現(xiàn)的持續(xù)化構(gòu)建工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpybuilder%2Fpybuilder)

*? SCons:軟件構(gòu)建工具茵典。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.scons.org%2F)

### 交互式解析器

交互式 Python 解析器湘换。

*? IPython:功能豐富的工具,非常有效的使用交互式 Python统阿。[官網(wǎng)](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 解析器彩倚。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fbpython-interpreter.org%2F)

*? ptpython:高級(jí)交互式Python解析器, 構(gòu)建于[python-prompt-toolkit](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjonathanslenders%2Fpython-prompt-toolkit) 之上砂吞。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjonathanslenders%2Fptpython)

### 文件

文件管理和 MIME(多用途的網(wǎng)際郵件擴(kuò)充協(xié)議)類(lèi)型檢測(cè)署恍。

*? imghdr:(Python 標(biāo)準(zhǔn)庫(kù))檢測(cè)圖片類(lèi)型崎溃。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fimghdr.html)

*? mimetypes:(Python 標(biāo)準(zhǔn)庫(kù))將文件名映射為 MIME 類(lèi)型蜻直。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fmimetypes.html)

*? path.py:對(duì) os.path 進(jìn)行封裝的模塊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjaraco%2Fpath.py)

*? pathlib:(Python3.4+ 標(biāo)準(zhǔn)庫(kù))跨平臺(tái)的袁串、面向?qū)ο蟮穆窂讲僮鲙?kù)概而。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpathlib.readthedocs.org%2Fen%2Fpep428%2F)

*? python-magic:文件類(lèi)型檢測(cè)的第三方庫(kù) libmagic 的 Python 接口。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fahupp%2Fpython-magic)

*? Unipath:用面向?qū)ο蟮姆绞讲僮魑募湍夸洿研蕖官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmikeorr%2FUnipath)

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

### 日期和時(shí)間

操作日期和時(shí)間的類(lèi)庫(kù)赎瑰。

*? arrow:更好的 Python 日期時(shí)間操作類(lèi)庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcrsmithdev%2Farrow)

*? Chronyk:Python 3 的類(lèi)庫(kù)破镰,用于解析手寫(xiě)格式的時(shí)間和日期餐曼。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FKoffeinFlummi%2FChronyk)

*? dateutil:Python datetime 模塊的擴(kuò)展。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fpython-dateutil)

*? delorean:解決 Python 中有關(guān)日期處理的棘手問(wèn)題的庫(kù)鲜漩。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmyusuf3%2Fdelorean%2F)

*? moment:一個(gè)用來(lái)處理時(shí)間和日期的Python庫(kù)源譬。靈感來(lái)自于Moment.js。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fzachwill%2Fmoment)

*? PyTime:一個(gè)簡(jiǎn)單易用的Python模塊孕似,用于通過(guò)字符串來(lái)操作日期/時(shí)間踩娘。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fshinux%2FPyTime)

*? pytz:現(xiàn)代以及歷史版本的世界時(shí)區(qū)定義。將時(shí)區(qū)數(shù)據(jù)庫(kù)引入Python喉祭。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Flaunchpad.net%2Fpytz)

*? when.py:提供用戶友好的函數(shù)來(lái)幫助用戶進(jìn)行常用的日期和時(shí)間操作养渴。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdirn%2FWhen.py)

### 文本處理

用于解析和操作文本的庫(kù)。

*? 通用

*? [chardet](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fchardet%2F):字符編碼檢測(cè)器泛烙,兼容 Python2 和 Python3理卑。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchardet%2Fchardet)

*? difflib:(Python 標(biāo)準(zhǔn)庫(kù))幫助我們進(jìn)行差異化比較。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fdifflib.html)

*? ftfy:讓Unicode文本更完整更連貫蔽氨。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FLuminosoInsight%2Fpython-ftfy)

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

*? Levenshtein:快速計(jì)算編輯距離以及字符串的相似度霞溪。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fztane%2Fpython-Levenshtein%2F)

*? pangu.py:在中日韓語(yǔ)字符和數(shù)字字母之間添加空格。[官網(wǎng)](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實(shí)現(xiàn)中捆。

*? shortuuid:一個(gè)生成器庫(kù)鸯匹,用以生成簡(jiǎn)潔的,明白的泄伪,URL 安全的 UUID殴蓬。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstochastic-technologies%2Fshortuuid)

*? unidecode:Unicode 文本的 ASCII 轉(zhuǎn)換形式 。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2FUnidecode)

*? uniout:打印可讀的字符蟋滴,而不是轉(zhuǎn)義的字符串染厅。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmoskytw%2Funiout)

*? xpinyin:一個(gè)用于把漢字轉(zhuǎn)換為拼音的庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flxneng%2Fxpinyin)

*? simplejson:Python的JSON編碼津函、解碼器肖粮。[官網(wǎng)](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:一個(gè) Python slug 化庫(kù)尔苦,可以保持 Unicode涩馆。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdimka665%2Fawesome-slugify)

*? python-slugify:Python slug 化庫(kù),可以把 unicode 轉(zhuǎn)化為 ASCII允坚。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fun33k%2Fpython-slugify)

*? unicode-slugify:一個(gè) slug 工具魂那,可以生成 unicode slugs ,需要依賴 Django 。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmozilla%2Funicode-slugify)

*? 解析器

*? phonenumbers:解析稠项,格式化涯雅,儲(chǔ)存,驗(yàn)證電話號(hào)碼展运。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdaviddrysdale%2Fpython-phonenumbers)

*? PLY:lex 和 yacc 解析工具的 Python 實(shí)現(xiàn)活逆。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.dabeaz.com%2Fply%2F)

*? Pygments:通用語(yǔ)法高亮工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpygments.org%2F)

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

*? python-nameparser:把一個(gè)人名分解為幾個(gè)獨(dú)立的部分蔗候。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fderek73%2Fpython-nameparser)

*? python-user-agents:瀏覽器 user agent 解析器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fselwin%2Fpython-user-agents)

*? sqlparse:一個(gè)無(wú)驗(yàn)證的 SQL 解析器挤土。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fsqlparse.readthedocs.org%2Fen%2Flatest%2F)

### 特殊文本格式處理

一些用來(lái)解析和操作特殊文本格式的庫(kù)琴庵。

*? 通用

*? tablib:一個(gè)用來(lái)處理中表格數(shù)據(jù)的模塊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Ftablib)

*? Office

*? Marmir:把輸入的Python 數(shù)據(jù)結(jié)構(gòu)轉(zhuǎn)換為電子表單仰美。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbrianray%2Fmm)

*? openpyxl:一個(gè)用來(lái)讀寫(xiě) Excel 2010 xlsx/xlsm/xltx/xltm 文件的庫(kù)迷殿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fopenpyxl.readthedocs.org%2Fen%2Flatest%2F)

*? python-docx:讀取,查詢以及修改 Microsoft Word 2007/2008 docx 文件咖杂。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpython-openxml%2Fpython-docx)

*? unoconv:在 LibreOffice/OpenOffice 支持的任意文件格式之間進(jìn)行轉(zhuǎn)換庆寺。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdagwieers%2Funoconv)

*? XlsxWriter:一個(gè)用于創(chuàng)建 Excel .xlsx 文件的 Python 模塊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fxlsxwriter.readthedocs.org%2Fen%2Flatest%2F)

*? xlwings:一個(gè)使得在 Excel 中方便調(diào)用 Python 的庫(kù)(反之亦然)诉字,基于 BSD 協(xié)議懦尝。[官網(wǎng)](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):讀寫(xiě) Excel 文件的數(shù)據(jù)和格式信息知纷。[官網(wǎng)](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 文件。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Frelatorio.tryton.org%2F)

*? PDF

*? PDFMiner:一個(gè)用于從PDF文檔中抽取信息的工具陵霉。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Feuske%2Fpdfminer)

*? PyPDF2:一個(gè)可以分割琅轧,合并和轉(zhuǎn)換 PDF 頁(yè)面的庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmstamy2%2FPyPDF2)

*? ReportLab:快速創(chuàng)建富文本 PDF 文檔踊挠。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.reportlab.com%2Fopensource%2F)

*? Markdown

*? Mistune:快速并且功能齊全的純 Python 實(shí)現(xiàn)的 Markdown 解析器乍桂。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flepture%2Fmistune)

*? Python-Markdown:John Gruber’s Markdown 的 Python 版實(shí)現(xiàn)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwaylan%2FPython-Markdown)

*? Python-Markdiwn2:純 Python 實(shí)現(xiàn)的 Markdown 解析器效床,比 Python-Markdown 更快睹酌,更準(zhǔn)確,可擴(kuò)展剩檀。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftrentm%2Fpython-markdown2)

*? YAML

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

*? CSV

*? csvkit:用于轉(zhuǎn)換和操作 CSV 的工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwireservice%2Fcsvkit)

*? Archive

*? unp:一個(gè)用來(lái)方便解包歸檔文件的命令行工具沪猴。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmitsuhiko%2Funp)

### 自然語(yǔ)言處理

用來(lái)處理人類(lèi)語(yǔ)言的庫(kù)辐啄。

*? [NLTK](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fnltk%2F):一個(gè)先進(jìn)的平臺(tái),用以構(gòu)建處理人類(lèi)語(yǔ)言數(shù)據(jù)的 Python 程序字币。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.nltk.org%2F)

*? jieba:中文分詞工具则披。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffxsjy%2Fjieba)

*? langid.py:獨(dú)立的語(yǔ)言識(shí)別系統(tǒng)共缕。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsaffsd%2Flangid.py)

*? Pattern:Python 網(wǎng)絡(luò)信息挖掘模塊洗出。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.clips.ua.ac.be%2Fpattern)

*? SnowNLP:一個(gè)用來(lái)處理中文文本的庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fisnowfy%2Fsnownlp)

*? TextBlob:為進(jìn)行普通自然語(yǔ)言處理任務(wù)提供一致的 API图谷。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ftextblob.readthedocs.org%2Fen%2Flatest%2F)

*? TextGrocery:一簡(jiǎn)單高效的短文本分類(lèi)工具翩活,基于 LibLinear 和 Jieba。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F2shou%2FTextGrocery)

### 文檔

用以生成項(xiàng)目文檔的庫(kù)便贵。

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

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

*? MkDocs:對(duì) Markdown 友好的文檔生成器。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.mkdocs.org%2F)

*? pdoc:一個(gè)可以替換Epydoc 的庫(kù)承璃,可以自動(dòng)生成 Python 庫(kù)的 API 文檔利耍。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FBurntSushi%2Fpdoc)

*? Pycco:文學(xué)編程(literate-programming)風(fēng)格的文檔生成器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpycco-docs%2Fpycco)

### 配置

用來(lái)保存和解析配置的庫(kù)盔粹。

*? config:[logging](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Flogging.html) 模塊作者寫(xiě)的分級(jí)配置模塊隘梨。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.red-dove.com%2Fconfig-doc%2F)

*? ConfigObj:INI 文件解析器,帶驗(yàn)證功能舷嗡。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.voidspace.org.uk%2Fpython%2Fconfigobj.html)

*? ConfigParser:(Python 標(biāo)準(zhǔn)庫(kù)) INI 文件解析器轴猎。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fconfigparser.html)

*? profig:通過(guò)多種格式進(jìn)行配置,具有數(shù)值轉(zhuǎn)換功能进萄。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fprofig.readthedocs.org%2Fen%2Fdefault%2F)

*? python-decouple:將設(shè)置和代碼完全隔離捻脖。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhenriquebastos%2Fpython-decouple)

### 命令行工具

用于創(chuàng)建命令行程序的庫(kù)锐峭。

*? 命令行程序開(kāi)發(fā)

*? asciimatics:跨平臺(tái),全屏終端包(即鼠標(biāo)/鍵盤(pán)輸入和彩色可婶,定位文本輸出)沿癞,完整的復(fù)雜動(dòng)畫(huà)和特殊效果的高級(jí)API。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpeterbrittain%2Fasciimatics)

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

*? click:一個(gè)通過(guò)組合的方式來(lái)創(chuàng)建精美命令行界面的包抛寝。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fclick.pocoo.org%2Fdev%2F)

*? cliff:一個(gè)用于創(chuàng)建命令行程序的框架,可以創(chuàng)建具有多層命令的命令行程序曙旭。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdocs.openstack.org%2Fdeveloper%2Fcliff%2F)

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

*? colorama:跨平臺(tái)彩色終端文本。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcolorama)

*? docopt:Python 風(fēng)格的命令行參數(shù)解析器桂躏。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdocopt.org%2F)

*? Gooey:一條命令钻趋,將命令行程序變成一個(gè) GUI 程序。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchriskiehl%2FGooey)

*? python-prompt-toolkit:一個(gè)用于構(gòu)建強(qiáng)大的交互式命令行程序的庫(kù)剂习。[官網(wǎng)](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):在命令行中直接執(zhí)行任何Python指令蛮位。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FRussell91%2Fpythonpy%2Fwiki)

*? 生產(chǎn)力工具

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

*? bashplotlib:在終端中進(jìn)行基本繪圖鳞绕。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fglamp%2Fbashplotlib)

*? caniusepython3:判斷是哪個(gè)項(xiàng)目妨礙你你移植到 Python 3失仁。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbrettcannon%2Fcaniusepython3)

*? cookiecutter:從 cookiecutters(項(xiàng)目模板)創(chuàng)建項(xiàng)目的一個(gè)命令行工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Faudreyr%2Fcookiecutter)

*? doitlive:一個(gè)用來(lái)在終端中進(jìn)行現(xiàn)場(chǎng)演示的工具们何。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsloria%2Fdoitlive)

*? howdoi:通過(guò)命令行獲取即時(shí)的編程問(wèn)題解答萄焦。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgleitz%2Fhowdoi)

*? httpie:一個(gè)命令行HTTP 客戶端,cURL 的替代品冤竹,易用性更好拂封。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjkbrzt%2Fhttpie)

*? PathPicker:從bash輸出中選出文件。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffacebook%2FPathPicker)

*? percol:向UNIX shell 傳統(tǒng)管道概念中加入交互式選擇功能鹦蠕。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmooz%2Fpercol)

*? SAWS:一個(gè)加強(qiáng)版的 AWS 命令行冒签。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdonnemartin%2Fsaws)

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

*? mycli:一個(gè) MySQL 命令行客戶端钟病,具有自動(dòng)補(bǔ)全和語(yǔ)法高亮功能萧恕。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdbcli%2Fmycli)

*? pgcli:Postgres 命令行工具,具有自動(dòng)補(bǔ)全和語(yǔ)法高亮功能肠阱。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdbcli%2Fpgcli)

*? try:一個(gè)從來(lái)沒(méi)有更簡(jiǎn)單的命令行工具票唆,用來(lái)試用python庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftimofurrer%2Ftry)

### 下載器

用來(lái)進(jìn)行下載的庫(kù).

*? s3cmd:一個(gè)用來(lái)管理Amazon S3 和 CloudFront 的命令行工具辖所。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fs3tools%2Fs3cmd)

*? s4cmd:超級(jí) S3 命令行工具惰说,性能更加強(qiáng)勁。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbloomreach%2Fs4cmd)

*? you-get:一個(gè) YouTube/Youku/Niconico 視頻下載器缘回,使用 Python3 編寫(xiě)吆视。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.soimort.org%2Fyou-get%2F)

*? youtube-dl:一個(gè)小巧的命令行程序禁荸,用來(lái)下載 YouTube 視頻棚愤。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Frg3.github.io%2Fyoutube-dl%2F)

### 圖像處理

用來(lái)操作圖像的庫(kù).

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

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

*? imgSeek:一個(gè)使用視覺(jué)相似性搜索一組圖片集合的項(xiàng)目蟋座。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fimgseek%2F)

*? nude.py:裸體檢測(cè)最易。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhhatto%2Fnude.py)

*? pyBarcode:不借助 PIL 庫(kù)在 Python 程序中生成條形碼假勿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2FpyBarcode%2F)

*? pygram:類(lèi)似 Instagram 的圖像濾鏡这吻。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fajkumar25%2Fpygram)

*? python-qrcode:一個(gè)純 Python 實(shí)現(xiàn)的二維碼生成器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flincolnloop%2Fpython-qrcode)

*? Quads:基于四叉樹(shù)的計(jì)算機(jī)藝術(shù)般堆。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffogleman%2FQuads)

*? scikit-image:一個(gè)用于(科學(xué))圖像處理的 Python 庫(kù)在孝。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fscikit-image.org%2F)

*? thumbor:一個(gè)小型圖像服務(wù),具有剪裁淮摔,尺寸重設(shè)和翻轉(zhuǎn)功能私沮。[官網(wǎng)](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 和橙。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdahlia%2Fwand)

### OCR

光學(xué)字符識(shí)別庫(kù)仔燕。

*? pyocr:Tesseract 和 Cuneiform 的一個(gè)封裝(wrapper)。[官網(wǎng)](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) 的另一個(gè)封裝(wrapper)魔招。[官網(wǎng)](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) 的一個(gè)包裝類(lèi)晰搀。

### 音頻

用來(lái)操作音頻的庫(kù)

*? audiolazy:Python 的數(shù)字信號(hào)處理包。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdanilobellini%2Faudiolazy)

*? audioread:交叉庫(kù) (GStreamer + Core Audio + MAD + FFmpeg) 音頻解碼办斑。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbeetbox%2Faudioread)

*? beets:一個(gè)音樂(lè)庫(kù)管理工具及 [MusicBrainz](https://link.jianshu.com?t=https%3A%2F%2Fmusicbrainz.org%2F) 標(biāo)簽添加工具[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fbeets.io%2F)

*? dejavu:音頻指紋提取和識(shí)別[官網(wǎng)](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)外恕。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FStreetVoice%2Fdjango-elastic-transcoder)

*? eyeD3:一個(gè)用來(lái)操作音頻文件的工具,具體來(lái)講就是包含 ID3 元信息的 MP3 文件俄周。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Feyed3.nicfit.net%2F)

*? id3reader:一個(gè)用來(lái)讀取 MP3 元數(shù)據(jù)的 Python 模塊吁讨。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fnedbatchelder.com%2Fcode%2Fmodules%2Fid3reader.py)

*? m3u8:一個(gè)用來(lái)解析 m3u8 文件的模塊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fglobocom%2Fm3u8)

*? mutagen:一個(gè)用來(lái)處理音頻元數(shù)據(jù)的 Python 模塊峦朗。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Flazka%2Fmutagen)

*? pydub:通過(guò)簡(jiǎn)單、簡(jiǎn)潔的高層接口來(lái)操作音頻文件排龄。[官網(wǎng)](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 客戶端[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fechonest%2Fpyechonest)

*? talkbox:一個(gè)用來(lái)處理演講/信號(hào)的 Python 庫(kù)[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fscikits.appspot.com%2Ftalkbox)

*? TimeSide:開(kāi)源 web 音頻處理框架波势。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FParisson%2FTimeSide)

*? tinytag:一個(gè)用來(lái)讀取MP3, OGG, FLAC 以及 Wave 文件音樂(lè)元數(shù)據(jù)的庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdevsnd%2Ftinytag)

*? mingus:一個(gè)高級(jí)音樂(lè)理論和曲譜包橄维,支持 MIDI 文件和回放功能尺铣。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fbspaans.github.io%2Fpython-mingus%2F)

### Video

用來(lái)操作視頻和GIF的庫(kù)。

*? moviepy:一個(gè)用來(lái)進(jìn)行基于腳本的視頻編輯模塊争舞,適用于多種格式凛忿,包括動(dòng)圖 GIFs。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fzulko.github.io%2Fmoviepy%2F)

*? scikit-video:SciPy 視頻處理常用程序竞川。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Faizvorski%2Fscikit-video)

### 地理位置

地理編碼地址以及用來(lái)處理經(jīng)緯度的庫(kù)店溢。

*? GeoDjango:世界級(jí)地理圖形 web 框架叁熔。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.djangoproject.com%2Fen%2Fdev%2Fref%2Fcontrib%2Fgis%2F)

*? GeoIP:MaxMind GeoIP Legacy 數(shù)據(jù)庫(kù)的 Python API。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmaxmind%2Fgeoip-api-python)

*? geojson:GeoJSON 的 Python 綁定及工具床牧。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffrewsxcv%2Fpython-geojson)

*? geopy:Python 地址編碼工具箱荣回。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgeopy%2Fgeopy)

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

*? django-countries:一個(gè) Django 應(yīng)用程序戈咳,提供用于表格的國(guó)家選擇功能心软,國(guó)旗圖標(biāo)靜態(tài)文件以及模型中的國(guó)家字段。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSmileyChris%2Fdjango-countries)

### HTTP

使用HTTP的庫(kù)著蛙。

*? requests:人性化的HTTP請(qǐng)求庫(kù)删铃。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdocs.python-requests.org%2Fen%2Flatest%2F)

*? grequests:requests 庫(kù) + gevent ,用于異步 HTTP 請(qǐng)求.[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Fgrequests)

*? httplib2:全面的 HTTP 客戶端庫(kù)踏堡。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjcgregorio%2Fhttplib2)

*? treq:類(lèi)似 requests 的Python API 構(gòu)建于 Twisted HTTP 客戶端之上泳姐。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftwisted%2Ftreq)

*? urllib3:一個(gè)具有線程安全連接池,支持文件 post暂吉,清晰友好的 HTTP 庫(kù)胖秒。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fshazow%2Furllib3)

### 數(shù)據(jù)庫(kù)

Python實(shí)現(xiàn)的數(shù)據(jù)庫(kù)。

*? pickleDB:一個(gè)簡(jiǎn)單慕的,輕量級(jí)鍵值儲(chǔ)存數(shù)據(jù)庫(kù)阎肝。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2FpickleDB%2F)

*? PipelineDB:流式 SQL 數(shù)據(jù)庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.pipelinedb.com%2F)

*? TinyDB:一個(gè)微型的肮街,面向文檔型數(shù)據(jù)庫(kù)风题。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmsiemens%2Ftinydb)

*? ZODB:一個(gè) Python 原生對(duì)象數(shù)據(jù)庫(kù)。一個(gè)鍵值和對(duì)象圖數(shù)據(jù)庫(kù)嫉父。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.zodb.org%2Fen%2Flatest%2F)

### 數(shù)據(jù)庫(kù)驅(qū)動(dòng)

用來(lái)連接和操作數(shù)據(jù)庫(kù)的庫(kù)沛硅。

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

*? mysql-python:Python 的 MySQL 數(shù)據(jù)庫(kù)連接器。[官網(wǎng)](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:一個(gè)更好的 MySQL 連接器,支持原生預(yù)編譯指令和 BLOBs.[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2Foursql%2F)

*? PyMySQL:純 Python MySQL 驅(qū)動(dòng)仪际,兼容 mysql-python围小。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FPyMySQL%2FPyMySQL)

*? PostgreSQL

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

*? queries:psycopg2 庫(kù)的封裝树碱,用來(lái)和 PostgreSQL 進(jìn)行交互肯适。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgmr%2Fqueries)

*? txpostgres:基于 Twisted 的異步 PostgreSQL 驅(qū)動(dòng)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ftxpostgres.readthedocs.org%2Fen%2Flatest%2F)

*? 其他關(guān)系型數(shù)據(jù)庫(kù)

*? apsw:另一個(gè) Python SQLite封裝成榜。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Frogerbinns.github.io%2Fapsw%2F)

*? dataset:在數(shù)據(jù)庫(kù)中存儲(chǔ)Python字典

*? pymssql:一個(gè)簡(jiǎn)單的Microsoft SQL Server數(shù)據(jù)庫(kù)接口框舔。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.pymssql.org%2Fen%2Flatest%2F)

*? NoSQL 數(shù)據(jù)庫(kù)

*? cassandra-python-driver:Cassandra 的 Python 驅(qū)動(dòng)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdatastax%2Fpython-driver)

*? HappyBase:一個(gè)為 Apache HBase 設(shè)計(jì)的,對(duì)開(kāi)發(fā)者友好的庫(kù)刘绣。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fhappybase.readthedocs.org%2Fen%2Flatest%2F)

*? Plyvel:一個(gè)快速且功能豐富的 LevelDB 的 Python 接口樱溉。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fplyvel.readthedocs.org%2Fen%2Flatest%2F)

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

*? pycassa:Cassandra 的 Python Thrift 驅(qū)動(dòng)额港。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpycassa%2Fpycassa)

*? PyMongo:MongoDB 的官方 Python 客戶端饺窿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.mongodb.org%2Fecosystem%2Fdrivers%2Fpython%2F)

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

*? telephus:基于 Twisted 的 Cassandra 客戶端移斩。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdriftx%2FTelephus)

*? txRedis:基于 Twisted 的 Redis 客戶端肚医。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdeldotdr%2FtxRedis)

### ORM

實(shí)現(xiàn)對(duì)象關(guān)系映射或數(shù)據(jù)映射技術(shù)的庫(kù)。

*? 關(guān)系型數(shù)據(jù)庫(kù)

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

*? SQLAlchemy:Python SQL 工具以及對(duì)象關(guān)系映射工具肠套。[官網(wǎng)](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):一個(gè)小巧,富有表達(dá)力的 ORM猖任。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcoleifer%2Fpeewee)

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

*? python-sql:編寫(xiě) Python 風(fēng)格的 SQL 查詢。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fpython-sql)

*? NoSQL 數(shù)據(jù)庫(kù)

*? django-mongodb-engine:Django MongoDB 后端朱躺。[官網(wǎng)](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) 的一個(gè) Python 風(fēng)格接口刁赖。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjlafon%2FPynamoDB)

*? flywheel:Amazon DynamoDB 的對(duì)象映射工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmathcamp%2Fflywheel)

*? MongoEngine:一個(gè)Python 對(duì)象文檔映射工具长搀,用于 MongoDB宇弛。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fmongoengine.org%2F)

*? hot-redis:為 Redis 提供 Python 豐富的數(shù)據(jù)類(lèi)型。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstephenmcd%2Fhot-redis)

*? redisco:一個(gè) Python 庫(kù)源请,提供可以持續(xù)存在在 Redis 中的簡(jiǎn)單模型和容器枪芒。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkiddouk%2Fredisco)

*? 其他

*? butterdb:Google Drive 電子表格的 Python ORM。[官網(wǎng)](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 框架舅踪。[官網(wǎng)](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):一個(gè) Python 微型框架。[官網(wǎng)](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:一個(gè)小巧良蛮,快速抽碌,接地氣的開(kāi)源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):一個(gè)快速小巧背镇,輕量級(jí)的 WSGI 微型 web 框架咬展。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fbottlepy.org%2Fdocs%2Fdev%2Findex.html)

*? CherryPy:一個(gè)極簡(jiǎn)的 Python web 框架,服從 HTTP/1.1 協(xié)議且具有WSGI 線程池瞒斩。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.cherrypy.org%2F)

*? TurboGears:一個(gè)可以擴(kuò)展為全棧解決方案的微型框架。[官網(wǎng)](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):一個(gè) Python 的 web 框架涮总,既簡(jiǎn)單胸囱,又強(qiáng)大。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwebpy.org%2F)

*? web2py:一個(gè)全棧 web 框架和平臺(tái)瀑梗,專注于簡(jiǎn)單易用烹笔。[官網(wǎng)](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):一個(gè)web 框架和異步網(wǎng)絡(luò)庫(kù)裳扯。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.tornadoweb.org%2Fen%2Flatest%2F)

### 權(quán)限

允許或拒絕用戶訪問(wèn)數(shù)據(jù)或功能的庫(kù)。

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

*? django-guardian:Django 1.2+ 實(shí)現(xiàn)了單個(gè)對(duì)象權(quán)限谤职。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-guardian%2Fdjango-guardian)

*? django-rules:一個(gè)小巧但是強(qiáng)大的應(yīng)用饰豺,提供對(duì)象級(jí)別的權(quán)限管理,且不需要使用數(shù)據(jù)庫(kù)允蜈。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdfunckt%2Fdjango-rules)

### CMS

內(nèi)容管理系統(tǒng)

*? odoo-cms: 一個(gè)開(kāi)源的冤吨,企業(yè)級(jí) CMS,基于odoo饶套。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.odoo.com)

*? django-cms:一個(gè)開(kāi)源的漩蟆,企業(yè)級(jí) CMS,基于 Django妓蛮。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.django-cms.org%2Fen%2F)

*? djedi-cms:一個(gè)輕量級(jí)但卻非常強(qiáng)大的 Django CMS 怠李,考慮到了插件,內(nèi)聯(lián)編輯以及性能蛤克。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdjedi-cms.org%2F)

*? FeinCMS:基于 Django 構(gòu)建的最先進(jìn)的內(nèi)容管理系統(tǒng)之一捺癞。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.feincms.org%2F)

*? Kotti:一個(gè)高級(jí)的,Python 范的 web 應(yīng)用框架构挤,基于 Pyramid 構(gòu)建髓介。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fkotti.pylonsproject.org%2F)

*? Mezzanine:一個(gè)強(qiáng)大的,持續(xù)的儿倒,靈活的內(nèi)容管理平臺(tái)版保。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fmezzanine.jupo.org%2F)

*? Opps:一個(gè)為雜志,報(bào)紙網(wǎng)站以及大流量門(mén)戶網(wǎng)站設(shè)計(jì)的 CMS 平臺(tái)夫否,基于 Django彻犁。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fopps.github.io%2Fopps%2F)

*? Plone:一個(gè)構(gòu)建于開(kāi)源應(yīng)用服務(wù)器 Zope 之上的 CMS。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fplone.org%2F)

*? Quokka:靈活凰慈,可擴(kuò)展的小型 CMS汞幢,基于 Flask 和 MongoDB。[官網(wǎng)](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):一個(gè) Django 內(nèi)容管理系統(tǒng)微谓。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwagtail.io%2F)

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

### 電子商務(wù)

用于電子商務(wù)以及支付的框架和庫(kù)豺型。

*? django-oscar:一個(gè)用于 Django 的開(kāi)源的電子商務(wù)框架仲智。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Foscarcommerce.com%2F)

*? django-shop:一個(gè)基于 Django 的店鋪系統(tǒng)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fawesto%2Fdjango-shop)

*? Cartridge:一個(gè)基于 Mezzanine 構(gòu)建的購(gòu)物車(chē)應(yīng)用姻氨。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstephenmcd%2Fcartridge)

*? shoop:一個(gè)基于 Django 的開(kāi)源電子商務(wù)平臺(tái)钓辆。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.shoop.io%2Fen%2F)

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

*? merchant:一個(gè)可以接收來(lái)自多種支付平臺(tái)支付的 Django 應(yīng)用。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fagiliq%2Fmerchant)

*? money:貨幣類(lèi)庫(kù)with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcarlospalol%2Fmoney)

*? python-currencies:顯示貨幣格式以及它的數(shù)值前联。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fpython-currencies)

### RESTful API

用來(lái)開(kāi)發(fā)RESTful APIs的庫(kù)

*? Django

*? [django-rest-framework](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fdjango-rest-framework%2F):一個(gè)強(qiáng)大靈活的工具功戚,用來(lái)構(gòu)建 web API。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.django-rest-framework.org%2F)

*? django-tastypie:為Django 應(yīng)用開(kāi)發(fā)API似嗤。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ftastypieapi.org%2F)

*? django-formapi:為 Django 的表單驗(yàn)證啸臀,創(chuàng)建 JSON APIs 。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F5monkeys%2Fdjango-formapi)

*? Flask

*? flask-api:為 flask 開(kāi)發(fā)的烁落,可瀏覽 Web APIs 乘粒。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.flaskapi.org%2F)

*? flask-restful:為 flask 快速創(chuàng)建REST APIs 。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fflask-restful.readthedocs.org%2Fen%2Flatest%2F)

*? flask-restless:為 SQLAlchemy 定義的數(shù)據(jù)庫(kù)模型創(chuàng)建 RESTful APIs 顽馋。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fflask-restless.readthedocs.org%2Fen%2Flatest%2F)

*? flask-api-utils:為 Flask 處理 API 表示和驗(yàn)證谓厘。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmarselester%2Fflask-api-utils)

*? eve:REST API 框架,由 Flask, MongoDB 等驅(qū)動(dòng)寸谜。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnicolaiarocci%2Feve)

*? Pyramid

*? cornice:一個(gè)Pyramid 的 REST 框架 竟稳。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fcornice.readthedocs.org%2Fen%2Flatest%2F)

*? 與框架無(wú)關(guān)的

*? falcon:一個(gè)用來(lái)建立云 API 和 web app 后端的高性能框架。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ffalconframework.org%2F)

*? sandman:為現(xiàn)存的數(shù)據(jù)庫(kù)驅(qū)動(dòng)系統(tǒng)自動(dòng)創(chuàng)建 REST APIs 熊痴。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjeffknupp%2Fsandman)

*? restless:框架無(wú)關(guān)的 REST 框架 他爸,基于從 Tastypie 學(xué)到的知識(shí)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Frestless.readthedocs.org%2Fen%2Flatest%2F)

*? ripozo:快速創(chuàng)建 REST/HATEOAS/Hypermedia APIs果善。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvertical-knowledge%2Fripozo)

### 驗(yàn)證

實(shí)現(xiàn)驗(yàn)證方案的庫(kù)诊笤。

*? OAuth

*? Authomatic:簡(jiǎn)單但是強(qiáng)大的框架,身份驗(yàn)證/授權(quán)客戶端巾陕。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpeterhudec.github.io%2Fauthomatic%2F)

*? django-allauth:Django 的驗(yàn)證應(yīng)用讨跟。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpennersr%2Fdjango-allauth)

*? django-oauth-toolkit:為 Django 用戶準(zhǔn)備的 OAuth2。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fevonove%2Fdjango-oauth-toolkit)

*? django-oauth2-provider:為 Django 應(yīng)用提供 OAuth2 接入鄙煤。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcaffeinehit%2Fdjango-oauth2-provider)

*? Flask-OAuthlib:OAuth 1.0/a, 2.0 客戶端實(shí)現(xiàn)晾匠,供 Flask 使用。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flepture%2Fflask-oauthlib)

*? OAuthLib:一個(gè) OAuth 請(qǐng)求-簽名邏輯通用梯刚、 完整的實(shí)現(xiàn)凉馆。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FIDAn%2Foauthlib)

*? python-oauth2:一個(gè)完全測(cè)試的抽象接口。用來(lái)創(chuàng)建 OAuth 客戶端和服務(wù)端亡资。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjoestump%2Fpython-oauth2)

*? python-social-auth:一個(gè)設(shè)置簡(jiǎn)單的社會(huì)化驗(yàn)證方式澜共。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fomab%2Fpython-social-auth)

*? rauth:OAuth 1.0/a, 2.0, 和 Ofly 的 Python 庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flitl%2Frauth)

*? sanction:一個(gè)超級(jí)簡(jiǎn)單的OAuth2 客戶端實(shí)現(xiàn)锥腻。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdemianbrecht%2Fsanction)

*? 其他

*? jose:JavaScript 對(duì)象簽名和加密草案的實(shí)現(xiàn)嗦董。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdemonware%2Fjose)

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

*? python-jws:JSON Web 簽名草案 02 的實(shí)現(xiàn)瘦黑。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbrianloveswords%2Fpython-jws)

*? python-jwt:一個(gè)用來(lái)生成和驗(yàn)證 JSON Web 令牌的模塊存崖。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdavedoesdev%2Fpython-jwt)

### 模板引擎

模板生成和詞法解析的庫(kù)和工具葛虐。

*? [Jinja2](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fjinja2%2F):一個(gè)現(xiàn)代的西疤,對(duì)設(shè)計(jì)師友好的模板引擎。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpallets%2Fjinja)

*? Chameleon:一個(gè) HTML/XML 模板引擎卸夕。 模仿了 ZPT(Zope Page Templates), 進(jìn)行了速度上的優(yōu)化院溺。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fchameleon.readthedocs.org%2Fen%2Flatest%2F)

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

*? Mako:Python 平臺(tái)的超高速輕量級(jí)模板。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.makotemplates.org%2F)

### Queue

處理事件以及任務(wù)隊(duì)列的庫(kù)乌妒。

*? celery:一個(gè)異步任務(wù)隊(duì)列/作業(yè)隊(duì)列拧烦,基于分布式消息傳遞重虑。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.celeryproject.org%2F)

*? huey:小型多線程任務(wù)隊(duì)列践付。[官網(wǎng)](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 -一個(gè) Python 的分布式 worker 任務(wù)隊(duì)列, 使用 Redis 和 gevent缺厉。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpricingassistant%2Fmrq)

*? rq:簡(jiǎn)單的 Python 作業(yè)隊(duì)列永高。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpython-rq.org%2F)

*? simpleq:一個(gè)簡(jiǎn)單的,可無(wú)限擴(kuò)張的提针,基于亞馬遜 SQS 的隊(duì)列命爬。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frdegges%2Fsimpleq)

### 搜索

對(duì)數(shù)據(jù)進(jìn)行索引和執(zhí)行搜索查詢的庫(kù)和軟件。

*? django-haystack:Django 模塊化搜索辐脖。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-haystack%2Fdjango-haystack)

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

*? elasticsearch-dsl-py:Elasticsearch 的官方高級(jí) Python 客戶端。[官網(wǎng)](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 客戶端嗜价。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fedsu%2Fsolrpy)

*? Whoosh:一個(gè)快速的純 Python 搜索引擎庫(kù)艇抠。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwhoosh.readthedocs.org%2Fen%2Flatest%2F)

### 動(dòng)態(tài)消息

用來(lái)創(chuàng)建用戶活動(dòng)的庫(kù)。

*? django-activity-stream:從你的站點(diǎn)行為中生成通用活動(dòng)信息流久锥。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjustquick%2Fdjango-activity-stream)

*? Stream-Framework:使用 Cassandra 和 Redis 創(chuàng)建動(dòng)態(tài)消息和通知系統(tǒng)家淤。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftschellenbach%2FStream-Framework)

### 資源管理

管理、壓縮瑟由、縮小網(wǎng)站資源的工具絮重。

*? django-compressor:將鏈接和內(nèi)聯(lián)的 JavaScript 或 CSS 壓縮到一個(gè)單獨(dú)的緩存文件中。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-compressor%2Fdjango-compressor)

*? django-storages:一個(gè)針對(duì) Django 的自定義存儲(chǔ)后端的工具集合歹苦。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdjango-storages.readthedocs.org%2Fen%2Flatest%2F)

*? fanstatic:打包青伤、優(yōu)化,并且把靜態(tài)文件依賴作為 Python 的包來(lái)提供暂氯。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.fanstatic.org%2Fen%2Flatest%2F)

*? File Conveyor:一個(gè)后臺(tái)駐留的程序潮模,用來(lái)發(fā)現(xiàn)和同步文件到 CDNs, S3 和 FTP。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ffileconveyor.org%2F)

*? Flask-Assets:幫你將 web 資源整合到你的 Flask app 中痴施。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fflask-assets.readthedocs.org%2Fen%2Flatest%2F)

*? jinja-assets-compressor:一個(gè) Jinja 擴(kuò)展投队,用來(lái)編譯和壓縮你的資源豆混。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjaysonsantos%2Fjinja-assets-compressor)

*? webassets:為你的靜態(tài)資源打包寝殴、優(yōu)化和管理生成獨(dú)一無(wú)二的緩存 URL。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwebassets.readthedocs.org%2Fen%2Flatest%2F)

### 緩存

緩存數(shù)據(jù)的庫(kù)芬探。

*? Beaker:一個(gè)緩存和會(huì)話庫(kù),可以用在 web 應(yīng)用和獨(dú)立 Python腳本和應(yīng)用上厘惦。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fbeaker.readthedocs.org%2Fen%2Flatest%2F)

*? django-cache-machine:Django 模型的自動(dòng)緩存和失效偷仿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-cache-machine%2Fdjango-cache-machine)

*? django-cacheops:具有自動(dòng)顆粒化事件驅(qū)動(dòng)失效功能的 ORM宵蕉。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSuor%2Fdjango-cacheops)

*? django-viewlet:渲染模板酝静,同時(shí)具有額外的緩存控制功能。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F5monkeys%2Fdjango-viewlet)

*? dogpile.cache:dogpile.cache 是 Beaker 的下一代替代品羡玛,由同一作者開(kāi)發(fā)别智。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdogpilecache.readthedocs.org%2Fen%2Flatest%2F)

*? HermesCache:Python 緩存庫(kù),具有基于標(biāo)簽的失效和 dogpile effect 保護(hù)功能稼稿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2FHermesCache)

*? johnny-cache:django應(yīng)用緩存框架薄榛。[官網(wǎng)](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 封裝。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flericson%2Fpylibmc)

### 電子郵件

用來(lái)發(fā)送和解析電子郵件的庫(kù)让歼。

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

*? envelopes:供人類(lèi)使用的電子郵件庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ftomekwojcik.github.io%2Fenvelopes%2F)

*? flanker:一個(gè) email 地址和 Mime 解析庫(kù)谋右。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmailgun%2Fflanker)

*? imbox:Python IMAP 庫(kù)[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmartinrusev%2Fimbox)

*? inbox.py:Python SMTP 服務(wù)器硬猫。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkennethreitz%2Finbox.py)

*? inbox:一個(gè)開(kāi)源電子郵件工具箱。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnylas%2Fsync-engine)

*? lamson:Python 風(fēng)格的 SMTP 應(yīng)用服務(wù)器倚评。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fzedshaw%2Flamson)

*? mailjet:Mailjet API 實(shí)現(xiàn)浦徊,用來(lái)提供批量發(fā)送郵件,統(tǒng)計(jì)等功能天梧。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FWoLpH%2Fmailjet)

*? marrow.mailer:高性能可擴(kuò)展郵件分發(fā)框架盔性。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmarrow%2Fmailer)

*? modoboa:一個(gè)郵件托管和管理平臺(tái),具有現(xiàn)代的呢岗、簡(jiǎn)約的 Web UI冕香。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftonioo%2Fmodoboa)

*? pyzmail:創(chuàng)建,發(fā)送和解析電子郵件后豫。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.magiksys.net%2Fpyzmail%2F)

*? Talon:Mailgun 庫(kù)悉尾,用來(lái)抽取信息和簽名。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmailgun%2Ftalon)

### 國(guó)際化

用來(lái)進(jìn)行國(guó)際化的庫(kù)挫酿。

*? Babel:一個(gè)Python 的國(guó)際化庫(kù)构眯。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fbabel.pocoo.org%2Fen%2Flatest%2F)

*? Korean:一個(gè)韓語(yǔ)詞態(tài)庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fkorean.readthedocs.org%2Fen%2Flatest%2F)

### URL處理

解析URLs的庫(kù)

*? furl:一個(gè)讓處理 URL 更簡(jiǎn)單小型 Python 庫(kù)早龟。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgruns%2Ffurl)

*? purl:一個(gè)簡(jiǎn)單的惫霸,不可變的URL類(lèi)猫缭,具有簡(jiǎn)潔的 API 來(lái)進(jìn)行詢問(wèn)和處理。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcodeinthehole%2Fpurl)

*? pyshorteners:一個(gè)純 Python URL 縮短庫(kù)壹店。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fellisonleao%2Fpyshorteners)

*? shorturl:生成短小 URL 和類(lèi)似 bit.ly 短鏈的Python 實(shí)現(xiàn)猜丹。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fpython-shorturl)

*? webargs:一個(gè)解析 HTTP 請(qǐng)求參數(shù)的庫(kù),內(nèi)置對(duì)流行 web 框架的支持硅卢,包括 Flask, Django, Bottle, Tornado和 Pyramid射窒。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsloria%2Fwebargs)

### HTML處理

處理 HTML和XML的庫(kù)。

*? BeautifulSoup:以 Python 風(fēng)格的方式來(lái)對(duì) HTML 或 XML 進(jìn)行迭代将塑,搜索和修改脉顿。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.crummy.com%2Fsoftware%2FBeautifulSoup%2Fbs4%2Fdoc%2F)

*? bleach:一個(gè)基于白名單的 HTML 清理和文本鏈接庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fbleach.readthedocs.org%2Fen%2Flatest%2F)

*? cssutils:一個(gè) Python 的 CSS 庫(kù)抬旺。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcssutils%2F)

*? html5lib:一個(gè)兼容標(biāo)準(zhǔn)的 HTML 文檔和片段解析及序列化庫(kù)弊予。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhtml5lib%2Fhtml5lib-python)

*? lxml:一個(gè)非常快速开财,簡(jiǎn)單易用,功能齊全的庫(kù)误褪,用來(lái)處理 HTML 和 XML责鳍。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Flxml.de%2F)

*? MarkupSafe:為Python 實(shí)現(xiàn) XML/HTML/XHTML 標(biāo)記安全字符串。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpallets%2Fmarkupsafe)

*? pyquery:一個(gè)解析 HTML 的庫(kù)兽间,類(lèi)似 jQuery历葛。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgawel%2Fpyquery)

*? untangle:將XML文檔轉(zhuǎn)換為Python對(duì)象,使其可以方便的訪問(wèn)嘀略。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstchris%2Funtangle)

*? xhtml2pdf:HTML/CSS 轉(zhuǎn) PDF 工具恤溶。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fxhtml2pdf%2Fxhtml2pdf)

*? xmltodict:像處理 JSON 一樣處理 XML。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmartinblech%2Fxmltodict)

爬取網(wǎng)絡(luò)站點(diǎn)的庫(kù)

*? Scrapy:一個(gè)快速高級(jí)的屏幕爬取及網(wǎng)頁(yè)采集框架帜羊。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fscrapy.org%2F)

*? cola:一個(gè)分布式爬蟲(chóng)框架咒程。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchineking%2Fcola)

*? Demiurge:基于PyQuery 的爬蟲(chóng)微型框架。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmatiasb%2Fdemiurge)

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

*? Grab:站點(diǎn)爬取框架帐姻。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fgrablib.org%2F)

*? MechanicalSoup:用于自動(dòng)和網(wǎng)絡(luò)站點(diǎn)交互的 Python 庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhickford%2FMechanicalSoup)

*? portia:Scrapy 可視化爬取奶段。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fscrapinghub%2Fportia)

*? pyspider:一個(gè)強(qiáng)大的爬蟲(chóng)系統(tǒng)饥瓷。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbinux%2Fpyspider)

*? RoboBrowser:一個(gè)簡(jiǎn)單的,Python 風(fēng)格的庫(kù)痹籍,用來(lái)瀏覽網(wǎng)站呢铆,而不需要一個(gè)獨(dú)立安裝的瀏覽器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjmcarp%2Frobobrowser)

### 網(wǎng)頁(yè)內(nèi)容提取

用于進(jìn)行網(wǎng)頁(yè)內(nèi)容提取的庫(kù)蹲缠。

*? Haul:一個(gè)可以擴(kuò)展的圖像爬取工具棺克。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvinta%2FHaul)

*? html2text:將 HTML 轉(zhuǎn)換為 Markdown 格式文本[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fhtml2text)

*? lassie:人性化的網(wǎng)頁(yè)內(nèi)容檢索庫(kù)悠垛。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmichaelhelmick%2Flassie)

*? micawber:一個(gè)小型網(wǎng)頁(yè)內(nèi)容提取庫(kù),用來(lái)從 URLs 提取富內(nèi)容逆航。[官網(wǎng)](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 進(jìn)行新聞提取鼎文,文章提取以及內(nèi)容策展。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcodelucas%2Fnewspaper)

*? opengraph:一個(gè)用來(lái)解析開(kāi)放內(nèi)容協(xié)議(Open Graph Protocol)的 Python模塊因俐。[官網(wǎng)](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內(nèi)容/文章提取器拇惋。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgrangier%2Fpython-goose)

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

*? sanitize:為雜亂的數(shù)據(jù)世界帶來(lái)調(diào)理性抹剩。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FAlir3z4%2Fpython-sanitize)

*? sumy:一個(gè)為文本文件和 HTML 頁(yè)面進(jìn)行自動(dòng)摘要的模塊撑帖。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmiso-belica%2Fsumy)

*? textract:從任何格式的文檔中提取文本,Word澳眷,PowerPoint胡嘿,PDFs 等等。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdeanmalmgren%2Ftextract)

### 表單

進(jìn)行表單操作的庫(kù)钳踊。

*? Deform:Python HTML 表單生成庫(kù)衷敌,受到了 formish 表單生成庫(kù)的啟發(fā)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdeform.readthedocs.org%2Fen%2Flatest%2F)

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

*? django-crispy-forms:一個(gè) Django 應(yīng)用缴罗,他可以讓你以一種非常優(yōu)雅且 DRY(Don't repeat yourself) 的方式來(lái)創(chuàng)建美觀的表單。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdjango-crispy-forms.readthedocs.org%2Fen%2Flatest%2F)

*? django-remote-forms:一個(gè)平臺(tái)獨(dú)立的 Django 表單序列化工具祭埂。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FWiserTogether%2Fdjango-remote-forms)

*? WTForms:一個(gè)靈活的表單驗(yàn)證和呈現(xiàn)庫(kù)面氓。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwtforms.readthedocs.org%2Fen%2Flatest%2F)

*? WTForms-JSON:一個(gè) WTForms 擴(kuò)展,用來(lái)處理 JSON 數(shù)據(jù)蛆橡。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwtforms-json.readthedocs.org%2Fen%2Flatest%2F)

### 數(shù)據(jù)驗(yàn)證

數(shù)據(jù)驗(yàn)證庫(kù)舌界。多用于表單驗(yàn)證。

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

*? colander:一個(gè)用于對(duì)從 XML, JSON泰演,HTML 表單獲取的數(shù)據(jù)或其他同樣簡(jiǎn)單的序列化數(shù)據(jù)進(jìn)行驗(yàn)證和反序列化的系統(tǒng)呻拌。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdocs.pylonsproject.org%2Fprojects%2Fcolander%2Fen%2Flatest%2F)

*? kmatch:一種用于匹配/驗(yàn)證/篩選 Python 字典的語(yǔ)言。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fambitioninc%2Fkmatch)

*? schema:一個(gè)用于對(duì) Python 數(shù)據(jù)結(jié)構(gòu)進(jìn)行驗(yàn)證的庫(kù)粥血。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkeleshev%2Fschema)

*? Schematics:數(shù)據(jù)結(jié)構(gòu)驗(yàn)證柏锄。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fschematics%2Fschematics)

*? valideer:輕量級(jí)可擴(kuò)展的數(shù)據(jù)驗(yàn)證和適配庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpodio%2Fvalideer)

*? voluptuous:一個(gè) Python 數(shù)據(jù)驗(yàn)證庫(kù)复亏。主要是為了驗(yàn)證傳入 Python的 JSON趾娃,YAML 等數(shù)據(jù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Falecthomas%2Fvoluptuous)

### 反垃圾技術(shù)

幫助你和電子垃圾進(jìn)行戰(zhàn)斗的庫(kù)缔御。

*? django-simple-captcha:一個(gè)簡(jiǎn)單抬闷、高度可定制的Django 應(yīng)用,可以為任何Django表單添加驗(yàn)證碼。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmbi%2Fdjango-simple-captcha)

*? django-simple-spam-blocker:一個(gè)用于Django的簡(jiǎn)單的電子垃圾屏蔽工具笤成。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmoqada%2Fdjango-simple-spam-blocker)

### 標(biāo)記

用來(lái)進(jìn)行標(biāo)記的庫(kù)评架。

*? django-taggit:簡(jiǎn)單的 Django 標(biāo)記工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Falex%2Fdjango-taggit)

### 管理面板

管理界面庫(kù)炕泳。

*? Ajenti:一個(gè)你的服務(wù)器值得擁有的管理面板纵诞。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FEugeny%2Fajenti)

*? django-suit:Django 管理界面的一個(gè)替代品 (僅對(duì)于非商業(yè)用途是免費(fèi)的)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdjangosuit.com%2F)

*? django-xadmin:Django admin 的一個(gè)替代品培遵,具有很多不錯(cuò)的功能浙芙。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsshwsfc%2Fdjango-xadmin)

*? flask-admin:一個(gè)用于 Flask 的簡(jiǎn)單可擴(kuò)展的管理界面框架。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fflask-admin%2Fflask-admin)

*? flower:一個(gè)對(duì) Celery 集群進(jìn)行實(shí)時(shí)監(jiān)控和提供 web 管理界面的工具籽腕。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmher%2Fflower)

*? Grappelli:Django 管理界面的一個(gè)漂亮的皮膚嗡呼。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fgrappelliproject.com%2F)

*? Wooey:一個(gè) Django 應(yīng)用,可以為 Python 腳本創(chuàng)建 web 用戶界面皇耗。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwooey%2Fwooey)

### 靜態(tài)站點(diǎn)生成器

靜態(tài)站點(diǎn)生成器是一個(gè)軟件南窗,它把文本和模板作為輸入,然后輸出HTML文件郎楼。

*? Pelican:使用 Markdown 或 ReST 來(lái)處理內(nèi)容万伤, Jinja 2 來(lái)制作主題。支持 DVCS, Disqus.呜袁。AGPL 許可壕翩。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fblog.getpelican.com%2F)

*? Cactus:為設(shè)計(jì)師設(shè)計(jì)的靜態(tài)站點(diǎn)生成器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkoenbok%2FCactus%2F)

*? Hyde:基于 Jinja2 的靜態(tài)站點(diǎn)生成器傅寡。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fhyde.github.io%2F)

*? Nikola:一個(gè)靜態(tài)網(wǎng)站和博客生成器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.getnikola.com%2F)

*? Tinkerer:Tinkerer 是一個(gè)博客引擎/靜態(tài)站點(diǎn)生成器北救,由Sphinx驅(qū)動(dòng)荐操。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ftinkerer.me%2F)

*? Lektor:一個(gè)簡(jiǎn)單易用的靜態(tài) CMS 和博客引擎。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.getlektor.com%2F)

### 進(jìn)程

操作系統(tǒng)進(jìn)程啟動(dòng)及通信庫(kù)珍策。

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

*? sarge:另一 種 subprocess 模塊的封裝。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fsarge.readthedocs.org%2Fen%2Flatest%2F)

*? sh:一個(gè)完備的 subprocess 替代庫(kù)攘宙。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Famoffat%2Fsh)

### 并發(fā)和并行

用以進(jìn)行并發(fā)和并行操作的庫(kù)屯耸。

*? multiprocessing:(Python 標(biāo)準(zhǔn)庫(kù)) 基于進(jìn)程的“線程”接口。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fmultiprocessing.html)

*? threading:(Python 標(biāo)準(zhǔn)庫(kù))更高層的線程接口蹭劈。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fthreading.html)

*? eventlet:支持 WSGI 的異步框架疗绣。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Feventlet.net%2F)

*? gevent:一個(gè)基于協(xié)程的 Python 網(wǎng)絡(luò)庫(kù),使用[greenlet](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpython-greenlet%2Fgreenlet)铺韧。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.gevent.org%2F)

*? Tomorrow:用于產(chǎn)生異步代碼的神奇的裝飾器語(yǔ)法實(shí)現(xiàn)多矮。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmadisonmay%2FTomorrow)

*? uvloop:在libuv之上超快速實(shí)現(xiàn)asyncio事件循環(huán)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FMagicStack%2Fuvloop)

### 網(wǎng)絡(luò)

用于網(wǎng)絡(luò)編程的庫(kù)。

*? asyncio:(Python 標(biāo)準(zhǔn)庫(kù)) 異步 I/O, 事件循環(huán), 協(xié)程以及任務(wù)塔逃。[官網(wǎng)](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):一個(gè)事件驅(qū)動(dòng)的網(wǎng)絡(luò)引擎讯壶。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Ftwistedmatrix.com%2Ftrac%2F)

*? pulsar:事件驅(qū)動(dòng)的并發(fā)框架。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fquantmind%2Fpulsar)

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

*? pyzmq:一個(gè) ZeroMQ 消息庫(kù)的 Python 封裝伏蚊。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fzeromq.github.io%2Fpyzmq%2F)

*? txZMQ:基于 Twisted 的 ZeroMQ 消息庫(kù)的 Python 封裝。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsmira%2FtxZMQ)

### WebSocket

幫助使用WebSocket的庫(kù)格粪。

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

*? Crossbar:開(kāi)源統(tǒng)一應(yīng)用路由(Websocket & WAMP for Python on Autobahn).[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fcrossbario%2Fcrossbar%2F)

*? django-socketio:給 Django 用的 WebSockets匀借。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstephenmcd%2Fdjango-socketio)

*? WebSocket-for-Python:為Python2/3 以及 PyPy 編寫(xiě)的 WebSocket 客戶端和服務(wù)器庫(kù)颜阐。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FLawouach%2FWebSocket-for-Python)

### WSGI 服務(wù)器

兼容 WSGI 的 web 服務(wù)器

*? gunicorn:Pre-forked, 部分是由 C 語(yǔ)言編寫(xiě)的。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fgunicorn)

*? uwsgi:uwsgi 項(xiàng)目的目的是開(kāi)發(fā)一組全棧工具吓肋,用來(lái)建立托管服務(wù)凳怨, 由 C 語(yǔ)言編寫(xiě)。[官網(wǎng)](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 語(yǔ)言編寫(xiě)均蜜。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fbjoern)

*? fapws3:異步 (僅對(duì)于網(wǎng)絡(luò)端)李剖,由 C 語(yǔ)言編寫(xiě)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.fapws.org%2F)

*? meinheld:異步囤耳,部分是由 C 語(yǔ)言編寫(xiě)的篙顺。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fmeinheld)

*? netius:異步,非吵湓瘢快速德玫。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhivesolutions%2Fnetius)

*? paste:多線程,穩(wěn)定椎麦,久經(jīng)考驗(yàn)宰僧。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpythonpaste.org%2F)

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

*? waitress:多線程, 是它驅(qū)動(dòng)著 Pyramid 框架观挎。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwaitress.readthedocs.org%2Fen%2Flatest%2F)

*? Werkzeug:一個(gè) WSGI 工具庫(kù)琴儿,驅(qū)動(dòng)著 Flask ,而且可以很方便大嵌入到你的項(xiàng)目中去嘁捷。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwerkzeug.pocoo.org%2F)

### RPC 服務(wù)器

兼容 RPC 的服務(wù)器造成。

*? SimpleJSONRPCServer:這個(gè)庫(kù)是 JSON-RPC 規(guī)范的一個(gè)實(shí)現(xiàn)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjoshmarshall%2Fjsonrpclib%2F)

*? SimpleXMLRPCServer:(Python 標(biāo)準(zhǔn)庫(kù)) 簡(jiǎn)單的 XML-RPC 服務(wù)器實(shí)現(xiàn)普气,單線程谜疤。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fsimplexmlrpcserver.html)

*? zeroRPC:zerorpc 是一個(gè)靈活的 RPC 實(shí)現(xiàn),基于 ZeroMQ 和 MessagePack。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2F0rpc%2Fzerorpc-python)

### 密碼學(xué)

*? cryptography:這個(gè)軟件包意在提供密碼學(xué)基本內(nèi)容和方法提供給 Python 開(kāi)發(fā)者夷磕。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fcryptography.io%2Fen%2Flatest%2F)

*? hashids:在 Python 中實(shí)現(xiàn) [hashids](https://link.jianshu.com?t=http%3A%2F%2Fhashids.org%2F) 履肃。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdavidaurelio%2Fhashids-python)

*? Paramiko:SSHv2 協(xié)議的 Python (2.6+, 3.3+) ,提供客戶端和服務(wù)端的功能坐桩。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.paramiko.org%2F)

*? Passlib:安全密碼存儲(chǔ)/哈希庫(kù)尺棋,[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpythonhosted.org%2Fpasslib%2F)

*? PyCrypto:Python 密碼學(xué)工具箱。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.dlitz.net%2Fsoftware%2Fpycrypto%2F)

*? PyNacl:網(wǎng)絡(luò)和密碼學(xué)(NaCl) 庫(kù)的 Python 綁定绵跷。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpyca%2Fpynacl)

### 圖形用戶界面

用來(lái)創(chuàng)建圖形用戶界面程序的庫(kù)膘螟。

*? curses:內(nèi)建的 [ncurses](https://link.jianshu.com?t=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fncurses%2F) 封裝,用來(lái)創(chuàng)建終端圖形用戶界面碾局。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fcurses.html%23module-curses)

*? enaml:使用類(lèi)似 QML 的Declaratic語(yǔ)法來(lái)創(chuàng)建美觀的用戶界面荆残。[官網(wǎng)](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):一個(gè)用來(lái)創(chuàng)建自然用戶交互(NUI)應(yīng)用程序的庫(kù),可以運(yùn)行在 Windows, Linux, Mac OS X, Android 以及 iOS平臺(tái)上净当。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fkivy.org%2F)

*? pyglet:一個(gè)Python 的跨平臺(tái)窗口及多媒體庫(kù)内斯。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fpyglet%2Fpyglet%2Fwiki%2FHome)

*? PyQt:跨平臺(tái)用戶界面框架 [Qt](https://link.jianshu.com?t=http%3A%2F%2Fwww.qt.io%2F) 的 Python 綁定 ,支持Qt v4 和 Qt v5像啼。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Friverbankcomputing.com%2Fsoftware%2Fpyqt%2Fintro)

*? PySide:P跨平臺(tái)用戶界面框架 [Qt](https://link.jianshu.com?t=http%3A%2F%2Fwww.qt.io%2F) 的 Python 綁定 俘闯,支持Qt v4。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwiki.qt.io%2FPySide)

*? Tkinter:Tkinter 是 Python GUI 的一個(gè)事實(shí)標(biāo)準(zhǔn)庫(kù)忽冻。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwiki.python.org%2Fmoin%2FTkInter)

*? Toga:一個(gè) Python 原生的, 操作系統(tǒng)原生的 GUI工具包真朗。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpybee%2Ftoga)

*? urwid:一個(gè)用來(lái)創(chuàng)建終端 GUI 應(yīng)用的庫(kù),支持組件僧诚,事件和豐富的色彩等遮婶。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Furwid.org%2F)

*? wxPython:wxPython 是 wxWidgets C++ 類(lèi)庫(kù)和 Python 語(yǔ)言混合的產(chǎn)物。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwxpython.org%2F)

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

*? Flexx:Flexx 是一個(gè)純 Python 語(yǔ)言編寫(xiě)的用來(lái)創(chuàng)建 GUI 程序的工具集湖笨,它使用 web 技術(shù)進(jìn)行界面的展示蹭睡。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FzoofIO%2Fflexx)

### 游戲開(kāi)發(fā)

超贊的游戲開(kāi)發(fā)庫(kù)。

*? Cocos2d:cocos2d 是一個(gè)用來(lái)開(kāi)發(fā) 2D 游戲赶么, 示例和其他圖形/交互應(yīng)用的框架〖勾基于 pyglet辫呻。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fcocos2d.org%2F)

*? Panda3D:由迪士尼開(kāi)發(fā)的 3D 游戲引擎,并由卡內(nèi)基梅隴娛樂(lè)技術(shù)中心負(fù)責(zé)維護(hù)琼锋。使用C++編寫(xiě), 針對(duì) Python 進(jìn)行了完全的封裝放闺。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.panda3d.org%2F)

*? Pygame:Pygame 是一組 Python 模塊,用來(lái)編寫(xiě)游戲缕坎。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.pygame.org%2Fnews.html)

*? PyOgre:Ogre 3D 渲染引擎的 Python 綁定怖侦,可以用來(lái)開(kāi)發(fā)游戲和仿真程序等任何 3D 應(yīng)用。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.ogre3d.org%2Ftikiwiki%2FPyOgre)

*? PyOpenGL:OpenGL 的 Python 綁定及其相關(guān) APIs。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpyopengl.sourceforge.net%2F)

*? PySDL2:SDL2 庫(kù)的封裝匾寝,基于 ctypes搬葬。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpysdl2.readthedocs.org%2Fen%2Flatest%2F)

*? RenPy:一個(gè)視覺(jué)小說(shuō)(visual novel)引擎。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.renpy.org%2F)

### 日志

用來(lái)生成和操作日志的庫(kù)艳悔。

*? logging:(Python 標(biāo)準(zhǔn)庫(kù)) 為 Python 提供日志功能急凰。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Flogging.html)

*? logbook:Logging 庫(kù)的替代品。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpythonhosted.org%2FLogbook%2F)

*? Eliot:為復(fù)雜的和分布式系統(tǒng)創(chuàng)建日志猜年。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Feliot.readthedocs.org%2Fen%2Flatest%2F)

*? Raven:Sentry的 Python 客戶端抡锈。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fraven.readthedocs.org%2Fen%2Flatest%2F)

*? Sentry:實(shí)時(shí)記錄和收集日志的服務(wù)器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fsentry)

### Testing

進(jìn)行代碼庫(kù)測(cè)試和生成測(cè)試數(shù)據(jù)的庫(kù)乔外。

*? 測(cè)試框架

*? unittest:(Python 標(biāo)準(zhǔn)庫(kù)) 單元測(cè)試框架床三。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Funittest.html)

*? nose:nose 擴(kuò)展了 unittest 的功能。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fnose.readthedocs.org%2Fen%2Flatest%2F)

*? contexts:一個(gè) Python 3.3+ 的 BDD 框架杨幼。受到C# – Machine.Specifications的啟發(fā)撇簿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbenjamin-hodgson%2FContexts)

*? hypothesis:Hypothesis 是一個(gè)基于先進(jìn)的 Quickcheck 風(fēng)格特性的測(cè)試庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FDRMacIver%2Fhypothesis)

*? mamba:Python 的終極測(cè)試工具推汽, 擁護(hù)BDD补疑。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fnestorsalceda.github.io%2Fmamba%2F)

*? PyAutoGUI:PyAutoGUI 是一個(gè)人性化的跨平臺(tái) GUI 自動(dòng)測(cè)試模塊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fasweigart%2Fpyautogui)

*? pyshould:Should 風(fēng)格的斷言歹撒,基于 [PyHamcrest](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhamcrest%2FPyHamcrest)莲组。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdrslump%2Fpyshould)

*? pytest:一個(gè)成熟的全功能 Python 測(cè)試工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpytest.org%2Flatest%2F)

*? green:干凈暖夭,多彩的測(cè)試工具锹杈。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FCleanCut%2Fgreen)

*? pyvows:BDD 風(fēng)格的測(cè)試工具,受Vows.js的啟發(fā)迈着。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fheynemann.github.io%2Fpyvows%2F)-

*? Robot Framework:一個(gè)通用的自動(dòng)化測(cè)試框架竭望。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frobotframework%2Frobotframework)

*? Web 測(cè)試

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

*? locust:使用 Python 編寫(xiě)的裕菠,可擴(kuò)展的用戶加載測(cè)試工具咬清。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Flocustio%2Flocust)

*? sixpack:一個(gè)和語(yǔ)言無(wú)關(guān)的 A/B 測(cè)試框架贼穆。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fseatgeek%2Fsixpack)

*? splinter:開(kāi)源的 web 應(yīng)用測(cè)試工具院尔。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fsplinter.readthedocs.org%2Fen%2Flatest%2F)

*? Mock測(cè)試

*? mock:(Python 標(biāo)準(zhǔn)庫(kù)) 一個(gè)用于偽造測(cè)試的庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F3%2Flibrary%2Funittest.mock.html)

*? doublex:Python 的一個(gè)功能強(qiáng)大的 doubles 測(cè)試框架季惩。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fdoublex)

*? freezegun:通過(guò)偽造日期模塊來(lái)生成不同的時(shí)間画髓。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fspulec%2Ffreezegun)

*? httmock:針對(duì) Python 2.6+ 和 3.2+ 生成 偽造請(qǐng)求的庫(kù)掘剪。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpatrys%2Fhttmock)

*? httpretty:Python 的 HTTP 請(qǐng)求 mock 工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ffalcao.it%2FHTTPretty%2F)

*? responses:偽造 Python 中的 requests 庫(kù)的一個(gè)通用庫(kù)奈虾。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fresponses)

*? VCR.py:在你的測(cè)試中記錄和重放 HTTP 交互夺谁。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkevin1024%2Fvcrpy)

*? 對(duì)象工廠

*? factoryboy:一個(gè) Python 用的測(cè)試固件 (test fixtures) 替代庫(kù)廉赔。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Frbarrois%2Ffactoryboy)

*? mixer:另外一個(gè)測(cè)試固件 (test fixtures) 替代庫(kù),支持 Django, Flask, SQLAlchemy, Peewee 等匾鸥。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fklen%2Fmixer)

*? modelmommy:為 Django 測(cè)試創(chuàng)建隨機(jī)固件[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fvandersonmota%2Fmodelmommy)

*? 代碼覆蓋率

*? coverage:代碼覆蓋率測(cè)量蜡塌。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fcoverage)

*? 偽數(shù)據(jù)

*? faker:一個(gè) Python 庫(kù),用來(lái)生成偽數(shù)據(jù)扫腺。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.joke2k.net%2Ffaker%2F)

*? fake2db:偽數(shù)據(jù)庫(kù)生成器岗照。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Femirozer%2Ffake2db)

*? radar:生成隨機(jī)的日期/時(shí)間。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fradar)

*? 錯(cuò)誤處理

*? FuckIt.py:FuckIt.py 使用最先進(jìn)的技術(shù)來(lái)保證你的 Python 代碼無(wú)論對(duì)錯(cuò)都能繼續(xù)運(yùn)行笆环。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fajalt%2Ffuckitpy)

### 代碼分析和Lint工具

進(jìn)行代碼分析攒至,解析和操作代碼庫(kù)的庫(kù)和工具。

*? 代碼分析

*? coala:語(yǔ)言獨(dú)立和易于擴(kuò)展的代碼分析應(yīng)用程序躁劣。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fcoala-analyzer.org%2F)

*? code2flow:把你的 Python 和 JavaScript 代碼轉(zhuǎn)換為流程圖迫吐。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fscottrogowski%2Fcode2flow)

*? pycallgraph:這個(gè)庫(kù)可以把你的Python 應(yīng)用的流程(調(diào)用圖)進(jìn)行可視化。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgak%2Fpycallgraph)

*? pysonar2:Python 類(lèi)型推斷和檢索工具账忘。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fyinwang0%2Fpysonar2)

*? Lint工具

*? Flake8:模塊化源碼檢查工具: pep8, pyflakes 以及 co志膀。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fflake8)

*? Pylint:一個(gè)完全可定制的源碼分析器。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.pylint.org%2F)

*? pylama:Python 和 JavaScript 的代碼審查工具鳖擒。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpylama.readthedocs.org%2Fen%2Flatest%2F)

*? 代碼格式化

*? autopep8:自動(dòng)格式化 Python 代碼溉浙,以使其符合 PEP8 規(guī)范。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhhatto%2Fautopep8)

### Debugging Tools

用來(lái)進(jìn)行代碼調(diào)試的庫(kù)蒋荚。

*? 調(diào)試器

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

*? pudb:全屏,基于控制臺(tái)的 Python 調(diào)試器期升。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fpudb)

*? pyringe:可以在 Python 進(jìn)程中附加和注入代碼的調(diào)試器惊奇。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpyringe)

*? wdb:一個(gè)奇異的 web 調(diào)試器,通過(guò) WebSockets 工作播赁。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FKozea%2Fwdb)

*? winpdb:一個(gè)具有圖形用戶界面的 Python 調(diào)試器颂郎,可以進(jìn)行遠(yuǎn)程調(diào)試,基于 rpdb2容为。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwinpdb.org%2F)

*? django-debug-toolbar:為 Django 顯示各種調(diào)試信息乓序。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdjango-debug-toolbar%2Fdjango-debug-toolbar)

*? django-devserver:一個(gè) Django 運(yùn)行服務(wù)器的替代品。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdcramer%2Fdjango-devserver)

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

*? 性能分析器

*? lineprofiler:逐行性能分析竭缝。[官網(wǎng)](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):監(jiān)控 Python 代碼的內(nèi)存使用。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpypi.python.org%2Fpypi%2Fmemory_profiler)沼瘫、[內(nèi)存](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffabianp%2Fmemoryprofiler)

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

*? 其他

*? pyelftools:解析和分析 ELF 文件以及 DWARF 調(diào)試信息咙俩。[官網(wǎng)](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) 服務(wù)器的 Python 客戶端耿戚。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FWoLpH%2Fpython-statsd)

### Science and Data Analysis

用來(lái)進(jìn)行科學(xué)計(jì)算和數(shù)據(jù)分析的庫(kù)湿故。

*? astropy:一個(gè)天文學(xué) Python 庫(kù)。[官網(wǎng)](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):這個(gè)工具箱為全自動(dòng)高通量測(cè)序分析提供符合最佳實(shí)踐的處理流程膜蛔。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchapmanb%2Fbcbio-nextgen)

*? bccb:生物分析相關(guān)代碼集合[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fchapmanb%2Fbcbb)

*? Biopython:Biopython 是一組可以免費(fèi)使用的用來(lái)進(jìn)行生物計(jì)算的工具坛猪。[官網(wǎng)](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 的大數(shù)據(jù)接口。[官網(wǎng)](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):一個(gè)用來(lái)解析和解釋計(jì)算化學(xué)軟件包輸出結(jié)果的庫(kù)皂股。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fcclib.github.io%2F)

*? NetworkX:一個(gè)為復(fù)雜網(wǎng)絡(luò)設(shè)計(jì)的高性能軟件墅茉。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fnetworkx.github.io%2F)

*? Neupy:執(zhí)行和測(cè)試各種不同的人工神經(jīng)網(wǎng)絡(luò)算法。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fneupy.com%2Fpages%2Fhome.html)

*? Numba:Python JIT (just in time) 編譯器呜呐,針對(duì)科學(xué)用的 Python 就斤,由Cython 和 NumPy 的開(kāi)發(fā)者開(kāi)發(fā)。[官網(wǎng)](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 進(jìn)行科學(xué)計(jì)算的基礎(chǔ)包蘑辑。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.numpy.org%2F)

*? Open Babel:一個(gè)化學(xué)工具箱洋机,用來(lái)描述多種化學(xué)數(shù)據(jù)。[官網(wǎng)](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 挖掘商業(yè)情報(bào) (BI) (Pandas web 接口)洋魂。[官網(wǎng)](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):通過(guò)可視化編程或 Python 腳本進(jìn)行數(shù)據(jù)挖掘绷旗,數(shù)據(jù)可視化,分析和機(jī)器學(xué)習(xí)副砍。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Forange.biolab.si%2F)

*? Pandas:提供高性能衔肢,易用的數(shù)據(jù)結(jié)構(gòu)和數(shù)據(jù)分析工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpandas.pydata.org%2F)

*? PyDy:PyDy 是 Python Dynamics 的縮寫(xiě)豁翎,用來(lái)為動(dòng)力學(xué)運(yùn)動(dòng)建模工作流程提供幫助, 基于 NumPy, SciPy, IPython 和 matplotlib谨垃。[官網(wǎng)](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):馬爾科夫鏈蒙特卡洛采樣工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpymc-devs%2Fpymc3)

*? RDKit:化學(xué)信息學(xué)和機(jī)器學(xué)習(xí)軟件捍掺。[官網(wǎng)](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 ,用于數(shù)學(xué),科學(xué)和工程的開(kāi)源軟件構(gòu)成的生態(tài)系統(tǒng)覆劈。[官網(wǎng)](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):統(tǒng)計(jì)建模和計(jì)量經(jīng)濟(jì)學(xué)徒河。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fstatsmodels%2Fstatsmodels)

*? SymPy:一個(gè)用于符號(hào)數(shù)學(xué)的 Python 庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsympy%2Fsympy)

*? zipline:一個(gè) Python 算法交易庫(kù)送漠。[官網(wǎng)](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):優(yōu)雅的貝葉斯信念網(wǎng)絡(luò)框架顽照。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FeBay%2Fbayesian-belief-networks)

### 數(shù)據(jù)可視化

進(jìn)行數(shù)據(jù)可視化的庫(kù)。 參見(jiàn): [awesome-javascript](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsorrycc%2Fawesome-javascript%23data-visualization)闽寡。

*? matplotlib:一個(gè) Python 2D 繪圖庫(kù)代兵。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fmatplotlib.org%2F)

*? bokeh:用 Python 進(jìn)行交互式 web 繪圖纵穿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fbokeh%2Fbokeh)

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

*? plotly:協(xié)同 Python 和 matplotlib 工作的 web 繪圖庫(kù)奢人。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fplot.ly%2Fpython%2F)

*? pygal:一個(gè) Python SVG 圖表創(chuàng)建工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.pygal.org%2Fen%2Flatest%2F)

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

*? PyQtGraph:交互式實(shí)時(shí)2D/3D/圖像繪制及科學(xué)/工程學(xué)組件何乎。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.pyqtgraph.org%2F)

*? SnakeViz:一個(gè)基于瀏覽器的 Python's cProfile 模塊輸出結(jié)果查看工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fjiffyclub.github.io%2Fsnakeviz%2F)

*? vincent:把 Python 轉(zhuǎn)換為 Vega 語(yǔ)法的轉(zhuǎn)換工具土辩。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fwrobstory%2Fvincent)

*? VisPy:基于 OpenGL 的高性能科學(xué)可視化工具支救。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fvispy.org%2F)

### 計(jì)算機(jī)視覺(jué)

計(jì)算機(jī)視覺(jué)庫(kù)。

*? OpenCV:開(kāi)源計(jì)算機(jī)視覺(jué)庫(kù)拷淘。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fopencv.org%2F)

*? pyocr:Tesseract和Cuneiform的包裝庫(kù)各墨。[官網(wǎng)](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)的另一包裝庫(kù)。[官網(wǎng)](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):一個(gè)用來(lái)創(chuàng)建計(jì)算機(jī)視覺(jué)應(yīng)用的開(kāi)源框架启涯。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fsimplecv.org%2F)

### 機(jī)器學(xué)習(xí)

機(jī)器學(xué)習(xí)庫(kù)贬堵。 參見(jiàn): [awesome-machine-learning](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjosephmisiti%2Fawesome-machine-learning%23python).

*? Crab:靈活、快速的推薦引擎结洼。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmuricoca%2Fcrab)

*? gensim:人性化的話題建模庫(kù)黎做。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpiskvorky%2Fgensim)

*? hebel:GPU 加速的深度學(xué)習(xí)庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fhannes-brt%2Fhebel)

*? NuPIC:智能計(jì)算 Numenta 平臺(tái)松忍。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnumenta%2Fnupic)

*? pattern:Python 網(wǎng)絡(luò)挖掘模塊蒸殿。[官網(wǎng)](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):另一個(gè) Python 機(jī)器學(xué)習(xí)庫(kù)。[官網(wǎng)](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):一個(gè)基于 [Theano](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FTheano%2FTheano) 的機(jī)器學(xué)習(xí)庫(kù)鸣峭。[官網(wǎng)](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):一個(gè)用來(lái)實(shí)現(xiàn)推薦系統(tǒng)的 Python 庫(kù)宏所。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Focelma%2Fpython-recsys)

*? scikit-learn:基于 SciPy 構(gòu)建的機(jī)器學(xué)習(xí) Python 模塊。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fscikit-learn.org%2F)

*? pydeep:Python 深度學(xué)習(xí)庫(kù)摊溶。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fandersbll%2Fdeeppy)

*? vowpalporpoise:輕量級(jí) [Vowpal Wabbit](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FJohnLangford%2Fvowpalwabbit%2F) 的 Python 封裝爬骤。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjosephreisinger%2Fvowpalporpoise)

*? skflow:一個(gè) [TensorFlow](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftensorflow%2Ftensorflow) 的簡(jiǎn)化接口(模仿 scikit-learn)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ftensorflow%2Fskflow)

### MapReduce

MapReduce 框架和庫(kù)更扁。

*? [dpark](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fdpark%2F):Spark 的 Python 克隆版盖腕,一個(gè)類(lèi)似 MapReduce 的框架。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdouban%2Fdpark)

*? dumbo:這個(gè) Python 模塊可以讓人輕松的編寫(xiě)和運(yùn)行 Hadoop 程序浓镜。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fklbostee%2Fdumbo)

*? luigi:這個(gè)模塊幫你構(gòu)建批處理作業(yè)的復(fù)雜流水線溃列。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fspotify%2Fluigi)

*? mrjob:在 Hadoop 或 Amazon Web Services 上運(yùn)行 MapReduce 任務(wù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FYelp%2Fmrjob)

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

*? streamparse:運(yùn)行針對(duì)事實(shí)數(shù)據(jù)流的 Python 代碼听隐。集成了[Apache Storm](https://link.jianshu.com?t=http%3A%2F%2Fstorm.apache.org%2F)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FParsely%2Fstreamparse)

### 函數(shù)式編程

使用 Python 進(jìn)行函數(shù)式編程哄啄。

*? CyToolz:Toolz 的 Cython 實(shí)現(xiàn) : 高性能函數(shù)式工具雅任。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpytoolz%2Fcytoolz%2F)

*? fn.py:在 Python 中進(jìn)行函數(shù)式編程 : 實(shí)現(xiàn)了一些享受函數(shù)式編程缺失的功能风范。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fkachayev%2Ffn.py)

*? funcy:炫酷又實(shí)用的函數(shù)式工具。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSuor%2Ffuncy)

*? Toolz:一組用于迭代器沪么,函數(shù)和字典的函數(shù)式編程工具硼婿。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpytoolz%2Ftoolz)

### 第三方 API

用來(lái)訪問(wèn)第三方 API的庫(kù)。 參見(jiàn): [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:一個(gè)為各種云設(shè)計(jì)的 Python 庫(kù)寇漫。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Flibcloud.apache.org%2F)

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

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

*? facebook-sdk:Facebook 平臺(tái)的 Python SDK.[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmobolic%2Ffacebook-sdk)

*? facepy:Facepy 讓和 Facebook's Graph API 的交互變得更容易殉摔。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjgorset%2Ffacepy)

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

*? google-api-python-client:Python 用的 Google APIs 客戶端庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgoogle-api-python-client)

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

*? twython:Twitter API 的封裝逸月。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fryanmcgrath%2Ftwython)

### DevOps 工具

用于 DevOps 的軟件和庫(kù)栓撞。

*? Ansible:一個(gè)非常簡(jiǎn)單的 IT 自動(dòng)化平臺(tái)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fansible%2Fansible)

*? SaltStack:基礎(chǔ)設(shè)施自動(dòng)化和管理系統(tǒng)碗硬。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsaltstack%2Fsalt)

*? OpenStack:用于構(gòu)建私有和公有云的開(kāi)源軟件瓤湘。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.openstack.org%2F)

*? Docker Compose:快速,分離的開(kāi)發(fā)環(huán)境肛响,使用 Docker岭粤。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.docker.com%2Fcompose%2F)

*? Fabric:一個(gè)簡(jiǎn)單的,Python 風(fēng)格的工具特笋,用來(lái)進(jìn)行遠(yuǎn)程執(zhí)行和部署剃浇。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.fabfile.org%2F)

*? cuisine:為 Fabric 提供一系列高級(jí)函數(shù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsebastien%2Fcuisine)

*? Fabtools:一個(gè)用來(lái)編寫(xiě)超贊的 Fabric 文件的工具猎物。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fronnix%2Ffabtools)

*? gitapi:Git 的純 Python API虎囚。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fhaard%2Fgitapi)

*? hgapi:Mercurial 的純 Python API。[官網(wǎng)](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 克隆版蔫磨,用來(lái)管理基于[Procfile](https://link.jianshu.com?t=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fprocfile)的應(yīng)用淘讥。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnickstenning%2Fhoncho)

*? pexpect:Controlling interactive programs in a pseudo-terminal like 在一個(gè)偽終端中控制交互程序,就像 GNU expect 一樣堤如。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpexpect%2Fpexpect)

*? psutil:一個(gè)跨平臺(tái)進(jìn)程和系統(tǒng)工具模塊蒲列。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgiampaolo%2Fpsutil)

*? supervisor:UNIX 的進(jìn)程控制系統(tǒng)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSupervisor%2Fsupervisor)

### 任務(wù)調(diào)度

任務(wù)調(diào)度庫(kù)搀罢。

*? APScheduler:輕巧但強(qiáng)大的進(jìn)程內(nèi)任務(wù)調(diào)度蝗岖,使你可以調(diào)度函數(shù)。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fapscheduler.readthedocs.org%2Fen%2Flatest%2F)

*? django-schedule:一個(gè) Django 排程應(yīng)用榔至。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fthauber%2Fdjango-schedule)

*? doit:一個(gè)任務(wù)執(zhí)行和構(gòu)建工具抵赢。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpydoit.org%2F)

*? gunnery:分布式系統(tǒng)使用的多用途任務(wù)執(zhí)行工具 ,具有 web 交互界面。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fgunnery%2Fgunnery)

*? Joblib:一組為 Python 提供輕量級(jí)作業(yè)流水線的工具铅鲤。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpythonhosted.org%2Fjoblib%2Findex.html)

*? Plan:如有神助地編寫(xiě) crontab 文件划提。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffengsp%2Fplan)

*? schedule:人性化的 Python 任務(wù)調(diào)度庫(kù)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdbader%2Fschedule)

*? Spiff:使用純 Python 實(shí)現(xiàn)的強(qiáng)大的工作流引擎邢享。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fknipknap%2FSpiffWorkflow)

*? TaskFlow:一個(gè)可以讓你方便執(zhí)行任務(wù)的 Python 庫(kù)鹏往,一致并且可靠。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fdocs.openstack.org%2Fdeveloper%2Ftaskflow%2F)

### 外來(lái)函數(shù)接口

使用外來(lái)函數(shù)接口的庫(kù)骇塘。

*? cffi:用來(lái)調(diào)用 C 代碼的外來(lái)函數(shù)接口掸犬。[官網(wǎng)](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 標(biāo)準(zhǔn)庫(kù)) 用來(lái)調(diào)用 C 代碼的外來(lái)函數(shù)接口。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fctypes.html)

*? PyCUDA:Nvidia CUDA API 的封裝绪爸。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fmathema.tician.de%2Fsoftware%2Fpycuda%2F)

*? SWIG:簡(jiǎn)化的封裝和接口生成器。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.swig.org%2FDoc1.3%2FPython.html)

### 高性能

讓 Python 更快的庫(kù)宙攻。

*? Cython:優(yōu)化的 Python 靜態(tài)編譯器奠货。使用類(lèi)型混合使 Python 編譯成 C 或 C++ 模塊來(lái)獲得性能的極大提升。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fcython.org%2F)

*? PeachPy:嵌入 Python 的 x86-64 匯編器座掘〉萃铮可以被用作 Python 內(nèi)聯(lián)的匯編器或者是獨(dú)立的匯編器,用于 Windows, Linux, OS X, Native Client 或者 Go 溢陪。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FMaratyszcza%2FPeachPy)

*? PyPy:使用 Python 實(shí)現(xiàn)的 Python萍虽。解釋器使用黑魔法加快 Python 運(yùn)行速度且不需要加入額外的類(lèi)型信息。[官網(wǎng)](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 和現(xiàn)代 JIT 技術(shù)構(gòu)建的 Python 實(shí)現(xiàn)形真,目標(biāo)是為了獲得很好的性能杉编。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdropbox%2Fpyston)

*? Stackless Python:一個(gè)強(qiáng)化版的 Python。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fbitbucket.org%2Fstackless-dev%2Fstackless%2Foverview)

### 微軟的 Windows平臺(tái)

在 Windows 平臺(tái)上進(jìn)行 Python 編程咆霜。

*? Python(x,y):面向科學(xué)應(yīng)用的 Python 發(fā)行版邓馒,基于 Qt 和 Spyder。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpython-xy.github.io%2F)

*? pythonlibs:非官方的 Windows 平臺(tái) Python 擴(kuò)展二進(jìn)制包蛾坯。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.lfd.uci.edu%2F%7Egohlke%2Fpythonlibs%2F)

*? PythonNet:Python 與 .NET 公共語(yǔ)言運(yùn)行庫(kù) (CLR)的集成光酣。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet)

*? PyWin32:針對(duì) Windows 的Python 擴(kuò)展。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpywin32%2F)

*? WinPython:Windows 7/8 系統(tǒng)下便攜式開(kāi)發(fā)環(huán)境脉课。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwinpython.github.io%2F)

### 網(wǎng)絡(luò)可視化和SDN

用來(lái)進(jìn)行網(wǎng)絡(luò)可視化和SDN(軟件定義網(wǎng)絡(luò))的工具和庫(kù)救军。

*? Mininet:一款流行的網(wǎng)絡(luò)模擬器以及用 Python 編寫(xiě)的 API。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fmininet.org%2F)

*? POX:一個(gè)針對(duì)基于 Python 的軟件定義網(wǎng)絡(luò)應(yīng)用(例如 OpenFlow SDN 控制器)的開(kāi)源開(kāi)發(fā)平臺(tái)倘零。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnoxrepo%2Fpox)

*? Pyretic:火熱的 SDN 編程語(yǔ)言中的一員唱遭,為網(wǎng)絡(luò)交換機(jī)和模擬器提供強(qiáng)大的抽象能力。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ffrenetic-lang.org%2Fpyretic%2F)

*? SDX Platform:基于 SDN 的 IXP 實(shí)現(xiàn)视事,影響了 Mininet, POX 和 Pyretic胆萧。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsdn-ixp%2Finternet2award)

### 硬件

用來(lái)對(duì)硬件進(jìn)行編程的庫(kù)。

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

*? Pyro:Python 機(jī)器人編程庫(kù)跌穗。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpyrorobotics.com%2F)

*? PyUserInput:跨平臺(tái)的订晌,控制鼠標(biāo)和鍵盤(pán)的模塊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FSavinaRoja%2FPyUserInput)

*? scapy:一個(gè)非常棒的操作數(shù)據(jù)包的庫(kù)蚌吸。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsecdev%2Fscapy)

*? wifi:一個(gè) Python 庫(kù)和命令行工具用來(lái)在 Linux 平臺(tái)上操作WiFi锈拨。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwifi.readthedocs.org%2Fen%2Flatest%2F)

*? Pingo:Pingo 為類(lèi)似Raspberry Pi,pcDuino羹唠, Intel Galileo等設(shè)備提供統(tǒng)一的API用以編程奕枢。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.pingo.io%2F)

### 兼容性

幫助從 Python 2 向 Python 3遷移的庫(kù)。

*? Python-Future:這就是 Python 2 和 Python 3 之間丟失的那個(gè)兼容性層佩微。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpython-future.org%2Findex.html)

*? Python-Modernize:使 Python 代碼更加現(xiàn)代化以便最終遷移到 Python 3缝彬。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmitsuhiko%2Fpython-modernize)

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

### 雜項(xiàng)

不屬于上面任何一個(gè)類(lèi)別哺眯,但是非常有用的庫(kù)谷浅。

*? blinker:一個(gè)快速的 Python 進(jìn)程內(nèi)信號(hào)/事件分發(fā)系統(tǒng)。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjek%2Fblinker)

*? itsdangerous:一系列輔助工具用來(lái)將可信的數(shù)據(jù)傳入不可信的環(huán)境奶卓。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fpallets%2Fitsdangerous)

*? pluginbase:一個(gè)簡(jiǎn)單但是非常靈活的 Python 插件系統(tǒng)一疯。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fmitsuhiko%2Fpluginbase)

*? Pychievements:一個(gè)用來(lái)創(chuàng)建和追蹤成就的 Python 框架。[官網(wǎng)](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):一個(gè)通用商務(wù)框架夺姑。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.tryton.org%2F)

### 算法和設(shè)計(jì)模式

Python 實(shí)現(xiàn)的算法和設(shè)計(jì)模式墩邀。

*? [algorithms](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Falgorithms%2F):一個(gè) Python 算法模塊。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fnryoung%2Falgorithms)

*? python-patterns:Python 設(shè)計(jì)模式的集合盏浙。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns)

*? sortedcontainers:快速眉睹,純 Python 實(shí)現(xiàn)的SortedList,SortedDict 和 SortedSet 類(lèi)型废膘。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.grantjenks.com%2Fdocs%2Fsortedcontainers%2F)

### 編輯器插件

編輯器和 IDE 的插件

*? Emacs

*? Elpy:Emacs Python 開(kāi)發(fā)環(huán)境辣往。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fjorgenschaefer%2Felpy)

*? Sublime Text

*? SublimeJEDI:一個(gè) Sublime Text 插件,用來(lái)使用超贊的自動(dòng)補(bǔ)全庫(kù) Jedi殖卑。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fsrusskih%2FSublimeJEDI)

*? Anaconda:Anaconda 把你的 Sublime Text 3 變成一個(gè)功能齊全的 Python IDE站削。[官網(wǎng)](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 自動(dòng)補(bǔ)全引擎。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2FValloric%2FYouCompleteMe)

*? Jedi-vim:綁定 Vim 和 Jedi 自動(dòng)補(bǔ)全庫(kù)對(duì) Python 進(jìn)行自動(dòng)補(bǔ)全孵稽。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fdavidhalter%2Fjedi-vim)

*? Python-mode:將 Vim 變成 Python IDE 的一款多合一插件许起。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fklen%2Fpython-mode)

*? Visual Studio

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

### 集成開(kāi)發(fā)環(huán)境

流行的 Python 集成開(kāi)發(fā)環(huán)境。

*? PyCharm:商業(yè)化的 Python IDE 菩鲜,由 JetBrains 開(kāi)發(fā)园细。也有免費(fèi)的社區(qū)版提供。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.jetbrains.com%2Fpycharm%2F)

*? LiClipse:基于 Eclipse 的免費(fèi)多語(yǔ)言 IDE 接校。使用 PyDev 來(lái)支持 Python 猛频。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwww.liclipse.com%2F)

*? Spyder:開(kāi)源 Python IDE狮崩。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fgithub.com%2Fspyder-ide%2Fspyder)

### 自動(dòng)聊天工具

用于開(kāi)發(fā)聊天機(jī)器人的庫(kù)

*? Errbot:最簡(jiǎn)單和最流行的聊天機(jī)器人用來(lái)實(shí)現(xiàn)自動(dòng)聊天工具。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Ferrbot.io%2Fen%2Flatest%2F)

## 服務(wù)

在線工具和簡(jiǎn)化開(kāi)發(fā)的 API 鹿寻。

### 持續(xù)集成

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

*? Travis CI:一個(gè)流行的工具睦柴,為你的開(kāi)源和[私人](https://link.jianshu.com?t=https%3A%2F%2Ftravis-ci.com%2F)項(xiàng)目提供持續(xù)集成服務(wù)。(僅支持 GitHub)[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Ftravis-ci.org%2F)

*? CircleCI:一個(gè)持續(xù)集成工具毡熏,可以非程沟校快速的進(jìn)行并行測(cè)試。 (僅支持 GitHub)[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fcircleci.com%2F)

*? Vexor CI:一個(gè)為私人 app 提供持續(xù)集成的工具痢法,支持按分鐘付費(fèi)狱窘。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fvexor.io%2F)

*? Wercker:基于 Docker 平臺(tái),用來(lái)構(gòu)建和部署微服務(wù)财搁。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fwercker.com%2F)

### 代碼質(zhì)量

*? Codacy:自動(dòng)化代碼審查蘸炸,更加快速的發(fā)布高質(zhì)量代碼。對(duì)于開(kāi)源項(xiàng)目是免費(fèi)的尖奔。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.codacy.com%2F)

*? QuantifiedCode:一個(gè)數(shù)據(jù)驅(qū)動(dòng)幻馁、自動(dòng)、持續(xù)的代碼審查工具越锈。[官網(wǎng)](https://link.jianshu.com?t=https%3A%2F%2Fwww.quantifiedcode.com%2F)

## 資源

在這里可以找到新的 Python 庫(kù)。

### 網(wǎng)站

*? [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)

### 學(xué)習(xí)指南

*? [Scipy-lecture-notes](https://link.jianshu.com?t=http%3A%2F%2Fhao.jobbole.com%2Fscipy-lecture-notes%2F):如何用Python來(lái)做學(xué)術(shù)膘滨?[官網(wǎng)](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科學(xué)計(jì)算的資料甘凭。[官網(wǎng)](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寫(xiě)的超級(jí)馬里奧第一關(guān)。[官網(wǎng)](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的交互式學(xué)習(xí)工具火邓。[官網(wǎng)](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寫(xiě)的Minecraft游戲丹弱。[官網(wǎng)](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資源大全。[官網(wǎng)](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實(shí)現(xiàn)設(shè)計(jì)模式铲咨。[官網(wǎng)](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項(xiàng)目大集合躲胳。[官網(wǎng)](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學(xué)習(xí)指南。[官網(wǎng)](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)一樣編程纤勒。[官網(wǎng)](https://link.jianshu.com?t=http%3A%2F%2Fpython.net%2F%7Egoodger%2Fprojects%2Fpycon%2F2007%2Fidiomatic%2Fhandout.html)

作者:aimaile

鏈接:[http://www.reibang.com/p/a166e63544d8](http://www.reibang.com/p/a166e63544d8)

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末坯苹,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子摇天,更是在濱河造成了極大的恐慌粹湃,老刑警劉巖,帶你破解...
    沈念sama閱讀 206,013評(píng)論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件泉坐,死亡現(xiàn)場(chǎng)離奇詭異为鳄,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī)腕让,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,205評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門(mén)孤钦,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人,你說(shuō)我怎么就攤上這事偏形【残洌” “怎么了?”我有些...
    開(kāi)封第一講書(shū)人閱讀 152,370評(píng)論 0 342
  • 文/不壞的土叔 我叫張陵壳猜,是天一觀的道長(zhǎng)勾徽。 經(jīng)常有香客問(wèn)我,道長(zhǎng)统扳,這世上最難降的妖魔是什么喘帚? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 55,168評(píng)論 1 278
  • 正文 為了忘掉前任,我火速辦了婚禮咒钟,結(jié)果婚禮上吹由,老公的妹妹穿的比我還像新娘。我一直安慰自己朱嘴,他們只是感情好倾鲫,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,153評(píng)論 5 371
  • 文/花漫 我一把揭開(kāi)白布。 她就那樣靜靜地躺著萍嬉,像睡著了一般乌昔。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上壤追,一...
    開(kāi)封第一講書(shū)人閱讀 48,954評(píng)論 1 283
  • 那天磕道,我揣著相機(jī)與錄音,去河邊找鬼行冰。 笑死溺蕉,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的悼做。 我是一名探鬼主播疯特,決...
    沈念sama閱讀 38,271評(píng)論 3 399
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼肛走!你這毒婦竟也來(lái)了漓雅?” 一聲冷哼從身側(cè)響起,我...
    開(kāi)封第一講書(shū)人閱讀 36,916評(píng)論 0 259
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤朽色,失蹤者是張志新(化名)和其女友劉穎秉犹,沒(méi)想到半個(gè)月后侠仇,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,382評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,877評(píng)論 2 323
  • 正文 我和宋清朗相戀三年圆雁,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了伶授。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片贵少。...
    茶點(diǎn)故事閱讀 37,989評(píng)論 1 333
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖峻呕,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情趣效,我是刑警寧澤瘦癌,帶...
    沈念sama閱讀 33,624評(píng)論 4 322
  • 正文 年R本政府宣布,位于F島的核電站跷敬,受9級(jí)特大地震影響讯私,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜西傀,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,209評(píng)論 3 307
  • 文/蒙蒙 一斤寇、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧拥褂,春花似錦娘锁、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 30,199評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至悔详,卻和暖如春镊屎,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背茄螃。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 31,418評(píng)論 1 260
  • 我被黑心中介騙來(lái)泰國(guó)打工缝驳, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人责蝠。 一個(gè)月前我還...
    沈念sama閱讀 45,401評(píng)論 2 352
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像萎庭,于是被迫代替她去往敵國(guó)和親霜医。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,700評(píng)論 2 345

推薦閱讀更多精彩內(nèi)容