awesome-python-cn
所属分类:collect
开发工具:Makefile
文件大小:0KB
下载次数:0
上传日期:2020-05-22 15:59:38
上 传 者:
sh-1993
说明: 真棒的Pythoncn,,
(awesome-python-cn,,)
文件列表:
docs/
LICENSE
Makefile
mkdocs.yml
# Python 资源大全中文版
我想很多程序员应该记得 GitHub 上有一个 Awesome - XXX 系列的资源整理。[awesome-python](https://github.com/vinta/awesome-python) 是 vinta 发起维护的 Python 资源列表,内容包括:Web 框架、网络爬虫、网络内容提取、模板引擎、数据库、数据可视化、图片处理、文本处理、自然语言处理、机器学习、日志、代码分析等。由伯乐在线持续更新。
Awesome 系列虽然挺全,但基本只对收录的资源做了极为简要的介绍,如果有更详细的中文介绍,对相应开发者的帮助会更大。这也是我们发起这个开源项目的初衷。
## 关于项目
### 我们要做什么?
- 基于 awesome-python 列表,我们将对其中的各个资源项进行编译整理。此外还将从其他来源补充好资源。
- 整理后的内容,将收录在[伯乐在线资源频道](http://hao.importnew.com/)。可参考已整理的内容:
- 《[Scrapy:Python 的爬虫框架](http://hao.importnew.com/python-scrapy/)》
- 《[Flask:一个使用 Python 编写的轻量级 Web 应用框架](http://hao.importnew.com/flask/)》
### 如何为列表贡献新资源?
欢迎大家为列表贡献高质量的新资源,提交 PR 时请参照以下要求:
* 请确保推荐的资源自己使用过
* 提交 PR 时请注明推荐理由
资源列表管理收到 PR 请求后,会定期(每周)在微博转发本周提交的 PR 列表,并在微博上面听取使用过这些资源的意见。确认通过后,会加入资源大全。
感谢您的贡献!
### 本项目的参与者
- 维护者:
- 贡献者:[艾凌风](https://github.com/hanxiaomax)、Namco、[Daetalus](https://github.com/Daetalus)、[黄利民](http://www.importnew.com/members/huanglimin/)、[atupal](http://www.importnew.com/members/atupal/)、[rainbow](http://www.importnew.com/members/rainbow/)、[木头lbj](https://github.com/mutoulbj)、[beyondwu](http://www.importnew.com/members/beyondwu/)、[cissoid](https://github.com/cissoid)、[李广胜](https://github.com/liguangsheng)、[polyval](https://github.com/polyval)、[冰斌](http://www.importnew.com/members/libing1209/)、[赵叶宇](http://www.importnew.com/members/nelsonzhao/)、[л stalgic](http://www.importnew.com/members/fengfeng19910805/)、[硕恩](http://www.importnew.com/members/shawnw/)、[strongit](https://github.com/strongit)、[yuukilp](http://www.importnew.com/members/yuukilp/)、[chenjiandongx](https://github.com/chenjiandongx)、[autopenguin](https://github.com/autopenguin)、[visonforcoding](https://github.com/visonforcoding)、[Super赛亚人](https://github.com/No-96)、[Since-future](https://github.com/Since-future)、[knktc](https://github.com/knktc)、[zhucebuliaopx](https://github.com/zhucebuliaopx)
注:名单不分排名,不定期补充更新
## 资源列表
### 环境管理
管理 Python 版本和环境的工具
* p:非常简单的交互式 python 版本管理工具。[官网](https://github.com/qw3rtman/p)
* pyenv:简单的 Python 版本管理工具。[官网](https://github.com/yyuu/pyenv)
* Vex:可以在虚拟环境中执行命令。[官网](https://github.com/sashahart/vex)
* virtualenv:创建独立 Python 环境的工具。[官网](https://pypi.python.org/pypi/virtualenv)
* virtualenvwrapper:virtualenv 的一组扩展。[官网](https://pypi.python.org/pypi/virtualenvwrapper)
* buildout:在隔离环境初始化后使用声明性配置管理。[官网](http://www.buildout.org/en/latest)
### 包管理
管理包和依赖的工具。
* pip:Python 包和依赖关系管理工具。[官网](https://pip.pypa.io/)
* pip-tools:保证 Python 包依赖关系更新的一组工具。[官网](https://github.com/nvie/pip-tools)
* pipenv:Python 官方推荐的新一代包管理工具。[官网](https://github.com/pypa/pipenv)
* poetry: 可完全取代 setup.py 的包管理工具。[官网](https://poetry.eustace.io)
* conda:跨平台,Python 二进制包管理工具。[官网](https://github.com/conda/conda/)
* Curdling:管理 Python 包的命令行工具。[官网](http://clarete.li/curdling/)
* wheel:Python 分发的新标准,意在取代 eggs。[官网](http://pythonwheels.com/)
### 包仓库
本地 PyPI 仓库服务和代理。
* [warehouse](https://pypi.org/):下一代 PyPI。[官网](https://github.com/pypa/warehouse)
* bandersnatch:PyPA 提供的 PyPI 镜像工具。[官网](https://bitbucket.org/pypa/bandersnatch)
* devpi:PyPI 服务和打包/测试/分发工具。[官网](http://doc.devpi.net/)
* localshop:本地 PyPI 服务(自定义包并且自动对 PyPI 镜像)。[官网](https://github.com/mvantellingen/localshop)
### 分发
打包为可执行文件以便分发。
* PyInstaller:将 Python 程序转换成独立的执行文件(跨平台)。[官网](https://github.com/pyinstaller/pyinstaller)
* cx_Freeze:将python程序转换为带有一个动态链接库的可执行文件。[官网](https://cx-freeze.readthedocs.io/en/latest/index.html)
* dh-virtualenv:构建并将 virtualenv 虚拟环境作为一个 Debian 包来发布。[官网](http://dh-virtualenv.readthedocs.org/)
* Nuitka:将脚本、模块、包编译成可执行文件或扩展模块。[官网](http://nuitka.net/)
* py2app:将 Python 脚本变为独立软件包(Mac OS X)。[官网](http://pythonhosted.org/py2app/)
* py2exe:将 Python 脚本变为独立软件包(Windows)。[官网](http://www.py2exe.org/)
* pynsist:一个用来创建 Windows 安装程序的工具,可以在安装程序中打包 Python 本身。[官网](http://pynsist.readthedocs.org/)
### 构建工具
将源码编译成软件。
* buildout:一个构建系统,从多个组件来创建,组装和部署应用。[官网](http://www.buildout.org/)
* BitBake:针对嵌入式 Linux 的类似 make 的构建工具。[官网](http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html)
* fabricate:对任何语言自动找到依赖关系的构建工具。[官网](https://code.google.com/archive/p/fabricate)
* PlatformIO:多平台命令行构建工具。[官网](https://github.com/platformio/platformio)
* PyBuilder:纯 Python 实现的持续化构建工具。[官网](https://github.com/pybuilder/pybuilder)
* SCons:软件构建工具。[官网](http://www.scons.org/)
### 交互式解析器
交互式 Python 解析器。
* IPython:功能丰富的工具,非常有效的使用交互式 Python。[官网](https://github.com/ipython/ipython)
* [bpython](http://hao.importnew.com/bpython/):界面丰富的 Python 解析器。[官网](http://bpython-interpreter.org/)
* ptpython:高级交互式 Python 解析器, 构建于 [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit) 之上。[官网](https://github.com/jonathanslenders/ptpython)
### 文件
文件管理和 MIME(多用途的网际邮件扩充协议)类型检测。
* aiofiles:基于 asyncio,提供文件异步操作。[官网](https://github.com/Tinche/aiofiles)
* imghdr:(Python 标准库)检测图片类型。[官网](https://docs.python.org/2/library/imghdr.html)
* mimetypes:(Python 标准库)将文件名映射为 MIME 类型。[官网](https://docs.python.org/2/library/mimetypes.html)
* path.py:对 os.path 进行封装的模块。[官网](https://github.com/jaraco/path.py)
* pathlib:(Python3.4+ 标准库)跨平台的、面向对象的路径操作库。[官网](https://pathlib.readthedocs.org/en/pep428/)
* python-magic:文件类型检测的第三方库 libmagic 的 Python 接口。[官网](https://github.com/ahupp/python-magic)
* Unipath:用面向对象的方式操作文件和目录。[官网](https://github.com/mikeorr/Unipath)
* watchdog:管理文件系统事件的 API 和 shell 工具。[官网](https://github.com/gorakhargosh/watchdog)
### 日期和时间
操作日期和时间的类库。
* arrow:更好的 Python 日期时间操作类库。[官网](https://github.com/crsmithdev/arrow)
* Chronyk:Python 3 的类库,用于解析手写格式的时间和日期。[官网](https://github.com/KoffeinFlummi/Chronyk)
* dateutil:Python datetime 模块的扩展。[官网](https://pypi.python.org/pypi/python-dateutil)
* delorean:解决 Python 中有关日期处理的棘手问题的库。[官网](https://github.com/myusuf3/delorean/)
* maya:人性化的时间处理库。[官网](https://github.com/kennethreitz/maya)
* moment:一个用来处理时间和日期的 Python 库。灵感来自于 Moment.js。[官网](https://github.com/zachwill/moment)
* pendulum:一个比 arrow 更具有明确的,可预测的行为的时间操作库。[官网](https://github.com/sdispater/pendulum)
* PyTime:一个简单易用的 Python 模块,用于通过字符串来操作日期/时间。[官网](https://github.com/shinux/PyTime)
* pytz:现代以及历史版本的世界时区定义。将时区数据库引入 Python。[官网](https://launchpad.net/pytz)
* when.py:提供用户友好的函数来帮助用户进行常用的日期和时间操作。[官网](https://github.com/dirn/When.py)
### 文本处理
用于解析和操作文本的库。
* 通用
* [chardet](http://hao.importnew.com/chardet/):字符编码检测器,兼容 Python2 和 Python3。[官网](https://github.com/chardet/chardet)
* difflib:(Python 标准库)帮助我们进行差异化比较。[官网](https://docs.python.org/2/library/difflib.html)
* ftfy:让 Unicode 文本更完整更连贯。[官网](https://github.com/LuminosoInsight/python-ftfy)
* fuzzywuzzy:模糊字符串匹配。[官网](https://github.com/seatgeek/fuzzywuzzy)
* Levenshtein:快速计算编辑距离以及字符串的相似度。[官网](https://github.com/ztane/python-Levenshtein/)
* pangu.py:在中日韩语字符和数字字母之间添加空格。[官网](https://github.com/vinta/pangu.py)
* pypinyin:汉字拼音转换工具 Python 版。[官网](https://github.com/mozillazg/python-pinyin)
* shortuuid:一个生成器库,用以生成简洁的,明白的,URL 安全的 UUID。[官网](https://github.com/stochastic-technologies/shortuuid)
* [simplejson](https://github.com/simplejson/simplejson):Python 的 JSON 编码、解码器。[官网](https://simplejson.readthedocs.io/en/latest/)
* unidecode:Unicode 文本的 ASCII 转换形式 。[官网](https://pypi.python.org/pypi/Unidecode)
* uniout:打印可读的字符,而不是转义的字符串。[官网](https://github.com/moskytw/uniout)
* xpinyin:一个用于把汉字转换为拼音的库。[官网](https://github.com/lxneng/xpinyin)
* yfiglet-figlet:[pyfiglet -figlet](https://github.com/pwaller/pyfiglet) 的 Python 实现。
* flashtext: 一个高效的文本查找替换库。[官网](https://github.com/vi3k6i5/flashtext)
* Slug 化
* awesome-slugify:一个 Python slug 化库,可以保持 Unicode。[官网](https://github.com/dimka665/awesome-slugify)
* python-slugify:Python slug 化库,可以把 unicode 转化为 ASCII。[官网](https://github.com/un33k/python-slugify)
* unicode-slugify:一个 slug 工具,可以生成 unicode slugs ,需要依赖 Django 。[官网](https://github.com/mozilla/unicode-slugify)
* 解析器
* phonenumbers:解析,格式化,储存,验证电话号码。[官网](https://github.com/daviddrysdale/python-phonenumbers)
* PLY:lex 和 yacc 解析工具的 Python 实现。[官网](http://www.dabeaz.com/ply/)
* Pygments:通用语法高亮工具。[官网](http://pygments.org/)
* pyparsing:生成通用解析器的框架。[官网](http://pyparsing.wikispaces.com/)
* python-nameparser:把一个人名分解为几个独立的部分。[官网](https://github.com/derek73/python-nameparser)
* python-user-agents:浏览器 user agent 解析器。[官网](https://github.com/selwin/python-user-agents)
* sqlparse:一个无验证的 SQL 解析器。[官网](https://sqlparse.readthedocs.org/en/latest/)
### 特殊文本格式处理
一些用来解析和操作特殊文本格式的库。
* 通用
* tablib:一个用来处理中表格数据的模块。[官网](https://github.com/kennethreitz/tablib)
* Office
* Marmir:把输入的 Python 数据结构转换为电子表单。[官网](https://github.com/brianray/mm)
* openpyxl:一个用来读写 Excel 2010 xlsx/xlsm/xltx/xltm 文件的库。[官网](https://openpyxl.readthedocs.org/en/latest/)
* pyexcel:一个提供统一 API,用来读写,操作 Excel 文件的库。[官网](https://github.com/pyexcel/pyexcel)
* python-docx:读取,查询以及修改 Microsoft Word 2007/2008 docx 文件。[官网](https://github.com/python-openxml/python-docx)
* relatorio:模板化 OpenDocument 文件。[官网](http://relatorio.tryton.org/)
* unoconv:在 LibreOffice/OpenOffice 支持的任意文件格式之间进行转换。[官网](https://github.com/dagwieers/unoconv)
* XlsxWriter:一个用于创建 Excel .xlsx 文件的 Python 模块。[官网](https://xlsxwriter.readthedocs.org/en/latest/)
* xlwings:一个使得在 Excel 中方便调用 Python 的库(反之亦然),基于 BSD 协议。[官网](http://xlwings.org/)
* [xlwt](http://hao.importnew.com/xlwt/):读写 Excel 文件的数据和格式信息。[官网](https://github.com/python-excel/xlwt) / [xlrd](https://github.com/python-excel/xlrd)
* PDF
* PDFMiner:一个用于从 PDF 文档中抽取信息的工具。[官网](https://github.com/euske/pdfminer)
* PyPDF2:一个可以分割,合并和转换 PDF 页面的库。[官网](https://github.com/mstamy2/PyPDF2)
* ReportLab:快速创建富文本 PDF 文档。[官网](http://www.reportlab.com/opensource/)
* Markdown
* Mistune:快速并且功能齐全的纯 Python 实现的 Markdown 解析器。[官网](https://github.com/lepture/mistune)
* Python-Markdown:John Gruber’s Markdown 的 Python 版实现。[官网](https://github.com/waylan/Python-Markdown)
* Python-Markdown2:纯 Python 实现的 Markdown 解析器,比 Python-Markdown 更快,更准确,可扩展。[官网](https://github.com/trentm/python-markdown2)
* YAML
* PyYAML:Python 版本的 YAML 解析器。[官网](http://pyyaml.org/)
* CSV
* csvkit:用于转换和操作 CSV 的工具。[官网](https://github.com/wireservice/csvkit)
* Archive
* unp:一个用来方便解包归档文件的命令行工具。[官网](https://github.com/mitsuhiko/unp)
### 自然语言处理
用来处理人类语言的库。
* [NLTK](http://hao.importnew.com/nltk/):一个先进的平台,用以构建处理人类语言数据的 Python 程序。[官网](http://www.nltk.org/)
* jieba:中文分词工具。[官网](https://github.com/fxsjy/jieba)
* langid.py:独立的语言识别系统。[官网](https://github.com/saffsd/langid.py)
* Pattern:Python 网络信息挖掘模块。[官网](http://www.clips.ua.ac.be/pattern)
* SnowNLP:一个用来处理中文文本的库。[官网](https://github.com/isnowfy/snownlp)
* TextBlob:为进行普通自然语言处理任务提供一致的 API。[官网](http://textblob.readthedocs.org/en/latest/)
* TextGrocery:一简单高效的短文本分类工具,基于 LibLinear 和 Jieba。[官网](https://github.com/2shou/TextGrocery)
* thulac:清华大学自然语言处理与社会人文计算实验室研制推出的一套中文词法分析工具包[官网](https://github.com/thunlp/THULAC-Python)
### 文档
用以生成项目文档的库。
* [Sphinx](http://hao.importnew.com/sphinx/):Python 文档生成器。[官网](http://www.sphinx-doc.org/en/latest/)
* awesome-sphinxdoc:[官网](https://github.com/yoloseem/awesome-sphinxdoc)
* MkDocs:对 Markdown 友好的文档生成器。[官网](http://www.mkdocs.org/)
* pdoc:一个可以替换 Epydoc 的库,可以自动生成 Python 库的 API 文档。[官网](https://github.com/BurntSushi/pdoc)
* Pycco:文学编程(literate-programming)风格的文档生成器。[官网](https://github.com/pycco-docs/pycco)
* readthedocs:一个基于 Sphinx/MkDocs 的在线文档托管系统,对开源项目免费开放使用。[官网](https://github.com/rtfd/readthedocs.org/)
### 配置
用来保存和解析配置的库。
* config:[logging](https://docs.python.org/2/library/logging.html) 模块作者写的分级配置模块。[官网](https://www.red-dove.com/config-doc/)
* ConfigObj:INI 文件解析器,带验证功能。[官网](http://www.voidspace.org.uk/python/configobj.html)
* ConfigParser:(Python 标准库) INI 文件解析器。[官网](https://docs.python.org/2/library/configparser.html)
* profig:通过多种格式进行配置,具有数值转换功能。[官网](http://profig.readthedocs.org/en/default/)
* python-decouple:将设置和代码完全隔离。[官网](https://github.com/henriquebastos/python-decouple)
### 命令行工具
用于创建命令行程序的库。
* 命令行程序开发
* asciimatics:跨平台,全屏终端包(即鼠标/键盘输入和彩色,定位文本输出),完整的复杂动画和特殊效果的高级 API。[官网](https://github.com/peterbrittain/asciimatics)
* cement:Python 的命令行程序框架。[官网](http://builtoncement.com/)
* click:一个通过组合的方式来创建精美命令行界面的包。[官网](http://click.pocoo.org/dev/)
* cliff:一个用于创建命令行程序的框架,可以创建具有多层命令的命令行程序。[官网](http://docs.openstack.org/developer/cliff/)
* clint:Python 命令行程序工具。[官网](https://github.com/kennethreitz/clint)
* colorama:跨平台彩色终端文本。[官网](https://pypi.python.org/pypi/colorama)
* docopt:Python 风格的命令行参数解析器。[官网](http://docopt.org/)
* Gooey:一条命令,将命令行程序变成一个 GUI 程序。[官网](https://github.com/chriskiehl/Gooey)
* python-prompt-toolkit:一个用于构建强大的交互式命令行程序的库。[官网](https://github.com/jonathanslenders/python-prompt-toolkit)
* python-fire:Google 出品的一个基于 Python 类的构建命令行界面的库。[官网](https://github.com/google/python-fire)
* [Pythonpy](http://hao.importnew.com/pythonpy/):在命令行中直接执行任何 Python 指令。[官网](https://github.com/Russell91/pythonpy/wiki)
* 生产力工具
* aws-cli:Amazon Web Services 的通用命令行界面。[官网](https://github.com/aws/aws-cli)
* bashplotlib:在终端中进行基本绘图。[官网](https://github.com/glamp/bashplotlib)
* caniusepython3:判断是哪个项目妨碍你你移植到 Python3。[官网](https://github.com/brettcannon/caniusepython3)
* cookiecutter:从 cookiecutters(项目模板)创建项目的一个命令行工具。[官网](https://github.com/audreyr/cookiecutter)
* doitlive:一个用来在终端中进行现场演示的工具。[官网](https://github.com/sloria/doitlive)
* pyftpdlib:一个速度极快和可扩展的 Python FTP 服务库。[官网](https://github.com/giampaolo/pyftpdlib)
* howdoi:通过命令行获取即时的编程问题解答。[官网](https://github.com/gleitz/howdoi)
* httpie:一个命令行 HTTP 客户端,cURL 的替代品,易用性更好。[官网](https://github.com/jkbrzt/httpie)
* PathPicker:从 bash 输出中选出文件。[官网](https://github.com/facebook/PathPicker)
* percol:向 UNIX shell 传统管道概念中加入交互式选择功能。[官网](https://github.com/mooz/percol)
* SAWS:一个加强版的 AWS 命令行。[官网](https://github.com/donnemartin/saws)
* thefuck:修正你之前的命令行指令。[官网](https://github.com/nvbn/thefuck)
* mycli:一个 MySQL 命令行客户端,具有自动补全和语法高亮功能。[官网](https://github.com/dbcli/mycli)
* pgcli:Postgres 命令行工具,具有自动补全和语法高亮功能。[官网](https://github.com/dbcli/pgcli)
* try:一个从来没有更简单的命令行工具,用来试用 python 库。[官网](https://github.com/timofurrer/try)
### 下载器
用来进行下载的库.
* s3cmd:一个用来管理 Amazon S3 和 CloudFront 的命令行工具。[官网](https://github.com/s3tools/s3cmd)
* s4cmd:超级 S3 命令行工具,性能更加强劲。[官网](https://github.com/bloomreach/s4cmd)
* you-get:一个 YouTube/Youku/Niconico 视频下载器,使用 Python3 编写。[官网](https://www.soimort.org/you-get/)
* youtube-dl:一个小巧的命令行程序,用来下载 YouTube 视频。[官网](http://rg3.github.io/youtube-dl/)
### 图像处理
用来操作图像的库.
* [pillow](http://hao.importnew.com/pillow/):Pillow 是一个更加易用版的 [PIL](http://www.pythonware.com/products/pil/)。[官网](http://pillow.readthedocs.org/en/latest/)
* hmap:图像直方图映射。[官网](https://github.com/rossgoodwin/hmap)
* imgSeek:一个使用视觉相似性搜索一组图片集合的项目。[官网](https://sourceforge.net/projects/imgseek/)
* nude.py:裸体检测。[官网](https://github.com/hhatto/nude.py)
* pyBarcode:不借助 PIL 库在 Python 程序中生成条形码。[官网](https://pythonhosted.org/pyBarcode/)
* pygram:类似 Instagram 的图像滤镜。[官网](https://github.com/ajkumar25/pygram)
* python-qrcode:一个纯 Python 实现的二维码生成器。[官网](https://github.com/lincolnloop/python-qrcode)
* Quads:基于四叉树的计算机艺术。[官网](https://github.com/fogleman/Quads)
* scikit-image:一个用于(科学)图像处理的 Python 库。[官网](http://scikit-image.org/)
* thumbor:一个小型图像服务,具有剪裁,尺寸重设和翻转功能。[官网](https://github.com/thumbor/thumbor)
* wand:[MagickWand](http://www.imagemagick.org/script/magick-wand.php)的 Python 绑定。MagickWand 是 ImageMagick 的 C API 。[官网](https://github.com/dahlia/wand)
* face_recognition:简单易用的 python 人脸识别库。[官网](https://github.com/ageitgey/face_recognition)
### OCR
光学字符识别库。
* pyocr:Tesseract 和 Cuneiform 的一个封装(wrapper)。[官网](https://github.com/jflesch/pyocr)
* [pytesseract](http://hao.importnew.com/pytesseract/):[Google Tesseract OCR](https://github.com/tesseract-ocr) 的另一个封装(wrapper)。[官网](https://github.com/madmaze/pyt ... ...
近期下载者:
相关文件:
收藏者: