{"id":13932931,"url":"https://github.com/china-testing/python-api-tesing","last_synced_at":"2025-04-14T08:52:35.576Z","repository":{"id":41086582,"uuid":"134691520","full_name":"china-testing/python-api-tesing","owner":"china-testing","description":"python测试开发库 中文版(持续更新)及书籍下载。公众号：pythontesting","archived":false,"fork":false,"pushed_at":"2023-02-18T07:36:13.000Z","size":62824,"stargazers_count":2396,"open_issues_count":5,"forks_count":886,"subscribers_count":141,"default_branch":"master","last_synced_at":"2025-04-07T01:08:44.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.jianshu.com/u/69f40328d4f0","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/china-testing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-24T09:18:14.000Z","updated_at":"2025-04-05T15:57:03.000Z","dependencies_parsed_at":"2023-02-09T10:31:29.813Z","dependency_job_id":"be7a6f4f-68fe-4149-8f8e-171a32cbdc64","html_url":"https://github.com/china-testing/python-api-tesing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/china-testing%2Fpython-api-tesing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/china-testing%2Fpython-api-tesing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/china-testing%2Fpython-api-tesing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/china-testing%2Fpython-api-tesing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/china-testing","download_url":"https://codeload.github.com/china-testing/python-api-tesing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852078,"owners_count":21171838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-07T21:01:22.668Z","updated_at":"2025-04-14T08:52:35.549Z","avatar_url":"https://github.com/china-testing.png","language":"Python","readme":"\n逐步迁移到新仓库：  [python_cn_resouce](https://github.com/china-testing/python_cn_resouce)\n\n\npython测试开发钉钉群：21745728，目前800多人，另有几千人的python测试开发微信群，可联系 钉钉或微信号 pythontesting 加群（备注：python）！\n\n * [国学 中医 历史等社科类书籍下载](https://github.com/china-testing/python-api-tesing/blob/master/society_books.md)\n * [电影 视频 下载](https://github.com/china-testing/python-api-tesing/blob/master/videos.md)\n * [IT类书籍 下载](https://github.com/china-testing/python-api-tesing/blob/master/books.md)\n \n \n * [python八字排盘库](https://github.com/china-testing/bazi)\n * 技术支持：看八字风水请联系钉钉、抖音或微信pythontesting\n * 另有飞书、微信、钉钉、抖音等提供大量免费电子书共享。 八字培训等\n\n\ntools目录：\n\n * check_face.py  从excel中读取文件，进行人脸识别\n \n * check_md5.py 多进程检查MD5值重复文件 [文档](http://blog.sciencenet.cn/blog-2604609-1105189.html)\n \n * concat_file.py 合并文件，和linux的paste命令类似\n \n * get_gaze_value.py 获取人脸识别服务器端注视的错误统计\n \n * get_live_server_result.py 获取人脸识别服务器端活体的错误统计\n \n * get_range.py 获取人脸识别的区间值\n \n * get_verify_server_result.py 获取人脸识别服务器端比对的错误统计\n \n * raw2jpg.py 转换ir,depth等raw图为jpg图\n \n * rotate.py 图像旋转\n\n * split_raw.py 切分raw图为ir,depth图\n\n\nTable of Contents\n=================\n\n   * [Table of Contents](#table-of-contents)\n   * [Python测试开发库](#python测试开发库)\n      * [参考资料](#参考资料)\n   * [测试开发](#测试开发)\n      * [Web UI测试自动化](#web-ui测试自动化)\n      * [移动测试自动化](#移动测试自动化)\n      * [Windows UI测试自动化](#windows-ui测试自动化)\n      * [UI测试](#ui测试)\n      * [性能测试](#性能测试)\n      * [渗透测试](#渗透测试)\n      * [跨语言调用](#跨语言调用)\n      * [测试框架](#测试框架)\n      * [Mock](#mock)\n      * [其他测试工具](#其他测试工具)\n      * [持续交付](#持续交付)\n      * [测试工具对接](#测试工具对接)\n   * [awesome-python](#awesome-python)\n      * [管理面板(Admin Panels)](#管理面板admin-panels)\n      * [算法和设计模式(Algorithms and Design Patterns)](#算法和设计模式algorithms-and-design-patterns)\n      * [反病毒(Anti-spam)](#反病毒anti-spam)\n      * [资产管理(Asset Management)](#资产管理asset-management)\n      * [音频(Audio)](#音频audio)\n      * [认证(Authentication)](#认证authentication)\n      * [内置类增强(Built-in Classes Enhancement)](#内置类增强built-in-classes-enhancement)\n      * [区块链(Blockchain)](#区块链blockchain)\n      * [CMS(Content Management Systems)](#cmscontent-management-systems)\n      * [缓存(Caching)](#缓存caching)\n      * [自动聊天工具(ChatOps Tools)](#自动聊天工具chatops-tools)\n      * [代码分析和lint(Code Analysis)](#代码分析和lintcode-analysis)\n      * [命令行工具(Command-line Tools)](#命令行工具command-line-tools)\n         * [命令行程序开发( Command-line Application Development)](#命令行程序开发-command-line-application-development)\n         * [生产力工具(Productivity Tools)](#生产力工具productivity-tools)\n      * [兼容性(Compatibility)](#兼容性compatibility)\n      * [计算机视觉(Computer Vision)](#计算机视觉computer-vision)\n      * [并发和并行及异步与网络(Concurrency and Parallelism)](#并发和并行及异步与网络concurrency-and-parallelism)\n      * [配置(Configuration)](#配置configuration)\n      * [加密(Cryptography)](#加密cryptography)\n      * [数据分析(Data Analysis)](#数据分析data-analysis)\n      * [数据验证(Data Validation)](#数据验证data-validation)\n      * [数据可视化(Data Visualization)](#数据可视化data-visualization)\n      * [数据库(Database)](#数据库database)\n      * [数据库驱动(Database Drivers)](#数据库驱动database-drivers)\n      * [日期和时间(Date and Time)](#日期和时间date-and-time)\n      * [调试工具(Debugging Tools)](#调试工具debugging-tools)\n      * [深度学习(Deep Learning)](#深度学习deep-learning)\n      * [DevOps工具(DevOps Tools)](#devops工具devops-tools)\n      * [分发(Distribution)](#分发distribution)\n      * [文档(Documentation)](#文档documentation)\n      * [下载器(Downloader)](#下载器downloader)\n      * [电子商务(E-commerce)](#电子商务e-commerce)\n      * [编辑器插件(Editor Plugins and IDEs)](#编辑器插件editor-plugins-and-ides)\n      * [电子邮件(Email)](#电子邮件email)\n      * [环境管理(Environment Management)](#环境管理environment-management)\n      * [文件(Files)](#文件files)\n      * [外部函数接口(Foreign Function Interface)](#外部函数接口foreign-function-interface)\n      * [表单(Forms)](#表单forms)\n      * [函数式编程(Functional Programming)](#函数式编程functional-programming)\n      * [图形用户界面(GUI)](#图形用户界面gui)\n      * [Game Development](#game-development)      \n      * [游戏开发(Game Development)](#游戏开发game-development)\n      * [地理位置(Geolocation)](#地理位置geolocation)\n      * [HTML操作(HTML Manipulation)](#html操作html-manipulation)\n      * [HTTP](#http)\n      * [硬件(Hardware)](#硬件hardware)\n      * [图像处理(Image Processing)](#图像处理image-processing)\n      * [实现(Implementations)](#实现implementations)\n      * [交互式Python解释器(Interactive Interpreter)](#交互式python解释器interactive-interpreter)\n      * [国际化](#国际化)\n      * [作业调度(Job Scheduler)](#作业调度job-scheduler)\n      * [日志(Logging)](#日志logging)\n      * [机器学习](#机器学习)\n      * [MapReduce](#mapreduce)\n      * [微软Windows](#微软windows)\n      * [杂项](#杂项)\n      * [自然语言处理(Natural Language Processing)](#自然语言处理natural-language-processing)\n      * [网络虚拟化(Network Virtualization)](#网络虚拟化network-virtualization)\n      * [网络(Networking)](#网络networking)\n         * [动态消息](#动态消息)\n      * [ORM](#orm)\n         * [关系型数据库](#关系型数据库)\n         * [NoSQL 数据库](#nosql-数据库)\n         * [其他](#其他)\n      * [包管理(Package Management)](#包管理package-management)\n      * [包仓库](#包仓库)\n      * [重构(Refactoring)](#重构Refactoring)      \n      * [RESTful API](#restful-api)\n      * [RPC服务器(RPC Servers)](#rpc服务器rpc-servers)\n      * [科学(Science)](#科学science)\n      * [搜索](#搜索)\n      * [序列化(Serialization)](#序列化serialization)\n      * [无服务器框架(Serverless Frameworks](#无服务器框架serverless-frameworks)\n      * [特殊文本格式处理(Specific Formats Processing)](#特殊文本格式处理specific-formats-processing)\n         * [通用](#通用)\n         * [Office](#office)\n         * [PDF](#pdf)\n         * [Markdown](#markdown)\n         * [YAML](#yaml)\n         * [CSV](#csv)\n      * [静态网站生成器(Static Site Generator)](#静态网站生成器static-site-generator)\n      * [标签(Tagging)](#标签tagging)\n      * [模板引擎(Template Engine)](#模板引擎template-engine)\n      * [文本处理(Text Processing)](#文本处理text-processing)\n         * [通用](#通用-1)\n         * [Slugify](#slugify)\n         * [解析器](#解析器)\n      * [第三方 API(Third-party APIs)](#第三方-apithird-party-apis)\n      * [URL处理(URL Manipulation)](#url处理url-manipulation)\n      * [Video](#video)\n      * [WSGI 服务器(WSGI Servers)](#wsgi-服务器wsgi-servers)\n      * [网页内容提取(Web Content Extracting)](#网页内容提取web-content-extracting)\n      * [网络爬虫(Web Crawling)](#网络爬虫web-crawling)\n      * [Web 框架(Web Frameworks)](#web-框架web-frameworks)\n      * [WebSocket](#websocket)\n      * [监控](#监控)\n   * [Services](#services)\n      * [Continuous Integration](#continuous-integration)\n      * [Code Quality](#code-quality)\n   * [Resources](#resources)\n      * [Podcasts](#podcasts)\n      * [Twitter](#twitter)\n      * [Websites](#websites)\n      * [Weekly](#weekly)\n         * [持续更新](#持续更新)\n      * [Websites](#websites-1)\n      * [Weekly](#weekly-1)\n\n\n# Python测试开发库\n\n## 参考资料\n\nhttps://github.com/vinta/awesome-python\n\nhttps://github.com/atinfo/awesome-test-automation\n\nhttps://westurner.github.io/wiki/awesome-python-testing\n\n\n# 测试开发\n\n\n## Web UI测试自动化\n\n * [PyAutoGUI](https://github.com/asweigart/pyautogui) - 跨平台GUI自动化Python模块。\n \n * [Schemathesis](https://github.com/kiwicom/schemathesis) - 用Open API / Swagger规范构建的Web应用程序进行基于属性的自动测试的工具。\n\n * splinter - web UI测试工具，基于selnium封装。 [链接](https://github.com/cobrateam/splinter) \n\n * selenium - web UI自动化测试。 [链接](https://github.com/SeleniumHQ/selenium/tree/master/py) --推荐 [文档参考](https://china-testing.github.io/selenium_example5.html)\n \n * mechanize- Python中有状态的程序化Web浏览。[链接](https://github.com/python-mechanize/mechanize) \n\n * pyppeteer- chrome/chromium自动化。[链接](https://github.com/miyakogi/pyppeteer) \n\n * selene - 使用Python + Ajax支持+ PageObjects + Widgets进行简明UI测试 [链接](https://github.com/yashaka/selene/) \n\n * hitch - 基于服务的应用程序的高级集成测试框架。[链接](https://github.com/hitchtest/hitch) \n\n * Needle  - Css 自动化测试框架。[链接](https://github.com/python-needle/needle) \n\n * seleniumbase - 端到端自动化测试框架。[链接](https://github.com/seleniumbase/SeleniumBase) \n\n * pytest_splinter - pytest spinter和selenium集成。 [链接](https://github.com/pytest-dev/pytest-splinter)\n\n * Browsermob Proxy - Browsermob Proxy的python包装器。 [链接](https://github.com/AutomatedTester/browsermob-proxy-py)\n\n * Selenium-Requests - 扩展Selenium WebDriver类以包含请求库中的请求函数，同时完成所有需要的cookie和请求头处理。[链接](https://github.com/cryzed/Selenium-Requests)\n\n## 移动测试自动化\n\n * appium - 移动端UI自动化测试。 [链接](https://github.com/appium/python-client) --推荐\n\n * uiautomator- 安卓UI自动化测试。 [链接](https://github.com/xiaocong/uiautomator) \n\n * ATX - 智能手机自动化工具。支持iOS，Android，WebApp和游戏。 网易出品 [链接](https://github.com/xiaocong/uiautomator) --推荐\n\n * uiautomator2- Android Uiautomator2 Python Wrapper。 [链接](https://github.com/openatx/uiautomator2) --推荐\n\n * facebook-wda Facebook WebDriverAgent Python Client Library (not official) 可用于IOS应用测试。 [链接](https://github.com/openatx/facebook-wda2) --推荐\n\n## Windows UI测试自动化\n\n * Winium.Desktop - 开源测试自动化工具，用于基于WinForms和WPF平台自动测试Windows应用程序，基于Selenium远程WebDriver实现。 [链接](https://github.com/2gis/Winium.Desktop/)\n\n * pyautogui- 跨平台的UI自动化工具，控制鼠标和键盘。 [链接](https://github.com/asweigart/pyautogui)  \n * autopy - 简单的跨平台GUI自动化工具包，适用于Python。 [链接](https://github.com/msanders/autopy) \n\n * pywinauto - Windows UI自动化。 [链接](https://github.com/pywinauto/pywinauto/) \n\n * SikuliX - sikuli的稳定长期更新版本。[链接](https://github.com/RaiMan/SikuliX1) \n \n * Python-UIAutomation-for-Windows - uiautomation封装了微软UIAutomation API，支持自动化Win32，MFC，WPF，Modern UI(Metro UI), Qt, IE, Firefox等。[链接](https://github.com/yinkaisheng/Python-UIAutomation-for-Windows)  国产\n\n\n## UI测试\n\n * pyautoacad - AutoCAD自动化。 [链接](https://github.com/reclosedev/pyautocad) \n\n * sikuli - 位图自动化。 [链接](http://www.sikuli.org) \n\n * monkeyrunner- 安卓自动化。 [链接](https://developer.android.com/studio/test/monkeyrunner/index.html) \n\n * ldtp - Linux UI自动化。 [链接](https://pypi.python.org/pypi/ldtp) \n\n * dogtail- Linux UI自动化。 [链接](https://pypi.python.org/pypi/dogtail) \n\n * pyautoit- autoit python api。 [链接](https://github.com/jacexh/pyautoit) \n\n * 雪峰磁针石说明:\n\nautopy、WATSUP、winGuiAuto因为较长时间未更新未收录\n\n## 性能测试\n\n[软件测试专家工具包2性能测试](https://china-testing.github.io/testing_tools_perf.html) https://china-testing.github.io/testing_tools_perf.html\n\n * funkload - 性能及功能测试工具。 [链接](http://funkload.nuxeo.org/) --推荐\n\n * [**Locust.io**](http://locust.io/) – 了解服务器端性能的好工具。 语言python3。[源码](https://github.com/locustio/locust) python3+ python2.7+ github上star和fork最多的性能测试工具。 --强烈推荐\n\n * [**Bees with Machine Guns**](https://github.com/newsapps/beeswithmachineguns) – 进行负载测试的蜜蜂(微型EC2实例)。  语言python3+ python2.6+ --强烈推荐\n\n * [**Multi-Mechanize**](https://github.com/cgoldberg/multi-mechanize) – 用于性能和负载测试的开源框架，它运行并发Python脚本以生成针对远程站点或服务的负载(复合事务)。它通常用于Web性能和扩展性测试，但您也可以使用Multi-Mechanize来测试任何远程API。 --基于python多进程和多线程实现，学习自行开发性能测试的佳品。 Python 2.6 or 2.7 较长时间没有更新，一般只建议改造使用。\n\n * ngrinder - 市面上最强大的性能测试工具之一，主要用jython书写脚本，性能在loadrunner和jmeter之上，扩展性好。 [链接](https://github.com/naver/ngrinder) --强烈推荐\n\n * boom - 类似ab(ApacheBench)的性能测试工具。 [链接](https://github.com/tarekziade/boom) \n \n## 渗透测试\n \n* [fsociety](https://github.com/Manisso/fsociety) - 一个渗透测试框架。\n* [setoolkit](https://github.com/trustedsec/social-engineer-toolkit) - 用于社会工程的工具箱。\n* [sqlmap](https://github.com/sqlmapproject/sqlmap) - 自动SQL注入和数据库接管的工具。\n\n## 跨语言调用\n\n * [python库介绍-jpype：python到java桥](https://china-testing.github.io/python3_lib_jpype1.html)\n * [python库介绍-pyjnius：访问java类](https://china-testing.github.io/python3_lib_pyjniu.html)\n * [python3外部库boost介绍 用c++为python编写扩展](https://china-testing.github.io/python3_lib_boost.html) \n * [PyExecJS](https://github.com/doloopwhile/PyExecJS) 执行JavaScript代码。\n * [C++11和Python桥](https://github.com/pybind/pybind11) \n \n\n## 测试框架\n\n * [pyresttest](https://github.com/svanoort/pyresttest) 接口测试框架 -- 推荐 \n \n  * [HttpRunner](https://github.com/HttpRunner/HttpRunner) HTTP接口测试框架 -- 推荐 \n \n * [augmented-traffic-control](https://github.com/facebook/augmented-traffic-control) facebook开发的最强悍弱网网络模拟工具 --强烈推荐\n\n * Hypothesis - 高级单元测试测试框架，支持行为驱动，基于property 。 [链接](https://github.com/HypothesisWorks/hypothesis-python) -- 推荐 \n\n * unittest - (Python 标准库) 单元测试框架 [链接](https://docs.python.org/2/library/unittest.html) -- 推荐 \n\n * mamba  - 行为驱动测试框架。 [链接](https://github.com/nestorsalceda/mamba) \n\n * nose- 更好的单元测试框架。 [链接](https://github.com/nose-devs/nose) -- 推荐 \n\n * nose2- nose基于unittest2的版本。 [链接](https://github.com/nose-devs/nose2) \n\n * pytest- 很好的强大的单元测试框架，实际上广泛使用在自动化单元、接口、功能等测试。 [链接](https://github.com/pytest-dev/pytest) -- 强烈推荐  [参考](https://china-testing.github.io/python_pytest_testing1.html)\n\n * testify - 单元测试框架，提供增强的测试fixture设置，将测试套件拆分成易于并行化的存储bucket，PEP8命名约定，带有大量日志/报告选项及颜色测试运行器。[链接](https://github.com/Yelp/Testify/) \n\n * trial - Twisted的单元测试框架，基于unittest。[链接](http://twistedmatrix.com/trac/wiki/TwistedTrial) \n\n * Robot Framework- 通用的python测试框架，易于上手，生成的报告比较好看，适合小型公司使用，支持关键字和数据等驱动，系业界内很出名的框架。不过因为写用例不能很灵活的应用python，需要大量的python封装，大公司通常使用pytest，django，flask之类的库自行开发。 [链接](https://github.com/robotframework/robotframework) \n \n * macaca - Macaca 是一套面向用户端软件的测试解决方案，提供了自动化驱动，环境配套，周边工具，集成方案，旨在解决终端上的测试、自动化、性能等方面的问题。 [链接](https://github.com/alibaba/macaca/blob/master/README.zh.md) \n\n * green- 彩色(命令行能显示多种颜色)的单元测试框架。 [链接](https://github.com/CleanCut/green) \n\n * tox- 基于virtualenv的测试框架，主要用于解决多版本python问题。 [链接](https://github.com/tox-dev/tox) \n\n * sixpack- A/B 测试框架。 [链接](https://github.com/sixpack/sixpack) \n\n * lettuce- 行为驱动 测试框架。 [链接](https://github.com/gabrielfalcao/lettuce) \n\n * pyccuracy- 行为驱动 web验收测试框架。 [链接](https://github.com/heynemann/pyccuracy) \n\n * pytest-bdd- 基于pytest的行为驱动 测试框架。 [链接](https://github.com/pytest-dev/pytest-bdd) \n \n * pytest-html- pytest生成html插件。 [链接](https://github.com/pytest-dev/pytest-html/)  \n\n * ddt- 数据驱动测试。 [链接](https://github.com/txels/ddt) \n\n * behave- 行为驱动测试。 [链接](https://github.com/behave/behave) \n\n * lettuce- 行为驱动测试。 [链接](https://github.com/gabrielfalcao/lettuce) \n\n * mamba - Python的测试定义工具，基于行为驱动。[链接](https://github.com/nestorsalceda/mamba) \n\n * pyvows - Python的异步行为驱动开发，Vows.js的python移植。[链接](https://github.com/heynemann/pyvows) \n\n * pyhamcrest - Python的Hamcrest匹配器。 [链接](https://github.com/hamcrest/PyHamcrest) \n\n * sure - 强大而灵活的断言python测试库。[链接](https://github.com/gabrielfalcao/sure) \n\n * factory_boy - 基于thinkbot的factory_girl的fixture替代。[链接](https://github.com/FactoryBoy/factory_boy) \n\n\n## Mock\n\n * doublex：强大的测试桩框架。[链接](https://bitbucket.org/DavidVilla/python-doublex) \n\n * mock：(Python3 标准库) mock和patch。[链接](https://docs.python.org/3/library/unittest.mock.html) \n\n * freezegun：伪造时间。[链接]https://github.com/spulec/freezegun) \n\n * httmock：Python 2.7+ 和 3.4+ mock requests库。[链接](https://github.com/patrys/httmock) \n\n * httpretty：Python 的 HTTP 请求 客户端mock 工具，暂时不支持python3。[链接](https://github.com/tox-dev/tox) \n\n * responses：针对requests 库的mock库。[链接](https://github.com/getsentry/responses) \n\n * VCR.py：录制HTTP请求加快测试执行速度并可进行mock。[链接](https://github.com/kevin1024/vcrpy) -- 推荐 \n\n * factoryboy：Python测试fixtures(setup和teardown)替代库。[链接](https://github.com/FactoryBoy/factory_boy) \n\n * mixer：另外一个测试fixtures(setup和teardown)替代库，支持 Django, Flask, SQLAlchemy, Peewee 等。[链接](https://github.com/klen/mixer) \n\n * modelmommy：为 Django测试创建随机fixtures [链接](https://github.com/vandersonmota/model_mommy) \n\n * faker：生成多种伪数据。[链接](https://github.com/joke2k/faker) \n\n * fake2db：伪造数据库生成器。[链接](https://github.com/emirozer/fake2db) \n\n * mimesis：生成mock数据。[链接]https://github.com/lk-geimfari/mimesis) \n\n * 雪峰磁针石说明:\n\nradar 因为github星级太少而未收录 最近版本参见原文：https://github.com/china-testing/python-api-tesing\n\n## 其他测试工具\n\n * coverage：代码覆盖率。[链接](https://bitbucket.org/ned/coveragepy) \n\n * FuckIt.py：代码出错也可以执行。[链接](https://github.com/ajalt/fuckitpy) \n\n  * RoboBrowser：一个简单的，Python 风格的库，用来浏览网站，而不需要一个独立安装的浏览器。[链接](https://github.com/jmcarp/robobrowser) \n\n  * MechanicalSoup：用于自动和网络站点交互的 Python 库。[链接](https://github.com/MechanicalSoup/MechanicalSoup) \n\n  * augmented-traffic-control：网络模拟工具。[链接](https://github.com/facebook/augmented-traffic-control) -- 强烈推荐 \n\n\n\n## 持续交付\n\n * buildbot - google等公司使用的持续集成框架，上手比Jenkins难，功能和性能远比Jenkins强大。 [链接](https://github.com/buildbot/buildbot/) [python库介绍-buildbot教程](https://china-testing.github.io/python3_lib_buildbot.html)\n\n * BitBake – 嵌入式Linux上类似make工具。[链接](http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html)\n\n * buildout – 用于从多个部分创建，组装和部署应用程序的构建系统。[链接](hhttps://github.com/buildout/buildout/blob/master/doc/index.rst)\n\n * PlatformIO – 在不同的开发平台的控制台构建工具。[链接](https://github.com/platformio/platformio-core)\n\n * PyBuilder – 纯Python编写的持续构建工具。[链接](https://github.com/buildbot/buildbot/)\n\n * SCons – 软件构建工具。[链接](https://github.com/SCons/scons)\n \n * jenkinsapi – Hudson \u0026 Jenkins python API。[链接](https://github.com/pycontribs/jenkinsapi)\n \n\n## 测试工具对接\n\n * jira –自动化JIRA。[链接](https://github.com/pycontribs/jira)\n\n# awesome-python\n\n## 管理面板(Admin Panels)\n\n\n * Ajenti - Linux \u0026 BSD web管理面板。管理进程和文件等。 [链接](https://github.com/ajenti/ajenti) \n\n * django-suit - 现代主题的Django管理界面(仅限非商业用途)。[链接](https://github.com/darklow/django-suit) \n\n * django-xadmin -  方便的Django admin替代。 完全支持插件扩展，基于 Twitter Bootstrap，并有站内书签、支持 xls, csv, xml和json数据导入等不少增强。 [链接](https://github.com/sshwsfc/xadmin) \n\n * [jet-bridge](https://github.com/jet-admin/jet-bridge) - 管理面板框架，适用于任何具有良好用户界面的应用程序（例如Jet Django）\n\n * flask-admin - Flask的简单和可扩展的 web 管理界面框架。  [链接](https://github.com/flask-admin/flask-admin) \n\n * flower  - Celery的实时监控和网络。 [链接](https://github.com/flask-admin/flask-admin) \n\n * Grappelli - Django管理界面的爵士皮肤。[链接]https://github.com/sehmaschine/django-grappelli) \n\n * Wooey - 为Python脚本创建自动Web UI的Django应用程序。 [链接](https://github.com/wooey/wooey) \n\n## 算法和设计模式(Algorithms and Design Patterns)\n\nPython的算法和设计模式的实现。\n\n * algorithms - Python的算法模块。 [链接](https://github.com/keon/algorithms)\n \n * PyPattyrn - 简单有效实现通用设计模式。 [链接](https://github.com/tylerlaberge/PyPattyrn) \n\n * python-patterns - Python中设计模式的集合。 [链接](https://github.com/faif/python-patterns) \n\n * sortedcontainers - SortedList，SortedDict和SortedSet类型的快速，纯Python实现。 [链接](https://github.com/grantjenks/sorted_containers/) \n\n\n\n## 反病毒(Anti-spam)\n\n * django-simple-captcha - 简单且高度可定制的Django应用，可以将验证码图像添加到任何Django表单。 [链接](https://github.com/mbi/django-simple-captcha) \n\n * 雪峰磁针石说明:\n\ndjango-simple-spam-blocker因为github星级太少而未收录  最近版本参见原文：https://github.com/china-testing/python-api-tesing\n\n\n## 资产管理(Asset Management)\n\n用于管理，压缩和缩小网站资产的工具。\n\n * django-compressor - 将链接和内联的JavaScript或CSS压缩到单个缓存文件中。 [链接](https://github.com/django-compressor/django-compressor) \n\n * django-pipeline - Django的资产包装库。 [链接](https://github.com/jazzband/django-pipeline) \n\n * django-storages - Django自定义存储后端集。 [链接](https://github.com/jschneier/django-storages) \n\n * fanstatic - 用 Python 的包的方式封装，优化静态文件并解依赖。 [链接](http://www.fanstatic.org/en/latest/intro.html) \n\n * fileconveyor - 检测和同步文件到CDN，S3和FTP的后台程序。 [链接](https://github.com/wimleers/fileconveyor) \n\n * flask-assets - 集成web 资源到Flask应用。 [链接](https://github.com/faif/python-patterns) \n\n * jinja-assets-compressor - Jinja扩展程序，用于编译和压缩资源。 [链接](https://github.com/faif/python-patterns)  -- github星级不到100.\n\n * webassets - 为静态资源打包，优化和管理基于缓存的唯一URL。 [链接](https://github.com/miracle2k/webassets) \n\n\n\n## 音频(Audio)\n\n操作音频的库。\n\n * audiolazy -  数字信号处理(DSP)软件包。 [链接](https://github.com/danilobellini/audiolazy) \n\n * audioread - 跨库(GStreamer +Core Audio+ MAD + FFmpeg)音频解码。[链接](https://github.com/beetbox/audioread) \n\n * beets - 音乐库管理和MusicBrainzb标签。[链接](https://github.com/beetbox/beets)  -- 推荐\n\n * dejavu - 音频指纹识别。[链接](https://github.com/worldveil/dejavu) -- 推荐\n\n * id3reader - 用于读取MP3元数据的Python模块。[链接](https://nedbatchelder.com/code/modules/id3reader.py) \n\n * m3u8 - 解析m3u8文件的模块。[链接](https://github.com/globocom/m3u8) \n\n * mingus - 先进的音乐理论和MIDI文件和播放支持符号包。[链接](https://github.com/bspaans/python-mingus) \n\n * mutagen - 用于处理音频元数据的Python模块。[链接](https://github.com/quodlibet/mutagen) \n\n * pyAudioAnalysis - Python音频分析库：特征提取，分类，分割和应用。[链接](https://github.com/tyiannak/pyAudioAnalysis)  -- 推荐\n\n * pydub - 通过简单易用的高级界面处理音频。[链接](https://github.com/jiaaro/pydub) -- 推荐\n\n * pyechonest - Echo Nest API的Python客户端。[链接](https://github.com/echonest/pyechonest) \n\n * talkbox - 用于语音/信号处理的Python库。[链接](https://github.com/miracle2k/webassets) \n\n * TimeSide - 开放的Web音频处理框架。[链接](https://github.com/Parisson/TimeSide) \n\n * tinytag - 用于读取MP3，OGG，FLAC和Wave文件的音乐元数据的库。[链接](https://github.com/devsnd/tinytag) \n\n * 雪峰磁针石说明:\n\ndjango-elastic-transcoder， eyeD3 因为github星级太少而未收录 \n\nscikits.talkbox 因长时间未更新未收录 最近版本参见原文：https://github.com/china-testing/python-api-tesing\n\n\n## 认证(Authentication)\n\n * Authomatic：简单但是强大的框架，身份验证/授权客户端。[链接](https://github.com/authomatic/authomatic) \n\n * django-allauth：Django 的验证应用。[链接](https://github.com/pennersr/django-allauth) \n\n * django-oauth-toolkit： Django OAuth2。[链接](https://github.com/evonove/django-oauth-toolkit) \n\n * django-oauth2-provider：Django OAuth2。[链接](https://github.com/caffeinehit/django-oauth2-provider) \n\n * Flask-OAuthlib： Flask OAuthlib 。[链接](https://github.com/lepture/flask-oauthlib) \n\n * OAuthLib： 通用完整的实现OAuth请求-签名逻辑。[链接](https://github.com/idan/oauthlib) \n\n * python-oauth2：创建 OAuth 客户端和服务端完全测试的抽象接口。[链接](https://github.com/joestump/python-oauth2) \n\n * python-social-auth：设置简单的社交认证。[链接](https://github.com/python-social-auth/social-core) \n\n * rauth：OAuth 1.0/a, 2.0, 和 Ofly。[链接](https://github.com/litl/rauth) \n\n * sanction：一个超级简单的OAuth2 客户端实现。[链接](https://github.com/demianbrecht/sanction) \n\n * PyJWT：JSON Web 令牌python实现。[链接](https://github.com/jpadilla/pyjwt) \n\n * python-jwt：生成和验证 JSON Web 令牌。[链接](https://github.com/davedoesdev/python-jwt) \n\n\n * 雪峰磁针石说明:\n\njose，python-jws因为github星级太少而未收录\n\nscikits.talkbox 因长时间未更新未收录\n\n## 内置类增强(Built-in Classes Enhancement)\n\n* [dataclasses](https://docs.python.org/3/library/dataclasses.html) - (Python standard library) Data classes.\n* [attrs](https://github.com/python-attrs/attrs) - 替换类定义中的__init__，__eq__，__repr__等样板文件。\n* [bidict](https://github.com/jab/bidict) - 高效的双向字典。\n* [Box](https://github.com/cdgriffith/Box) - 点符号访问的Python字典\n\n## 区块链(Blockchain)\n\n* [blockchain](https://github.com/dvf/blockchain) - 简单的区块链。\n* [bidict](https://github.com/jab/bidict) - 高效的双向字典。\n* [Box](https://github.com/cdgriffith/Box) - 点符号访问的Python字典\n\n## CMS(Content Management Systems)\n\n内容管理系统\n\n * django-cms：开源的，基于Django的企业级 CMS。[链接](https://www.django-cms.org/en/) \n\n * djedi-cms：轻量级但却非常强大的 Django CMS ，考虑到了插件，内联编辑以及性能。[链接]http://djedi-cms.org/) \n\n * FeinCMS：基于 Django 构建的最先进的内容管理系统之一。[链接](https://github.com/feincms/feincms/) \n\n * Kotti：高层的的web应用框架，基于 Pyramid 构建。[链接](https://github.com/Kotti/Kotti) \n\n * Mezzanine：强大的，一致的，灵活的内容管理平台。[链接](https://github.com/stephenmcd/mezzanine)  -- 推荐\n\n * Opps：杂志，报纸网站以及大流量门户网站设计的 CMS 平台，基于 Django。[链接]https://github.com/opps/opps) \n\n * Plone：构建于开源应用服务器 Zope 之上的 CMS。[链接](https://plone.org/) \n\n * Quokka：灵活，可扩展的小型 CMS，基于 Flask 和 MongoDB。[链接](https://github.com/quokkaproject/quokka)\n \n * Wagtail：Django 内容管理系统。[链接](https://github.com/wagtail/wagtail) -- 推荐\n\n * Widgy： CMS 框架，基于 Django。[链接](https://wid.gy/) \n\n\n\n## 缓存(Caching)\n\n缓存数据的库。\n\n * Beaker：缓存和会话库，可以用在 web 应用和独立 Python脚本和应用上。[链接](https://github.com/bbangert/beaker) \n\n * DiskCache：Python磁盘缓存(Django兼容)。。[链接](https://github.com/grantjenks/python-diskcache/) \n\n * django-cache-machine：Django 模型的自动缓存和失效。[链接](https://github.com/django-cache-machine/django-cache-machine) \n\n * django-cacheops：具有自动颗粒化事件驱动失效功能的 ORM。[链接](https://github.com/Suor/django-cacheops) \n\n * dogpile.cache：dogpile.cache 是 Beaker 的替代，由同一作者开发。[链接](http://dogpilecache.readthedocs.io/en/latest/) \n\n * HermesCache：Python 缓存库，具有基于标签的失效和 dogpile effect 保护功能。[链接](https://bitbucket.org/saaj/hermes/) \n\n * johnny-cache：django应用缓存框架。[链接]https://github.com/jmoiron/johnny-cache) \n\n * pylibmc：libmemcached 接口的 Python 封装。[链接](https://github.com/lericson/pylibmc) \n\n * 雪峰磁针石说明:\n\ndjango-viewlet因为github星级太少而未收录\n\n## 自动聊天工具(ChatOps Tools)\n\n * Errbot：最简单和最流行的聊天机器人用来实现自动聊天工具。[链接](https://github.com/errbotio/errbot/) \n\n\n## 代码分析和lint(Code Analysis)\n\n  * 代码分析\n\n    * coala：语言独立和易于扩展的代码分析应用程序。[coala](https://github.com/coala/coala/)\n    * code2flow：把你的 Python 和 JavaScript 代码转换为流程图。暂时无法继续维护。[链接](https://github.com/scottrogowski/code2flow) \n    * prospector - 分析Python代码并输出有关错误，潜在问题，违反常规和复杂性的信息的工具。[prospector](https://github.com/PyCQA/prospector) \n    * pycallgraph：这个库可以把你的Python 应用的流程(调用图)进行可视化。[链接](https://github.com/gak/pycallgraph) \n    * [vulture](https://github.com/jendrikseipp/vulture) - 死代码分析.\n    * [gprof2dot](https://github.com/jrfonseca/gprof2dot) - 转换profiling为图形.    \n    * [objgraph](https://github.com/mgedmin/objgraph) - python对象图.     \n    * [mccabe](https://github.com/pycqa/mccabe) - McCabe复杂度检查.         \n \n  * 代码Linters\n      \n    * Flake8：模块化源码检查工具: pycodestyle, pyflakes 以及 McCabe的封装。[链接](https://gitlab.com/pycqa/flake8) \n      * [awesome-flake8-extensions](https://github.com/DmytroLitvinov/awesome-flake8-extensions)\n    * pylama：python和JavaScript代码审计。[链接](https://github.com/klen/pylama) \n    * Pylint：完全可定制的源码分析器。[链接](https://github.com/PyCQA/pylint)     \n    * [wemake-python-styleguide](https://github.com/wemake-services/wemake-python-styleguide) - 有史以来最严格和最有主见的Python linter. \n    \n  * 代码格式化    \n    * pep8 ：python风格检查。[链接](https://github.com/PyCQA/pycodestyle) --推荐  \n    * autopep8：自动格式化 Python 代码，以使其符合 PEP8 规范。[链接](https://github.com/hhatto/autopep8) --推荐  \n    * [black](https://github.com/python/black) - 不折不扣的Python代码格式化器。\n    * [isort](https://github.com/timothycrosley/isort) - 对import进行排序的Python工具/库。\n    * [yapf](https://github.com/google/yapf) - 来自Google的Python代码格式化器。    \n\n  * 静态类型检查 [awesome-python-typing](https://github.com/typeddjango/awesome-python-typing)\n  \n    * mypy ：静态类型检查。[链接](https://github.com/python/mypy) --推荐\n    * [pyre-check](https://github.com/facebook/pyre-check) - 执行类型检查\n    * [typeshed](https://github.com/python/typeshed) - 类型注释。\n    \n  * 静态类型注释生成器\n    * [MonkeyType](https://github.com/Instagram/MonkeyType) - 通过收集运行时类型生成静态类型注释。\n    * [pytype](https://github.com/google/pytype) - Pytype检查和推断Python代码的类型 - 不需要类型注释。    \n \n\n\n## 命令行工具(Command-line Tools)\n\n### 命令行程序开发( Command-line Application Development)\n\n * [alive-progress](https://github.com/rsalmei/alive-progress) - 一种新的进度条，具有实时吞吐量、等值和非常酷的动画效果。\n\n * asciimatics：跨平台，全屏终端包(即鼠标/键盘输入和彩色，定位文本输出)，完整的复杂动画和特殊效果的高级API。[链接](https://github.com/peterbrittain/asciimatics) \n\n * cement：Python 的命令行程序框架。[链接](https://github.com/datafolklabs/cement/) \n\n * click：一个通过组合的方式来创建精美命令行界面的包。[链接](https://github.com/pallets/click) --推荐\n\n * cliff：一个用于创建命令行程序的框架，可以创建具有多层命令的命令行程序。[链接](https://git.openstack.org/cgit/openstack/cliff) \n\n * colorama：跨平台彩色终端文本。[链接](https://github.com/tartley/colorama) \n \n * [tqdm](https://github.com/tqdm/tqdm) - 用于循环和CLI的快速、可扩展的进度条。\n\n * docopt：Python 风格的命令行参数解析器。[链接](https://github.com/docopt/docopt) --推荐\n\n * Gooey：一条命令，将命令行程序变成一个 GUI 程序。[链接](https://github.com/chriskiehl/Gooey) \n\n * Python-Fire：将命令行程序变成一个 GUI 程序。[链接](https://github.com/google/python-fire) --推荐\n\n * python-prompt-toolkit：构建强大的交互式命令行程序的库。[链接](https://github.com/jonathanslenders/python-prompt-toolkit) --推荐\n\n * Pythonpy：在命令行中直接执行任何Python指令。[链接](https://github.com/Russell91/pythonpy) \n\n### 生产力工具(Productivity Tools)\n\n * aws-cli：Amazon Web Services 的通用命令行界面。[链接](https://github.com/aws/aws-cli) \n\n * bashplotlib：在终端中进行基本绘图。[链接](https://github.com/glamp/bashplotlib) \n\n * caniusepython3：判断是哪个项目妨碍你你移植到 Python 3。[链接](https://github.com/brettcannon/caniusepython3) \n \n * [copyer](https://github.com/pykong/copier) - 用于渲染项目模板的库和命令行工具。\n\n * cookiecutter：从 cookiecutters(项目模板)创建项目的一个命令行工具。[链接](https://github.com/brettcannon/caniusepython3) \n\n * doitlive：一个用来在终端中进行现场演示的工具。[链接](https://github.com/sloria/doitlive) \n\n * howdoi：通过命令行获取即时的编程问题解答。[链接](https://github.com/gleitz/howdoi) --推荐\n\n * httpie：命令行HTTP 客户端，cURL 的替代品，易用性更好。[链接](https://github.com/jakubroztocil/httpie) \n\n * PathPicker：从bash输出中选出文件。[链接](https://github.com/facebook/PathPicker) \n\n * percol：向UNIX shell 传统管道概念中加入交互式选择功能。[链接](https://github.com/mooz/percol) \n\n * SAWS：一个加强版的 AWS 命令行。[链接](https://github.com/donnemartin/saws) \n\n * thefuck：修正你之前的命令行指令。[链接](https://github.com/nvbn/thefuck) \n\n * mycli：一个 MySQL 命令行客户端，具有自动补全和语法高亮功能。[链接](https://github.com/dbcli/mycli) --推荐\n\n * pgcli：Postgres 命令行工具，具有自动补全和语法高亮功能。[链接](https://github.com/dbcli/pgcli) --推荐\n\n * try：很简单的命令行工具，用来试用python库。[链接](https://github.com/timofurrer/try) \n\n## 兼容性(Compatibility)\n\n帮助从 Python 2 向 Python 3迁移的库。\n\n * Python-Future：这就是 Python 2 和 Python 3 之间丢失的那个兼容性层。[链接](https://github.com/PythonCharmers/python-future) \n\n * Python-Modernize：使 Python 代码更加现代化以便最终迁移到 Python 3。[链接]https://github.com/mitsuhiko/python-modernize) \n\n * Six：Python 2 和 3 的兼容性工具。[链接](https://github.com/benjaminp/six) \n\n## 计算机视觉(Computer Vision)\n\n计算机视觉库。\n\n\n * [EasyOCR](https://github.com/JaidedAI/EasyOCR) - 即用型OCR，支持40多种语言。\n * [Face Recognition](https://github.com/ageitgey/face_recognition) - 简单的面部识别库。\n * [Kornia](https://github.com/arraiyopensource/kornia/) - Kornia是用于PyTorch的可微分计算机视觉库。\n * OpenCV：开源计算机视觉库。[链接](https://opencv.org/) \n \n [2018最佳人工智能图像处理工具OpenCV书籍下载](https://www.jianshu.com/p/62a32f108341)\n\n * pyocr：Tesseract 和 Cuneiform 的包装库。[链接](https://github.com/openpaperwork/pyocr) \n\n * pytesseract：Google Tesseract OCR 的另一包装库。[链接](https://github.com/madmaze/pytesseract) [文档](https://china-testing.github.io/python3_lib_pytesseract.html)\n\n * SimpleCV：一个用来创建计算机视觉应用的开源框架。[链接](https://github.com/sightmachine/SimpleCV) \n \n * [tesserocr](https://github.com/sirfz/tesserocr) - 另一个简单的、对Pillow友好的、围绕OCR的`tesseract-ocr` API的包装器。 \n\n## 并发和并行及异步与网络(Concurrency and Parallelism)\n\n用以进行并发和并行操作的库。\n\n * multiprocessing：(Python 标准库) 基于进程的“线程”接口。[链接](https://docs.python.org/2/library/multiprocessing.html)   --推荐\n\n * threading：(Python 标准库)更高层的线程接口。 [链接](https://docs.python.org/2/library/threading.html)　--推荐\n\n * eventlet：支持 WSGI 的异步框架。[链接](https://github.com/eventlet/eventlet/)\n\n * gevent：一个基于协程的 Python 网络库，使用greenlet。[链接](https://github.com/gevent/gevent)　--推荐\n\n * Tomorrow：用于产生异步代码的神奇的装饰器语法实现。 [链接](https://github.com/madisonmay/Tomorrow)　\n\n * uvloop：在libuv之上超快速实现asyncio事件循环。[链接](https://github.com/MagicStack/uvloop)　--推荐\n\n * asyncio - (Python 标准库) 异步 I/O, 事件循环, 协程以及任务 [链接](https://docs.python.org/3/library/asyncio.html)　--推荐\n\n * aiohttp 异步http client/server框架(asyncio) [链接](https://github.com/aio-libs/aiohttp) --推荐\n\n * curio 协程并发库. [链接](https://github.com/dabeaz/curio)\n\n * pulsar - 事件驱动的并发框架. [链接](https://github.com/quantmind/pulsar)\n\n * pyzmq -  ZeroMQ 消息库的 Python 封装. [链接](https://github.com/zeromq/pyzmq/blob/master/docs/source/index.rst)\n\n * Twisted - 事件驱动的网络引擎. 和asyncio有很多类似的地方，逐渐被代替,需要数据库等相关生态圈的支持 [链接](https://github.com/twisted/twisted)\n\n * diesel - 基于Greenlet 的事件 I/O 框架。. [链接](https://github.com/dieseldev/diesel)\n\n * Tornado - web 框架和异步网络库. [链接](https://github.com/tornadoweb/tornado/blob/master/docs/index.rst)\n\n * Trio – 异步I/O [链接](https://github.com/python-trio/trio) 可能会飙升\n\n * NAPALM - 处理网络设备的跨供应API. [链接](https://github.com/napalm-automation/napalm)\n\n * txZMQ - 基于 Twisted 的 ZeroMQ 消息库的 Python 封装。[链接](https://github.com/smira/txZMQ)\n\n## 配置(Configuration)\n\n用来保存和解析配置的库。\n\n * config：logging 模块作者写的分级配置模块。[链接](https://pypi.python.org/pypi/config) -- 较长时间未更新\n\n * ConfigObj：INI 文件解析器，带验证功能。[链接](https://github.com/DiffSK/configobj)\n\n * ConfigParser：(Python 标准库) INI 文件解析器。[链接](https://docs.python.org/2/library/configparser.html)\n\n * profig：通过值转换配置多种格式。[链接](https://bitbucket.org/dhagrow/profig/)\n\n * python-decouple：将设置和代码完全隔离。[链接](https://github.com/henriquebastos/python-decouple)\n\n\n## 加密(Cryptography)\n\n * cryptography：这个软件包意在提供密码学基本内容和方法提供给 Python 开发者。[链接](https://github.com/pyca/cryptography/blob/master/docs/index.rst)\n\n * Paramiko：SSHv2 协议的 Python (2.6+, 3.3+) ，提供客户端和服务端的功能。[链接](https://github.com/paramiko/paramiko/) -- 推荐\n\n * Passlib：安全密码存储／哈希库，[链接](https://bitbucket.org/ecollins/passlib/overview)\n\n * PyCrypto：Python 密码学工具箱。[链接](https://github.com/dlitz/pycrypto)\n\n * PyNacl：网络和密码学(NaCl) 库的 Python 绑定。[链接](https://github.com/pyca/pynacl)\n\n## 数据分析(Data Analysis)\n\n * blaze：NumPy 和 Pandas 的大数据接口。[链接](https://github.com/blaze/blaze)\n\n * Open Mining：使用 Python 挖掘商业情报 (BI) (Pandas web 接口)。[链接](https://github.com/mining/mining)\n\n * orange：通过可视化编程或 Python 脚本进行数据挖掘，数据可视化，分析和机器学习。[链接](https://github.com/biolab/orange3)\n\n * Pandas：提供高性能，易用的数据结构和数据分析工具。[链接](https://github.com/pandas-dev/pandas) --强烈推荐\n\n * [facets](https://github.com/PAIR-code/facets) 机器学习数据集可视化　--推荐\n\n * 书籍：利用Python进行数据分析 2017 第二版 代码 [链接](https://github.com/wesm/pydata-book)  --推荐\n \n * [利用Python进行数据分析·第2版](https://www.jianshu.com/p/ac7bec000dad) --推荐\n\n\n \n\n## 数据验证(Data Validation)\n\n数据验证库。多用于表单验证。\n\n\n * Cerberus： 轻量级可扩展的数据验证库.[链接](https://github.com/pyeve/cerberus/)\n\n * colander：验证并反序列化XML、JSON、HTML表单获取的数据。[链接](https://github.com/Pylons/colander/blob/master/docs/index.rst)\n\n * jsonschema：json模式的实现。[链接](https://github.com/Julian/jsonschema)\n\n * kmatch：一种用于匹配/验证/筛选 Python 字典的语言。[链接]()\n\n * schema：一个用于对 Python 数据结构进行验证的库。[链接]()\n\n * Schematics：人性化的python数据结构。[链接](https://github.com/schematics/schematics)\n\n * valideer：轻量级可扩展的数据验证和适配库。[链接](https://github.com/podio/valideer)\n\n * voluptuous：Python 数据验证库。主要是为了验证传入 Python的 JSON，YAML 等数据。[链接](https://github.com/alecthomas/voluptuous)\n\n## 数据可视化(Data Visualization)\n\n进行数据可视化的库。 参见: [awesome-javascript](https://github.com/sorrycc/awesome-javascript#data-visualization)。\n\n \n * matplotlib：Python 2D 绘图库。[链接](https://github.com/matplotlib/matplotlib) --推荐\n\n * bokeh：用Python进行交互式web绘图。[链接](https://github.com/bokeh/bokeh) --推荐 [英文快速入门](http://bokeh.pydata.org/en/latest/docs/user_guide/quickstart.html) [中文快速入门](https://github.com/DonaldDai/Bokeh-CN) \n \n * [plotnine](https://github.com/has2k1/plotnine) - ggplot的 Python移植  -荐\n \n * [Dash](https://plot.ly/dash/)  - 基于Flask，React和Plotly， 针对分析Web应用程序。\n\n    [awesome-dash](https://github.com/ucg8j/awesome-dash)\n\n * plotly：交互式基于浏览器的绘图。[链接](https://github.com/plotly/plotly.py)\n\n * pyecharts：基于百度 Echarts 的数据可视化库。[链接](https://github.com/pyecharts/pyecharts) -荐\n\n * pygal：Python SVG 图表创建工具。[链接](https://github.com/Kozea/pygal/blob/master/docs/index.rst)\n\n * pygraphviz：Graphviz 的 Python 接口。[链接](https://github.com/pygraphviz/pygraphviz)\n\n * PyQtGraph：交互式实时 2D/3D/ 图像绘制及科学/工程学组件。[链接](https://github.com/pyqtgraph/pyqtgraph)\n\n * SnakeViz：基于浏览器的 Python cProfile 模块输出结果查看工具。[链接](https://github.com/jiffyclub/snakeviz/)\n\n * vincent：把 Python 转换为 Vega 语法的转换工具。[链接](https://github.com/wrobstory/vincent)\n\n * VisPy：基于 OpenGL 的高性能科学可视化工具。[链接](https://github.com/vispy/vispy)\n\n * Altair - 用于Python的声明式统计可视化库。[链接](https://github.com/altair-viz/altair)\n\n * bqplot - Jupyter Notebook的互动绘图库。[链接](https://github.com/bloomberg/bqplot)\n \n * [Cartopy](https://github.com/SciTools/cartopy) - 支持matplotlib的地图学python库。\n\n * Seaborn - 使用Matplotlib进行统计数据可视化。[链接](https://github.com/mwaskom/seaborn) -荐\n\n * [plotly.py](https://github.com/plotly/plotly.py) 交互式基于浏览器的绘图 -荐\n\n [A Dramatic Tour through Python’s Data Visualization Landscape (including ggplot and Altair)](https://dsaber.com/2016/10/02/a-dramatic-tour-through-pythons-data-visualization-landscape-including-ggplot-and-altair/)\n\n [Python data visualization: Comparing 7 tools](https://www.dataquest.io/blog/python-data-visualization-libraries/) \n\n [10 Useful Python Data Visualization Libraries for Any Discipline](https://blog.modeanalytics.com/python-data-visualization-libraries/) \n\n [Overview of Python Visualization Tools](http://pbpython.com/visualization-tools-1.html)\n\n [Effectively Using Matplotlib ](http://pbpython.com/effective-matplotlib.html)\n\n [pyecharts + notebook](https://www.kesci.com/apps/home/project/5a01adce60680b295c19deb4)\n\n [Bokeh vs Dash](https://blog.sicara.com/bokeh-dash-best-dashboard-framework-python-shiny-alternative-c5b576375f7f)\n\n [01+ Resources to Learn Data Science](http://code-love.com/2017/05/27/learn-data-science/) [chinese](http://www.dianyue.me/archives/498/y4xzcivaqf7shw5n/)\n\n \n\n## 数据库(Database)\n\nPython实现的数据库。\n\n  * pickleDB：简单，轻量级键值储存数据库。[链接](https://github.com/patx/pickledb) \n\n  * PipelineDB：流式 SQL 数据库。[链接](https://github.com/pipelinedb/pipelinedb) \n\n  * TinyDB：轻型的，面向文档型数据库。[链接](https://github.com/msiemens/tinydb) \n\n  * ZODB： Python 原生对象数据库。键值和对象图数据库。[链接](https://github.com/zopefoundation/zodb/blob/master/doc/index.rst) \n\n## 数据库驱动(Database Drivers)\n\n连接和操作数据库的库。\n\n  * mysql-python：Python 的 MySQL 数据库连接器。[链接](https://sourceforge.net/projects/mysql-python/) 不支持python3，不推荐\n\n  * PyMySQL：纯 Python MySQL 驱动，兼容 mysql-python。[链接](https://github.com/PyMySQL/PyMySQL) --推荐\n\n  * mysql-connector-python：mysql官方python API。[链接](https://pypi.python.org/pypi/mysql-connector-python) --推荐\n\n  * psycopg ：Python 中最流行的 PostgreSQL 适配器。[链接](http://initd.org/psycopg/)  --推荐\n\n  * queries：psycopg2 库的封装，用来和 PostgreSQL 进行交互。[链接](https://github.com/gmr/queries) \n\n  * txpostgres：基于 Twisted 的异步 PostgreSQL 驱动。[链接](https://github.com/wulczer/txpostgres) \n\n  * apsw：另一个 Python SQLite 封装。[链接](https://rogerbinns.github.io/apsw/) \n\n  * dataset：在数据库中存储 Python 字典\n        pymssql：简单的 Microsoft SQL Server 数据库接口。[链接](https://github.com/pudo/dataset) \n        \n * [sqlite3](https://docs.python.org/3/library/sqlite3.html) - (Python标准库)SQlite接口与DB-API 2.0兼容。        \n\n  * [SuperSQLite](https://github.com/plasticityai/supersqlite) - 一个建立在[apsw](https://github.com/rogerbinns/apsw)之上的超强SQLite库。\n \n  * cassandra-python-driver：Cassandra 的 Python 驱动。[链接](https://github.com/datastax/python-driver) \n\n  * HappyBase：Apache HBase。[链接](https://github.com/wbolster/happybase) \n\n  * Plyvel：快速且功能丰富的 LevelDB 的 Python 接口。[链接](https://github.com/wbolster/plyvel) \n\n  * pycassa：Cassandra 的 Python Thrift 驱动。[链接](https://github.com/pycassa/pycassa) \n\n  * PyMongo：MongoDB 的官方 Python 客户端。[链接](https://github.com/mongodb/mongo-python-driver) -- 推荐\n\n  * redis-py：Redis 的 Python 客户端。[链接](https://github.com/andymccurdy/redis-py) -- 推荐\n\n  * txRedis：基于 Twisted 的 Redis 客户端。[链接](https://github.com/driftx/Telephus) \n  \n  * pymemcache：纯Python memcached 客户端。[链接](https://github.com/pinterest/pymemcache) \n\n## 日期和时间(Date and Time)\n\n操作日期和时间的类库。\n\n  * arrow：更好的 Python 日期时间操作类库。[链接](https://github.com/crsmithdev/arrow)  -- 推荐\n\n  * Chronyk：Python 3 的类库，用于解析手写格式的时间和日期。[链接](https://github.com/KoffeinFlummi/Chronyk) \n\n  * dateutil：Python datetime 模块的扩展。[链接](https://github.com/dateutil/dateutil) \n\n  * delorean：解决 Python 中有关日期处理的棘手问题的库。[链接](https://github.com/myusuf3/delorean/) \n\n  * moment：用来处理时间和日期的 Python 库。灵感来自于 Moment.js。[链接](https://github.com/zachwill/moment) \n\n  * pendulum：更处理datetime。[链接](https://github.com/sdispater/pendulum) \n\n  * PyTime：简单易用的 Python 模块，用于通过字符串来操作日期/时间。[链接](https://github.com/shinux/PyTime) \n\n  * pytz：现代以及历史版本的世界时区定义。将时区数据库引入 Python。[链接](https://git.launchpad.net/pytz) --推荐\n\n  * when.py：提供用户友好的函数来帮助用户进行常用的日期和时间操作。[链接](https://github.com/dirn/When.py) \n\n  * [maya](https://github.com/timofurrer/maya)：人性化的datetime。\n  \n## 调试工具(Debugging Tools)\n\n代码调试的库。\n\n  * PySnooper: 让你做print的事情，但不需要麻烦地添加很多语句，你只需要添加装饰器就可以得到运行日志，包括线运行，及对应变量的值。[链接](https://github.com/cool-RR/PySnooper/)  [介绍](https://www.jianshu.com/p/5e9b79673f39)\n\n  * ipdb：IPython的 pdb。[链接](https://github.com/gotcha/ipdb) \n\n  * pudb：pdb的替代。[链接](https://bitbucket.org/antocuni/pdb/) -- 推荐\n\n  * pudb：全屏，基于控制台的 Python 调试器。[链接](https://github.com/inducer/pudb) \n\n  * pyringe：可以在 Python 进程中附加和注入代码的调试器。[链接]() \n\n  * wdb：一个奇异的 web 调试器，通过 WebSockets 工作。[链接]() \n\n  * winpdb：一个具有图形用户界面的 Python 调试器，可以进行远程调试，基于 rpdb2。[链接]() \n\n  * django-debug-toolbar：为 Django 显示各种调试信息。[链接]() \n\n  * django-devserver：一个 Django 运行服务器的替代品。[链接]() \n\n  * flask-debugtoolbar：django-debug-toolbar 的 flask 版。[链接]() \n\n  * 性能分析器\n  \n    * pympler：运行时内存分析工具。[链接](https://github.com/pympler/pympler)   \n  \n    * lineprofiler：逐行性能分析。[链接](https://github.com/rkern/line_profiler) \n\n    * Memory Profiler：监控 Python 代码的内存使用。官网、内存 [链接](https://github.com/fabianp/memory_profiler) \n        \n    * [py-spy](https://github.com/benfred/py-spy) - Python程序的采样分析器. Rust编写.\n    \n    * [pyflame](https://github.com/uber/pyflame) - Python的跟踪分析器    \n    \n    * [vprof](https://github.com/nvdv/vprof) - 可视化Python分析器.    \n\n  * 其他\n        pyelftools：解析和分析 ELF 文件以及 DWARF 调试信息。[链接]() \n\n  * python-statsd：statsd 服务器的 Python 客户端。[链接]() \n\n## 深度学习(Deep Learning)\n\n机器学习库。 参见:[awesome-deep-learning](https://github.com/ChristosChristofidis/awesome-deep-learning).*\n\n[2018最佳机器学习工具书及下载(持续更新)](https://www.jianshu.com/p/e32fb5827acf)\n\n\n* [Caffe](https://github.com/BVLC/caffe) - 快速开放的深度学习框架 --推荐\n* [Keras](https://github.com/fchollet/keras) - 高级神经网络库，能够在TensorFlow或Theano之上运行。 --推荐\n* [MXNet](https://github.com/dmlc/mxnet) - 高效率和灵活的深度学习框架。\n* [Neupy](http://neupy.com/pages/home.html) - 运行和测试不同的人工神经网络算法.\n* [Pytorch](http://pytorch.org/) - Python中的张量和动态神经网络，具有强大的GPU加速功能。 --推荐\n* [Serpent.AI](https://github.com/SerpentAI/SerpentAI) - 游戏代理框架。 使用任何视频游戏作为深度学习沙盒。 --推荐\n* [TensorFlow](https://github.com/tensorflow/tensorflow) - 由Google创建的最受欢迎的深度学习框架。 --强烈推荐\n* [Theano](https://github.com/Theano/Theano) - 用于快速数值计算的库.  --推荐\n* [Shogun](https://github.com/shogun-toolbox/shogun/) C++实现，为包括Python在内的多种语言和平台提供统一的接口。 它侧重于可扩展的内核方法，以解决回归和分类问题。 Shogun关注生物信息学，可以扩展以处理超过1000万个数据样本，同时保持准确性。\n* [CNTK](https://github.com/Microsoft/CNTK/tree/master/bindings/python)  微软的深度学习框架。\n* [sqlflow](https://github.com/sql-machine-learning/sqlflow) SQLFlow是连接SQL引擎的桥梁，例如 MySQL，Hive，SparkSQL或SQL Server，带有TensorFlow和其他机器学习工具包。 SQLFlow扩展了SQL语言，以支持模型训练，预测和推理。 国内唯一的技术大公司 阿里巴巴出品！\n\n## DevOps工具(DevOps Tools)\n\n* DevOps的软件和库。*\n\n* [Ansible](https://github.com/ansible/ansible) - 极其简单的IT自动化平台。 --推荐\n* [prometheus](https://github.com/prometheus/client_python) - 普罗米修斯监控平台python官方客户端。 --推荐\n* [Cloud-Init](http://cloudinit.readthedocs.io/en/latest/) - 处理云实例的早期初始化的多分发包。\n* [cuisine](https://github.com/sebastien/cuisine) - 为 Fabric 提供一系列高级函数。\n* [Docker Compose](https://github.com/docker/compose) - 使用[Docker](https://www.docker.com/)的快速隔离开发环境。 --推荐\n* [Fabric](https://github.com/fabric/fabric/) - 简单的Pythonic远程执行和部署工具。 --推荐\n* [Fabtools](https://github.com/fabtools/fabtools) - 编写真棒Fabric文件的工具。\n* [honcho](https://github.com/nickstenning/honcho) - 一个[Foreman]的Python克隆(https://github.com/ddollar/foreman)，用于管理基于Procfile的应用程序。\n* [nova](https://github.com/openstack/nova) - OpenStack计算。 --推荐\n* [swift](https://github.com/openstack/swift) - OpenStack存储。 --推荐\n* [pexpect](https://github.com/pexpect/pexpect) - 在像GNU expect这样的伪终端中控制交互式程序。 --强烈推荐\n* [psutil](https://github.com/giampaolo/psutil) - 跨平台的进行和系统实用程序模块。 --推荐\n* [SaltStack](https://github.com/saltstack/salt) - 基础设施自动化和管理系统。 --推荐\n* [supervisor](https://github.com/Supervisor/supervisor) - 用于UNIX的Supervisor进程控制系统。\n*   gitapi：Git 的纯 Python API。[官网](https://bitbucket.org/haard/gitapi)\n*   hgapi：Mercurial 的纯 Python API。[官网](https://bitbucket.org/haard/hgapi)\n*   honcho：[Foreman](https://github.com/ddollar/foreman) 的 Python 克隆版，用来管理基于 [Procfile](https://devcenter.heroku.com/articles/procfile) 的应用。[官网](https://github.com/nickstenning/honcho)\n\n\n## 分发(Distribution)\n\n打包为可执行文件以便分发。\n\n * PyInstaller：将 Python 程序转换成独立的执行文件(跨平台)。[链接](https://github.com/pyinstaller/pyinstaller) --推荐\n\n * dh-virtualenv：构建并将 virtualenv 虚拟环境作为Debian 包来发布。[链接](https://github.com/spotify/dh-virtualenv)\n\n * Nuitka：将脚本、模块、包编译成可执行文件或扩展模块。[链接](https://github.com/kayhayen/Nuitka)\n\n * py2app：将 Python 脚本变为独立软件包(Mac OS X)。[链接](https://bitbucket.org/ronaldoussoren/py2app) --推荐\n\n * py2exe：将 Python 脚本变为独立软件包(Windows)。[链接](https://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/) --已经比较久没有更新了。\n\n * pynsist：用来创建 Windows 安装程序的工具，可以在安装程序中打包 Python本身。[链接](https://github.com/takluyver/pynsist/blob/master/doc/index.rst)\n \n## 文档(Documentation)\n\n用以生成项目文档的库。\n\n * Sphinx：Python 文档生成器。[链接](https://github.com/sphinx-doc/sphinx/)\n\n * awesome-sphinxdoc：[链接](https://github.com/yoloseem/awesome-sphinxdoc)\n    \n * pdoc：替换Epydoc 的库，可以自动生成 Python 库的 API 文档。[链接](https://github.com/BurntSushi/pdoc )\n    \n * Pycco：文学编程风格的文档生成器。[链接](https://github.com/pycco-docs/pycco)\n    \n * readthedocs：一个基于 Sphinx/MkDocs 的在线文档托管系统，对开源项目免费开放使用。[链接](https://github.com/rtfd/readthedocs.org/) -- 推荐 \n\n\n## 下载器(Downloader)\n\n用来进行下载的库.\n\n * s3cmd：一个用来管理Amazon S3 和 CloudFront 的命令行工具。[链接](https://github.com/s3tools/s3cmd)\n\n * s4cmd：超级 S3 命令行工具，性能更加强劲。[链接](https://github.com/bloomreach/s4cmd)\n\n * you-get：优酷、YouTube/Youku/Niconico 视频下载器，使用 Python3 编写。[链接](https://github.com/soimort/you-get) --强烈推荐\n\n * youtube-dl：一个小巧的命令行程序，用来下载 YouTube 视频。[链接](http://rg3.github.io/youtube-dl/)\n\n## 电子商务(E-commerce)\n\n用于电子商务以及支付的框架和库。\n\n * django-oscar：基于Django 的开源的电子商务框架。[链接](https://github.com/django-oscar/django-oscar/) -- 推荐\n    \n * django-shop： 基于 Django 的店铺系统。[链接](https://github.com/awesto/django-shop )\n    \n * Cartridge：一个基于 Mezzanine 构建的购物车应用。[链接](https://github.com/stephenmcd/cartridge)\n    \n * shoop：基于 Django 的开源电子商务平台。[链接](https://www.shuup.com/ )\n    \n * alipay：非官方的 Python 支付宝 API。[链接](https://github.com/lxneng/alipay)\n    \n * merchant：可以接收来自多种支付平台支付的 Django 应用。[链接](https://github.com/agiliq/merchant)\n    \n * money：Python钱类，带有可选的CLDR支持的区域识别格式和可扩展的货币兑换解决方案。[链接](https://github.com/carlospalol/money)\n    \n * forex-python：外汇汇率，比特币价格指数和货币兑换。[链接](https://github.com/MicroPyramid/forex-python)\n\n * saleor - Python和Django的电子商务店面。[链接](https://github.com/mirumee/saleor)\n\n * 雪峰磁针石说明:\n\npython-currencies因为星级较少没有收录\n\n\n## 编辑器插件(Editor Plugins and IDEs)\n\n编辑器和 IDE 的插件\n\n * Elpy：Emacs Python 开发环境。[链接](https://github.com/jorgenschaefer/elpy)\n\n * SublimeJEDI：Sublime Text 插件，用来实现自动补全库 Jedi。[链接](https://github.com/srusskih/SublimeJEDI)\n\n * Anaconda：把你的 Sublime Text 3 变成功能齐全的 Python IDE。[链接](https://github.com/DamnWidget/anaconda)\n\n * YouCompleteMe：引入基于 Jedi 的 Python 自动补全引擎。[链接](https://github.com/Valloric/YouCompleteMe)\n\n * Jedi-vim：绑定 Vim 和 Jedi 自动补全库对 Python 进行自动补全。[链接](https://github.com/davidhalter/jedi-vim)\n\n * Python-mode：Vim 变成 Python IDE 的多合一插件。[链接](https://github.com/python-mode/python-mode)\n\n * PTVS：Visual Studio 的 Python 工具[链接](https://github.com/Microsoft/PTVS)\n\n * wingIDE：商业化的 Python IDE,功能强大，占用资源少，python开发。也有免费的社区版提供。[链接]https://wingware.com/) -- 推荐\n\n * PyCharm：商业化的 Python IDE ，由 JetBrains 开发。也有免费的社区版提供。[链接](https://www.jetbrains.com/pycharm/)\n\n * LiClipse：基于 Eclipse 的免费多语言 IDE 。使用 PyDev 来支持 Python 。[链接](http://www.liclipse.com/)\n    \n * Spyder：开源 Python IDE。[链接](https://github.com/spyder-ide/spyder)\n\n * komodo-ide [链接](https://www.activestate.com/komodo-ide/python-editor)\n\n## 电子邮件(Email)\n\n用来发送和解析电子邮件的库。\n\n * mailer：用简单的方式发送邮件。[链接](https://pypi.python.org/pypi/mailer) -- 推荐\n\n * envelopes：人性化的电子邮件库。[链接](https://github.com/tomekwojcik/envelopes/)\n    \n * flanker：email 地址和 Mime 解析库。[链接](https://github.com/mailgun/flanker)\n\n * imbox：人性化的Python IMAP 库[链接](https://github.com/martinrusev/imbox)\n\n * inbox：具有时尚API的IMAP/SMTP同步系统。[链接](https://github.com/nylas/sync-engine) -- 推荐\n\n * lamson：Python 风格的 SMTP 应用服务器。[链接](https://github.com/zedshaw/lamson)\n\n * marrow.mailer：高性能可扩展邮件分发框架。[链接](https://github.com/marrow/mailer)\n\n * modoboa：一个邮件托管和管理平台，具有现代的、简约的 Web UI。[链接](https://github.com/modoboa/modoboa)\n\n * pyzmail：创建，发送和解析电子邮件。[链接](https://pypi.python.org/pypi/pyzmail)\n\n * Talon：Mailgun 库，用来抽取信息和签名。[链接](https://github.com/mailgun/talon)\n\n * yagmail- 另外一个 Gmail/SMTP客户端。[链接](https://github.com/kootenpv/yagmail)\n\n * sync-engine - IMAP/SMTP同步。 [链接](https://github.com/nylas/sync-engine) -- 推荐\n\n## 环境管理(Environment Management)\n\nPython版本和环境管理\n\n * Pipenv：Pipfile，Pip和Virtualenv的结合。[链接](https://github.com/pypa/pipenv) --强烈推荐\n\n * p：简单的python版本管理工具。[链接](https://github.com/qw3rtman/p)\n\n * pyenv：简单的python版本管理。[链接](https://github.com/pyenv/pyenv) --强烈推荐\n\n * venv：创建python虚拟环境，python3标准库。[链接](https://docs.python.org/3/library/venv.html) --强烈推荐\n\n * virtualenv：创建独立的Python 环境。[链接](https://github.com/pypa/virtualenv/) --强烈推荐\n\n * virtualenvwrapper：virtualenv 的扩展。[链接](https://bitbucket.org/virtualenvwrapper/virtualenvwrapper) --强烈推荐\n \n * [poetry](https://github.com/sdispater/poetry) - 简化Python依赖性管理和打包  --强烈推荐\n\n## 文件(Files)\n\n文件管理和 MIME(多用途的网际邮件扩充协议)类型检测。\n\n * imghdr：(Python 标准库)检测图片类型。[链接](https://docs.python.org/2/library/imghdr.html)\n\n * mimetypes：(Python 标准库)将文件名映射为 MIME 类型。[链接](https://docs.python.org/2/library/mimetypes.html)\n\n * path.py：对 os.path 进行封装的模块。[链接](https://github.com/jaraco/path.py) \n\n * pathlib：(Python3.4+ 标准库)跨平台的、面向对象的路径操作库。[链接](https://docs.python.org/dev/library/pathlib.html) --强烈推荐\n\n * python-magic：文件类型检测的第三方库 libmagic 的 Python 接口。[链接](https://github.com/ahupp/python-magic)\n\n * Unipath：用面向对象的方式操作文件和目录。[链接](https://github.com/mikeorr/Unipath)\n\n * watchdog：管理文件系统事件的 API 和 shell 工具。[链接](https://github.com/gorakhargosh/watchdog) --推荐\n\n\n\n## 外部函数接口(Foreign Function Interface)\n\n * cffi：调用 C 代码。[链接](https://bitbucket.org/cffi/cffi) --强烈推荐\n\n * ctypes：(Python 标准库) 调用 C 代码。[链接](https://docs.python.org/2/library/ctypes.html) --强烈推荐\n\n * PyCUDA：Nvidia CUDA API 的封装。[链接](https://github.com/inducer/pycuda) \n\n * SWIG：简单的包装器和接口生成器。[链接](http://www.swig.org/Doc1.3/Python.html) \n\n## 表单(Forms)\n\n * Deform：Python HTML 表单生成库，受到了 formish 表单生成库的启发。[链接](https://github.com/Pylons/deform) \n\n * django-bootstrap3：集成了 Bootstrap 3 的 Django。[链接](https://github.com/dyve/django-bootstrap3) --推荐\n \n * [django-bootstrap4](https://github.com/zostera/django-bootstrap4) - Django集成Bootstrap 4.\n\n * django-crispy-forms：非常优雅且 DRY(Don't repeat yourself) 的方式来创建美观的表单。[链接](https://github.com/dyve/django-bootstrap3) --推荐\n\n * django-remote-forms：平台独立的 Django 表单序列化工具。[链接](https://github.com/WiserTogether/django-remote-forms) \n\n * WTForms：灵活的表单验证和渲染库。[链接](https://github.com/wtforms/wtforms) \n\n## 函数式编程(Functional Programming)\n\n * CyToolz：Toolz 的 Cython 实现 : 高性能函数工具。[链接](https://github.com/pytoolz/cytoolz/) \n\n * fn.py：在 Python 中进行函数式编程 : 实现了一些函数式编程缺失的功能。[链接](https://github.com/kachayev/fn.py)  -- 推荐\n\n * funcy：炫而实用的函数式工具。[链接](https://github.com/Suor/funcy) \n\n * Toolz：一组用于迭代器，函数和字典的函数式编程工具。[链接](https://github.com/pytoolz/toolz) \n \n * [returns](https://github.com/dry-python/returns) - 一组类型安全的单体、tranformers和组合工具\n \n##动态消息\n\n用来创建用户活动的库。\n\n * django-activity-stream：从你的站点行为中生成通用活动信息流。[链接](https://github.com/justquick/django-activity-stream)\n\n * Stream-Framework：使用 Cassandra 和 Redis 创建动态消息和通知系统。[链接](https://github.com/tschellenbach/Stream-Framework)\n\n## 图形用户界面(GUI)\n\n\n * curses：内置的ncurses 封装，用来创建终端图形用户界面。标准库。[链接](https://docs.python.org/3/library/curses.html) \n * Eel - 用于制作简单电子类离线HTML / JS GUI应用程序的小程序库。[链接](https://github.com/ChrisKnott/Eel) \n * enaml：使用类似 QML 的 Declaratic 语法来创建美观的用户界面。[链接](https://github.com/nucleic/enaml)\n * kivy：创建NUI应用程序的库，可以运行在 Windows, Linux, Mac OS X, Android 以及 iOS 平台上。[链接](https://github.com/kivy/kivy) -推荐\n * pyglet：Python 的跨平台窗口及多媒体库。[链接](https://bitbucket.org/pyglet/)\n * PyQt：跨平台用户界面框架 Qt 的 Python 绑定 ，支持 Qt v4 和 Qt v5。[链接](https://doc.qt.io/qtforpython/)\n * PySide：跨平台用户界面框架 Qt 的 Python 绑定 ，支持 Qt v4。[链接](https://wiki.qt.io/PySide)\n * Tkinter：Python GUI 标准库。[链接](https://wiki.python.org/moin/TkInter)\n * [PySimpleGUI](https://github.com/PySimpleGUI/PySimpleGUI) - Wrapper for tkinter, Qt, WxPython and Remi that creates a unified, easy to understand \u0026 more Python-like interface for beginner and intermediate level custom GUIs. \n * Toga：Python 原生的, 操作系统原生的 GUI 工具包。[链接](https://github.com/pybee/toga)\n * urwid：创建终端 GUI 应用的库，支持组件，事件和丰富的色彩等。[链接](https://github.com/urwid/urwid)\n * wxPython：wxPython 是 wxWidgets C++ 类库和 Python 语言混合的产物。[链接](https://github.com/wxWidgets/Phoenix/)\n * [DearPyGui](https://github.com/RaylockLLC/DearPyGui/) - 一个简单的GPU加速的Python GUI框架\n * PyGObject：GLib/GObject/GIO/GTK+ (GTK+3) 的 Python 绑定。[链接](https://wiki.gnome.org/Projects/PyGObject)\n * Flexx：纯 Python编写的用来创建 GUI 程序的工具集，它使用 web 技术进行界面的展示。[链接](https://github.com/flexxui/flexx) \n \n \n## GraphQL\n\n*用于处理GraphQL的库。\n\n* [graphene](https://github.com/graphql-python/graphene/) - Python的GraphQL框架。\n* [tartiflette-aiohttp](https://github.com/tartiflette/tartiflette-aiohttp/) - Tartiflette的一个基于aiohttp的包装器，通过HTTP暴露GraphQL APIs。\n* [tartiflette-asgi](https://github.com/tartiflette/tartiflette-asgi/) - Tartiflette GraphQL引擎的ASGI支持。\n* [tartiflette](https://tartiflette.io) - 适用于Python 3.6+和asyncio的SDL-first GraphQL引擎实现。\n\n\n## 游戏开发(Game Development)\n\n* [Arcade](https://api.arcade.academy/en/latest/) - Arcade是一个现代Python框架，用于制作具有引人注目的图形和声音的游戏。\n* [Cocos2d](https://github.com/los-cocos/cocos) - cocos2d是用于构建2D游戏，演示和其他图形/交互式应用程序的框架。它基于pyglet。\n* [Panda3D](https://www.panda3d.org/) - 由迪士尼开发并由卡内基梅隆娱乐技术中心维护的3D游戏引擎。用C ++编写，完全用Python包装。 -推荐\n* [Pygame](http://www.pygame.org/news.html) - Pygame是一套用于编写游戏的Python模块。  -推荐\n* [PyOgre](http://www.ogre3d.org/tikiwiki/PyOgre) - Ogre 3D渲染引擎的Python绑定，可用于游戏，模拟，任何3D。\n* [PyOpenGL](http://pyopengl.sourceforge.net/) - 用于OpenGL的Python ctypes绑定及其相关的API。\n* [PySDL2](https://pysdl2.readthedocs.io) - SDL2库的基于ctypes的包装器。\n* [RenPy](https://github.com/renpy/renpy) - Visual Novel引擎。\n* [Harfang3D](http://www.harfang3d.com) - Python framework for 3D, VR and game development. Manage and display complex 3D scenes, with physics, video, sound and music, access VR devices. All written in C++.\n\n\n## 地理位置(Geolocation)\n\n*地理编码地址和纬度和经度的图书馆。*\n\n* [django-countries](https://github.com/SmileyChris/django-countries) - Django应用程序，提供与表单一起使用的国家选项，标志图标静态文件和模型的国家/地区字段。\n* [GeoDjango](https://docs.djangoproject.com/en/dev/ref/contrib/gis/) - 世界级的地理网络框架。  -推荐\n* [GeoIP](https://github.com/maxmind/geoip-api-python) - MaxMind GeoIP遗留数据库的Python API。\n* [geojson](https://github.com/frewsxcv/python-geojson) - GeoJSON的Python绑定和实用程序。\n* [geopy](https://github.com/geopy/geopy) - Python地理编码工具箱。\n* [pygeoip](https://github.com/appliedsec/pygeoip) - 纯Python GeoIP API。\n\n## HTML操作(HTML Manipulation)\n\n*用于处理HTML和XML的库。*\n\n* [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) - Python风格的方式来对HTML或XML进行迭代，搜索和修改。 -推荐\n* [bleach](https://github.com/mozilla/bleach) - 基于白名单的HTML清理和文本链接库。\n* [cssutils](https://pypi.python.org/pypi/cssutils/) - Python的CSS库。\n* [html5lib](https://github.com/html5lib/html5lib-python) - 用于解析和序列化HTML文档和片段的符合标准的库。\n* [lxml](http://lxml.de/) - 用于处理HTML和XML的非常快速，易于使用和多功能的库。  -推荐\n* [MarkupSafe](https://github.com/pallets/markupsafe) - 为Python实现XML / HTML / XHTML标记安全字符串。\n* [pyquery](https://github.com/gawel/pyquery) - 用于解析HTML的jQuery类库。\n* [untangle](https://github.com/stchris/untangle) - 将XML文档转换为Python对象以便于访问。\n* [WeasyPrint](https://github.com/Kozea/WeasyPrint) - 可导出为PDF的HTML和CSS可视化呈现引擎。\n* [xmldataset](https://xmldataset.readthedocs.io/en/latest/) - 简单的XML解析。\n*   xhtml2pdf：HTML/CSS 转 PDF 工具。[官网](https://github.com/xhtml2pdf/xhtml2pdf)\n* [xmltodict](https://github.com/martinblech/xmltodict) - 像处理 JSON 一样处理 XML。\n\n## HTTP\n\n使用 HTTP 的库。\n*   aiohttp：基于 asyncio 的异步 HTTP 网络库。[官网](https://github.com/aio-libs/aiohttp)\n*   requests：人性化的 HTTP 请求库。[官网](http://docs.python-requests.org/en/latest/) --强烈推荐\n*   grequests：requests 库 + gevent ，用于异步 HTTP 请求.[官网](https://github.com/spyoungtech/grequests)\n*   httplib2：全面的 HTTP 客户端库。[官网](https://github.com/jcgregorio/httplib2)\n*   treq：类似 requests 的 Python API 构建于 Twisted HTTP 客户端之上。[官网](https://github.com/twisted/treq)\n*   urllib3：一个具有线程安全连接池，支持文件 post，清晰友好的 HTTP 库。[官网](https://github.com/shazow/urllib3)\n\n\n## 硬件(Hardware)\n\n*用于硬件编程的库。*\n\n* [ino](http://inotool.org/) - 用于[Arduino](https://www.arduino.cc/)的命令行工具包。\n* [keyboard](https://github.com/boppreh/keyboard) - 钩和模拟Windows和Linux上的全球键盘事件。\n* [鼠标](https://github.com/boppreh/mouse) - 在Windows和Linux上挂钩并模拟全局鼠标事件。\n* [Pingo](https://github.com/pingo-io/pingo-py) - Pingo提供统一的API来编程像Raspberry Pi，pcDuino，Intel Galileo等设备。\n* [PyUserInput](https://github.com/SavinaRoja/PyUserInput) - 用于跨平台控制鼠标和键盘的模块。\n* [scapy](https://github.com/secdev/scapy) - 出色的数据包操作库。\n* [thrift-tools](https://github.com/pinterest/thrift-tools) thrift抓包工具。\n* mitmproxy：HTTP和抓包库。[官网](https://github.com/mitmproxy/mitmproxy)\n*   Pyro：Python 机器人编程库。[官网](http://pyrorobotics.com/)\n*   PyUserInput：跨平台的，控制鼠标和键盘的模块。[官网](https://github.com/SavinaRoja/PyUserInput)\n\n\n## 图像处理(Image Processing)\n\n*用于处理图像的库。*\n\n\n*   [pillow](http://hao.jobbole.com/pillow/)：Pillow 是一个更加易用版的 [PIL](http://www.pythonware.com/products/pil/)。[官网](http://pillow.readthedocs.org/en/latest/) -推荐 \n\t[python库介绍-图像处理工具pillow中文文档-手册(2018 5.*)](https://china-testing.github.io/python3_lib_pil.html)\t\n*   hmap：图像直方图映射。[官网](https://github.com/rossgoodwin/hmap)\n*   imgSeek：使用视觉相似性搜索一组图片集合的项目。[官网](https://sourceforge.net/projects/imgseek/) 较长时间没有更新\n*   nude.py：裸体检测。[官网](https://github.com/hhatto/nude.py)\n*   pyBarcode：不借助 PIL 库在 Python 程序中生成条形码。[官网](https://pythonhosted.org/pyBarcode/)\n*   pygram：类似 Instagram 的图像滤镜。[官网](https://github.com/ajkumar25/pygram)\n*   python-qrcode：纯 Python 实现的二维码生成器。[官网](https://github.com/lincolnloop/python-qrcode) --推荐\n*   [pywal](https://github.com/dylanaraps/pywal) - 从图像生成色彩方案的工具。\n*   [pyvips](https://github.com/libvips/pyvips) - 快速的图像处理库，内存需求低。\n*   Quads：基于四叉树的计算机艺术。[官网](https://github.com/fogleman/Quads)\n*   scikit-image：一个用于(科学)图像处理的 Python 库。[官网](http://scikit-image.org/) --推荐\n*   thumbor：小型图像服务，具有剪裁，尺寸重设和翻转功能。[官网](https://github.com/thumbor/thumbor) --推荐\n*   wand：[MagickWand](http://www.imagemagick.org/script/magick-wand.php)的 Python 绑定。MagickWand 是 ImageMagick 的 C API 。[官网](https://github.com/dahlia/wand)\n*   face_recognition：简单易用的 python 人脸识别库。[官网](https://github.com/ageitgey/face_recognition) --强烈推荐\n*   [pagan](https://github.com/daboth/pagan) - 基于输入字符串和散列的复古identicon(阿凡达)生成。\n*   [opencv-python](https://github.com/skvark/opencv-python) 预编译的opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless。　--推荐\n*   [imutils](https://github.com/jrosebr1/imutils) 一系列便利函数，可以使用OpenCV和Python轻松进行基本图像处理操作，如平移，旋转，调整大小，骨架化和显示Matplotlib图像。　--推荐\n*   [word_cloud](https://github.com/amueller/word_cloud) 词云\n\n## 实现(Implementations)\n\n* Python的实现。*\n\n* [CLPython](https://github.com/metawilm/cl-python) - 用Common Lisp编写的Python编程语言。\n* [CPython](https://github.com/python/cpython) - **用C编写的Python编程语言的默认，最广泛使用的实现。**  --强烈推荐\n* [Cython](http://cython.org/) - 优化Python的静态编译器。使用类型mixin将Python编译为C或C ++模块，从而获得巨大的性能提升 --强烈推荐\n* [Grumpy](https://github.com/google/grumpy) - 更多的编译器比解释器更强大的CPython2.7替换(alpha)。 --推荐\n* [IronPython](https://github.com/IronLanguages/ironpython3) - 实现用C＃编写的面向.NET Framework和Mono的Python编程语言。 --推荐\n* [Jython](https://hg.python.org/jython) - 为Java虚拟机(JVM)实现用Java编写的Python编程语言。 --推荐\n* [MicroPython](https://github.com/micropython/micropython) - MicroPython - 精简高效的Python编程语言实现，用于微控制器和受限制的系统 --推荐\n* [Numba](https://github.com/numba/numba/) - 针对科学Python的LLVM的Python JIT编译器。 --推荐\n* [PeachPy](https://github.com/Maratyszcza/PeachPy) - 嵌入在Python中的x86-64汇编程序。可以用作Python的内联汇编程序，也可以用作Windows，Linux，OS X，Native Client和Go的独立汇编程序。 --推荐\n* [Pyjion](https://github.com/Microsoft/Pyjion) - 基于CoreCLR的Python JIT。\n* [PyPy](https://bitbucket.org/pypy/pypy) - 实现用RPython编写并编译为C的Python编程语言.PyPy关注速度，效率以及与原始CPython解释器的兼容性。解释器使用黑魔法使Python非常快速，而无需添加额外的类型信息。 --强烈推荐\n* [PySec](https://github.com/ebranca/owasp-pysec) - python的强化版本，使安全专业人员和开发人员可以更轻松地编写应用程序，从而更有弹性地处理攻击和操作。\n* [Pyston](https://github.com/dropbox/pyston) - 使用LLVM和现代JIT技术构建的Python实现，其目标是实现良好的性能。 --推荐\n* [Stackless Python](https://github.com/stackless-dev/stackless/wiki) - Python编程语言的增强版本，它允许程序员在没有性能和复杂性的情况下获得基于线程编程的好处与传统线程相关的问题。 --推荐\n\n## 交互式Python解释器(Interactive Interpreter)\n\n* [bpython](https://github.com/bpython/bpython) - 界面丰富的 Python 解析器。\n* [IPython](https://github.com/ipython/ipython) - 功能丰富的工具，非常有效的使用交互式Python。 --强烈推荐\n* [Jupyter Notebook](https://github.com/jupyter/jupyter) - 功能丰富的工具，非常有效的使用交互式Python。 --推荐\n* [ptpython](https://github.com/jonathanslenders/ptpython) - 在[python-prompt-toolkit]之上构建的高级Python REPL(https://github.com/jonathanslenders/python-prompt-toolkit) 。 --推荐\n\n## 国际化\n\n*与i18n合作的图书馆*\n\n* [Babel](https://github.com/python-babel/babel) - Python国际化库。\n* [PyICU](https://github.com/ovalhub/pyicu) - Unicode C ++库的国际组件封装([ICU](http://site.icu-project.org/))。\n\n## 作业调度(Job Scheduler)\n\n*用于调度作业的库。*\n\n* [APScheduler](https://github.com/agronholm/apscheduler) - 轻量但功能强大的进程内任务调度程序，可让您安排功能。\n* [django-schedule](https://github.com/thauber/django-schedule) - Django的日历应用程序。\n* [doit](http://pydoit.org/) - 任务运行者和构建工具。\n* [gunnery](https://github.com/gunnery/gunnery) - 具有基于Web界面的分布式系统的多用途任务执行工具。\n* [Joblib](http://pythonhosted.org/joblib/index.html) - 一组用Python提供轻量级流水线的工具。\n* [plan](https://github.com/fengsp/plan) - 用Python编写crontab文件就像一个魅力一样。\n* [Prefect](https://github.com/PrefectHQ/prefect) - 现代工作流协调框架，使其能够轻松构建、安排和监控强大的数据管道。\n* [schedule](https://github.com/dbader/schedule) - 人性化的 Python 任务调度库。 --推荐\n* [Spiff](https://github.com/knipknap/SpiffWorkflow) - 以纯Python实现的强大的工作流引擎。\n* [TaskFlow](https://github.com/openstack/taskflow) - 可以让你方便执行任务的 Python 库，一致并且可靠。\n*  AirFlow：Airflow 是Airbnb公司开源的，是一个工作流分配管理系统，通过有向非循环图的方式管理任务流程，设置任务依赖关系和时间调度。[官方](https://github.com/apache/incubator-airflow)\n\n## 日志(Logging)\n\n*用于生成和处理日志的库。*\n\n* [Eliot](https://github.com/ScatterHQ/eliot) - 复杂和分布式系统日志。\n* [logbook](https://github.com/getlogbook/logbook) - Python logging的替代。\n* [logging](https://docs.python.org/2/library/logging.html) - (Python标准库)Python的日志工具。 --推荐\n* [loguru](https://github.com/Delgan/loguru) - 旨在为Python带来愉快的日志记录的库。\n* [sentry-python](https://github.com/getsentry/sentry-python) - Python的Sentry SDK。\n* [structlog](https://www.structlog.org/en/stable/) - 结构化的日志记录变得简单。\n\n## 机器学习\n\n*机器学习库。请参阅：[awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning#python)。*\n\n\n* [gym](https://github.com/openai/gym) - 一个开发和比较强化学习算法的工具包。\n* [H2O](https://github.com/h2oai/h2o-3) - 开源快速可扩展机器学习平台。\n* [Metrics](https://github.com/benhamner/Metrics) - 机器学习评估指标。\n* [NuPIC](https://github.com/numenta/nupic) - 用于智能计算的Numenta平台。 --推荐\n* [scikit-learn](http://scikit-learn.org/) - 流行的机器学习Python库。 --推荐\n* [Spark ML](http://spark.apache.org/docs/latest/ml-guide.html) - [Apache Spark](http://spark.apache.org/)的可扩展机器学习库。--推荐\n* [vowpal_porpoise](https://github.com/josephreisinger/vowpal_porpoise) - 用于[Vowpal Wabbit]的轻量级Python包装器(https://github.com/JohnLangford/vowpal_wabbit/)。\n* [xgboost](https://github.com/dmlc/xgboost) - 可扩展，可移植且分布式的渐变增强库。 --推荐\n* [MindsDB](https://github.com/mindsdb/mindsdb) - MindsDB是现有数据库的一个开源人工智能层，允许你毫不费力地使用标准查询来开发、训练和部署最先进的机器学习模型。\n\n## MapReduce\n\n* MapReduce的框架和库。*\n\n* [PySpark](https://github.com/apache/spark) - Apache Spark Python API。\n*   [dpark](http://hao.jobbpysimdjsonole.com/dpark/)：Spark 的 Python 克隆版，类似 MapReduce 的框架。[官网](https://github.com/douban/dpark)\n*  dumbo：这个 Python 模块可以让人轻松的编写和运行 Hadoop 程序。[官网](https://github.com/klbostee/dumbo)\n* [luigi](https://github.com/spotify/luigi) - 可帮助您构建批处理作业复杂管道的模块。\n* [mrjob](https://github.com/Yelp/mrjob) - 在Hadoop或Amazon Web Services上运行MapReduce作业。\n* [streamparse](https://github.com/Parsely/streamparse) - 针对实时数据流运行Python代码。与[Apache Storm](http://storm.apache.org/)集成。\n* [dask](https://github.com/dask/dask) - 灵活的分析计算并行计算库。\n* [Ray](https://github.com/ray-project/ray/) - A system for parallel and distributed Python that unifies the machine learning ecosystem.\n* [faust](https://github.com/robinhood/faust) - A stream processing library, porting the ideas from [Kafka Streams](https://kafka.apache.org/documentation/streams/) to Python.\n* [streamparse](https://github.com/Parsely/streamparse) - Run Python code against real-time streams of data via [Apache Storm](http://storm.apache.org/).\n\n\n## 微软Windows\n\n* Microsoft Windows上的Python编程。*\n\n* [Python(x，y)](http://python-xy.github.io/) - 基于Qt和Spyder的面向科学应用的Python发行版。 --推荐\n* [pythonlibs](http://www.lfd.uci.edu/~gohlke/pythonlibs/) - Python扩展包的非官方Windows二进制文件。 --推荐\n* [PythonNet](https://github.com/pythonnet/pythonnet) - .NET公共语言运行时(CLR)的Python集成。\n* [PyWin32](https://github.com/mhammond/pywin32) - Python的Windows扩展。 --推荐\n* [WinPython](https://winpython.github.io/) - Windows 7/8的便携式开发环境。 --推荐\n\n## 杂项\n\n*不适合上述类别的有用库或工具。*\n\n*   blinker：快速的 Python 进程内信号/事件分发系统。[官网](https://github.com/jek/blinker)\n*   itsdangerous：一系列辅助工具用来将可信的数据传入不可信的环境。[官网](https://github.com/pallets/itsdangerous)\n*   pluginbase：一个简单但是非常灵活的 Python 插件系统。[官网](https://github.com/mitsuhiko/pluginbase)\n*   Pychievements：一个用来创建和追踪成就的 Python 框架。[官网](https://github.com/PacketPerception/pychievements)\n*   [Tryton](http://hao.jobbole.com/tryton/)：通用商务框架。[官网](http://www.tryton.org/)\n\n## 自然语言处理(Natural Language Processing)\n\n*   汉字转拼音(pypinyin) [连接](https://github.com/mozillazg/python-pinyin) - 推荐\n*   NLTK：构建Python程序以处理人类语言数据的领先平台。[连接](https://github.com/nltk/nltk) - 推荐\n*   jieba：中文分词工具。[官网](https://github.com/fxsjy/jieba) - 推荐\n*   langid.py：独立的语言识别系统。[官网](https://github.com/saffsd/langid.py)\n*   Pattern：Python 网络信息挖掘模块。[官网](https://github.com/clips/pattern) - 推荐\n*   SnowNLP：用来处理中文文本的库。[官网](https://github.com/isnowfy/snownlp) - 推荐\n*   TextBlob：为进行普通自然语言处理任务提供一致的 API。[官网](http://textblob.readthedocs.org/en/latest/) - 推荐\n*   TextGrocery：一简单高效的短文本分类工具，基于 LibLinear 和 Jieba。[官网](https://github.com/2shou/TextGrocery)\n*   thulac:清华大学自然语言处理与社会人文计算实验室研制推出的一套中文词法分析工具包[官网](https://github.com/thunlp/THULAC-Python)\n* [gensim](https://github.com/RaRe-Technologies/gensim) -人 性化的话题建模库。\n* [spaCy](https://github.com/explosion/spaCy) - 用于Python和Cython的工业强度自然语言处理的库。 -推荐\n* [PyTorch-NLP](https://github.com/PetrochukM/PyTorch-NLP) - A toolkit enabling rapid deep learning NLP prototyping for research.\n* [StanfordNLP](https://github.com/stanfordnlp/stanfordnlp) - The Stanford NLP Group's official Python library, supporting 50+ languages\n\n## 网络虚拟化(Network Virtualization)\n\n*用于虚拟网络和SDN(软件定义网络)的工具和库。*\n\n*   Mininet：流行的网络模拟器以及用 Python 编写的 API。[官网](http://mininet.org/) -推荐\n*   POX：一个针对基于 Python 的软件定义网络应用(例如 OpenFlow SDN 控制器)的开源开发平台。[官网](https://github.com/noxrepo/pox)\n*   Pyretic：火热的 SDN 编程语言中的一员，为网络交换机和模拟器提供强大的抽象能力。[官网](https://github.com/frenetic-lang/pyretic)\n*   SDX Platform：基于 SDN 的 IXP 实现，影响了 Mininet, POX 和 Pyretic。[官网](https://github.com/sdn-ixp/internet2award)\n*   NRU：一个基于组件的软件定义网络框架。[官网](http://ryu.readthedocs.io/en/latest/)\n\n## 网络(Networking)\n\n用于网络编程的库。\n\n*   [uvicorn](https://github.com/encode/uvicorn) - Uvicorn是一个快如闪电的ASGI服务器实现，使用uvloop和httptools。\n*   asyncio：(Python 标准库) 异步 I/O, 事件循环, 协程以及任务。[官网](https://docs.python.org/3/library/asyncio.html) -推荐\n*   [Twisted](https://github.com/twisted/twisted)：一个事件驱动的网络引擎。[官网](https://twistedmatrix.com/trac/) -推荐\n*   pulsar：事件驱动的并发框架。[官网](https://github.com/quantmind/pulsar)\n*   diesel：基于 Greenlet 的事件 I/O 框架。[官网](https://github.com/dieseldev/diesel)\n*   pyzmq：ZeroMQ 消息库的 Python 封装。[官网](http://zeromq.github.io/pyzmq/)\n*   Toapi：轻巧，简单，快速的 Flask 库，致力于为所有网站提供 API 服务。[官网](https://github.com/gaojiuli/toapi) -推荐\n*   txZMQ：基于 Twisted 的 ZeroMQ 消息库的 Python 封装。[官网](https://github.com/smira/txZMQ)\n*   [NAPALM](https://github.com/napalm-automation/napalm) - 用于操纵网络设备的跨供应商API。\n\n### 动态消息\n\n用来创建用户活动的库。\n\n*   django-activity-stream：从你的站点行为中生成通用活动信息流。[官网](https://github.com/justquick/django-activity-stream)\n*   Stream-Framework：使用 Cassandra 和 Redis 创建动态消息和通知系统。[官网](https://github.com/tschellenbach/Stream-Framework) -推荐\n\n\n## ORM\n\n实现对象关系映射或数据映射技术的库。\n\n### 关系型数据库\n\n * Django Models：Django 的一部分。[链接](https://docs.djangoproject.com/en/dev/topics/db/models/)\n\n * SQLAlchemy：Python SQL 工具以及对象关系映射工具。[链接](http://www.sqlalchemy.org/)\n   * [awesome-sqlalchemy](https://github.com/dahlia/awesome-sqlalchemy)\n   \n * [dataset](https://github.com/pudo/dataset) - 在数据库中存储Python dicts - 适合SQLite、MySQL和PostgreSQL。\n \n * [orator](https://github.com/sdispater/orator) - Orator ORM提供了简单而漂亮的ActiveRecord实现。\n \n * [orm](https://github.com/encode/orm) - 异步ORM。\n\n * Peewee：小巧，富有表达力的 ORM, 支持postgresql, mysql and sqlite。[链接]https://github.com/coleifer/peewee)\n\n * pony：提供面向生成器的 SQL 接口的 ORM。[链接](https://github.com/ponyorm/pony/)\n\n * python-sql：编写 Python 风格的 SQL 查询。[链接](http://python-sql.tryton.org/)\n \n * [pydal](https://github.com/web2py/pydal/) - 纯Python数据库抽象层。 \n\n### NoSQL 数据库\n\n * django-mongodb-engine：Django MongoDB 后端。[链接](https://github.com/django-nonrel/mongodb-engine)\n\n * PynamoDB：Amazon DynamoDB 的一个 Python 风格接口。[链接](https://aws.amazon.com/cn/dynamodb/)\n\n * flywheel：Amazon DynamoDB 的对象映射工具。[链接](https://github.com/stevearc/flywheel)\n\n * MongoEngine：Python 对象文档映射工具，用于 MongoDB。[链接](https://github.com/MongoEngine/mongoengine)\n\n * hot-redis：为 Redis 提供 Python 丰富的数据类型。[链接](https://github.com/stephenmcd/hot-redis)\n\n * redisco：一个 Python 库，提供可以持续存在在 Redis 中的简单模型和容器。[链接](https://github.com/kiddouk/redisco)\n\n### 其他\n\n * butterdb：Google Drive 电子表格的 Python ORM。[链接](https://github.com/terrible-ideas/butterdb)\n\n * dataset ：基于JSON的数据库。[链接](https://github.com/pudo/dataset)\n\n\n## 包管理(Package Management)\n\n管理包和依赖\n\n * pip：管理包和依赖。[链接](https://github.com/pypa/pip/) [pypi](https://pypi.python.org/pypi) --强烈推荐\n\n * conda：跨平台，Python 二进制包管理工具。[链接](https://github.com/conda/conda/) --强烈推荐\n\n * Curdling：管理 Python 包的命令行工具。[链接](https://github.com/clarete/curdling)\n\n * pip-tools：保证 Python 包依赖关系更新的工具。[链接](https://github.com/jazzband/pip-tools)\n\n * wheel：Python 分发的新标准，意在取代 eggs。[链接](https://github.com/meshy/pythonwheels) --强烈推荐\n\n\n## 包仓库\n\n本地 PyPI 仓库服务和代理。\n\n * warehouse：下一代 PyPI。[链接](https://github.com/pypa/warehouse)\n\n * Warehouse：[链接](https://pypi.org/)\n\n * bandersnatch：PyPA 提供的 PyPI 镜像工具。[链接](https://bitbucket.org/pypa/bandersnatch)\n\n * devpi：PyPI 服务和打包/测试/分发工具。[链接](https://github.com/devpi/devpi/)\n\n * localshop：本地 PyPI 服务(自定义包并且自动对 PyPI 镜像)。[链接](https://github.com/mvantellingen/localshop)\n\n \n\n\n## 权限(Permissions)\n\n*允许或拒绝用户访问数据或功能的库。*\n\n* [Carteblanche](https://github.com/neuman/python-carteblanche/) - 将代码与用户和设计师的想法对齐的模块。也神奇地处理导航和权限。\n* [django-guardian](https://github.com/django-guardian/django-guardian) - 为Django 1.2+权限管理\n* [django-rules](https://github.com/dfunckt/django-rules) - 小巧但功能强大的应用程序，它为Django提供对象级权限，而不需要数据库。\n\n## 进程(Processes)\n\n*用于启动和与OS进程进行通信的库。*\n\n* [delegator.py](https://github.com/kennethreitz/delegator.py) - [Subprocesses](https://docs.python.org/3.6/library/subprocess.html)用于Humans™2.0。 --推荐\n* [sarge](http://sarge.readthedocs.io/en/latest/) - Subprocesses的另一个封装。\n* [sh](https://github.com/amoffat/sh) - 一个全面的Python子程序替代品。  --推荐\n\n## 队列(Queue)\n\n*用于处理事件和任务队列的库。*\n\n* [celery](http://www.celeryproject.org/) - 基于分布式消息传递的异步任务队列/作业队列。 --推荐\n* [daramatiq](https://github.com/Bogdanp/dramatiq) - Python 3的快速、可靠的后台任务处理库。\n* [huey](https://github.com/coleifer/huey) - 小任务队列。\n* [mrq](https://github.com/pricingassistant/mrq) - Queue先生 - 使用Redis＆gevent的Python中的分布式工作者任务队列。\n* [rq](http://python-rq.org/) - 简单的Python作业队列。 --推荐\n* [simpleq](https://github.com/rdegges/simpleq) - 一个简单的，无限可扩展的基于Amazon SQS的队列。\n\n## 推荐系统(Recommender Systems)\n\n*用于构建推荐系统的库。*\n\n* [annoy](https://github.com/spotify/annoy) - 针对内存使用进行了优化的C ++ / Python近似最近邻居。 --推荐\n* [fastFM](https://github.com/ibayer/fastFM) - 因式分解机器库。\n* [implicit](https://github.com/benfred/implicit) - 隐式数据集协作过滤的快速Python实现。\n* [libffm](https://github.com/guestwalk/libffm) - Field-aware因式分解机(FFM)库。\n* [LightFM](https://github.com/lyst/lightfm) - 一些流行推荐算法的Python实现。\n* [surprise](http://surpriselib.com) - 用于构建和分析推荐系统的scikit。\n* [TensorRec](https://github.com/jfkirk/tensorrec) - TensorFlow中的推荐引擎框架 \n \n## 重构(Refactoring)\n\n*Python的重构工具和库*。\n\n * [Bicycle Repair Man](http://bicyclerepair.sourceforge.net/) - Bicycle Repair Man，一个Python的重构工具。\n * [Bowler](https://pybowler.io/) - 现代 Python 的安全代码重构。\n * [Rope](https://github.com/python-rope/rope) - Rope是一个Python重构库。\n \n## RESTful API\n\n*用于开发RESTful API的库。*\n\n* Django\n  * [django-rest-framework](http://www.django-rest-framework.org/) - 功能强大且灵活的工具包，用于构建Web API。 --强烈推荐\n  * [django-tastypie](http://tastypieapi.org/) - 为Django应用程序创建美味的API。 --推荐\n* Flask\n  * [eve](https://github.com/pyeve/eve) - 由Flask，MongoDB提供支持的REST API框架和。  --推荐\n  * [flask-api-utils](https://github.com/marselester/flask-api-utils) - 负责Flask的API表示和身份验证。\n  * [flask-api](http://www.flaskapi.org/) - 适用于Flask的Browsable Web API。\n  * [flask-restful](https://github.com/flask-restful/flask-restful) - 快速构建适用于Flask的REST API。 --推荐\n  * [flask-restless](https://github.com/jfinkels/flask-restless) - 为使用SQLAlchemy定义的数据库模型生成RESTful API。\n* Pyramid \n  * [cornice](https://github.com/Cornices/cornice) - Pyramid的RESTful框架。\n* 其他\n  * [falcon](http://falconframework.org/) - 一个用于构建云API和Web应用后端的高性能框架。\n  * [hug](https://github.com/timothycrosley/hug) - 一个Python3框架，用于通过HTTP干净地公开API以及带有自动文档和验证的命令行。 --推荐\n  * [fastapi](https://github.com/tiangolo/fastapi) - 现代的、快速的、基于标准Python类型提示的Web框架，用于用Python 3.6+构建API。　-- 强烈推荐　[中文快速入门](https://www.jianshu.com/p/4d8120af7c4c) https://www.jianshu.com/p/4d8120af7c4c\n  * [ripozo](https://github.com/vertical-knowledge/ripozo) - 快速创建REST / HATEOAS / Hypermedia API。\n  * [sandman2](https://github.com/jeffknupp/sandman2) - 现有数据库驱动系统的自动化REST API。\n  * [apistar](https://github.com/encode/apistar) - 为Python 3设计的智能Web API框架。--推荐\n  * [vibora](https://github.com/vibora-io/vibora) - 快速、高效、异步的Web框架，灵感来自Flask。\n  * [sanic](https://github.com/sanic-org/sanic) - 异步Python 3.7+ web server/framework | 快速构建及执行。 　--推荐\n\n## RPC服务器(RPC Servers)\n\n* RPC兼容服务器。*\n\n* [SimpleJSONRPCServer](https://github.com/joshmarshall/jsonrpclib/) - 该库是JSON-RPC规范的实现。\n* [SimpleXMLRPCServer](https://docs.python.org/3/library/xmlrpc.server.html) - (Python标准库)简单的XML-RPC服务器实现，单线程。\n* [zeroRPC](https://github.com/0rpc/zerorpcpython) - zerorpc是基于[ZeroMQ](http://zeromq.org/)和[MessagePack](http：// msgpack.org/)。  --推荐\n \n \n \n## 科学(Science)\n\n\n* [astropy](http://www.astropy.org/) - 用于天文学的社区Python库。\n* [bcbio-nextgen](https://github.com/chapmanb/bcbio-nextgen) - 为全自动高通量测序分析提供最佳实践管道。\n* [bccb](https://github.com/chapmanb/bcbb) - 收集与生物分析相关的有用代码。\n* [Biopython](https://github.com/biopython/biopython) - Biopython是一套免费的生物计算工具。\n* [cclib](http://cclib.github.io/) - 用于解析和解释计算化学软件包结果的库。\n* [Color](http://colour-science.org/) - 一种颜色科学软件包，用于实现各种颜色理论转换和算法。\n* [NetworkX](https://networkx.github.io/) - 适用于复杂网络的高效软件。 \n* [NIPY](http://nipy.org) - 一套神经影像工具包。 --推荐\n* [NumPy](http://www.numpy.org/) - 用Python进行科学计算的基础软件包。 --强烈推荐\n* [Open Babel](http://openbabel.org/wiki/Main_Page) - 一种化学工具箱，专门用于讲述多种化学数据的语言。\n* [ObsPy](https://github.com/obspy/obspy/wiki/) - 地震学的Python工具箱。\n* [PyDy](http://www.pydy.org/) - Python Dynamics的缩写，用于协助动态运动建模中的工作流程。\n* [PyMC](https://github.com/pymc-devs/pymc3) - 马尔可夫链蒙特卡洛采样工具包。\n* [RDKit](http://www.rdkit.org/) - Cheminformatics和机器学习软件。\n* [SciPy](https://www.scipy.org/) - 一个基于Python的数学，科学和工程开放源码软件生态系统。 --强烈推荐\n* [statsmodels](https://github.com/statsmodels/statsmodels) - Python中的统计建模和计量经济学。 --推荐\n* [SymPy](https://github.com/sympy/sympy) - 符号数学的Python库。\n* [Zipline](https://github.com/quantopian/zipline) - Pythonic算法交易库。 --推荐\n* [SimPy](https://gitlab.com/team-simpy/simpy) - 基于流程的离散事件仿真框架。 --推荐\n\n## 搜索\n\n*用于索引和执行数据搜索查询的库和软件。*\n\n* [django-haystack](https://github.com/django-haystack/django-haystack) - Django模块化搜索。\n* [elasticsearch-dsl-py](https://github.com/elastic/elasticsearch-dsl-py) - Elasticsearch的官方高级Python客户端。\n* [elasticsearch-py](https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html) - [Elasticsearch]的官方低级Python客户端(https： //www.elastic.co/products/elasticsearch)。\n* [elasticsearch-dsl-py](https://github.com/elastic/elasticsearch-dsl-py) - 官方高级 Elasticsearch Python client .\n* [pysolr](https://github.com/django-haystack/pysolr) - Apache Solr的轻量级Python包装(包括SolrCloud认知)。\n* [solrpy](https://github.com/edsu/solrpy) - [solr]的一个Python客户端(http://lucene.apache.org/solr/)。\n* [Whoosh](http://whoosh.readthedocs.io/en/latest/) - 快速，纯粹的Python搜索引擎库。  --推荐\n\n## 序列化(Serialization)\n\n*用于序列化复杂数据类型的库*\n\n* [marshmallow](https://github.com/marshmallow-code/marshmallow) - marshmallow是一个ORM / ODM /框架无关的库，用于将复杂数据类型(如对象)转换为本机Python数据类型和从本地Python数据类型转换。\n\n* [pysimdjson](https://github.com/TkTech/pysimdjson) - A Python bindings for [simdjson](https://github.com/lemire/simdjson).\n\n* [python-rapidjson](https://github.com/python-rapidjson/python-rapidjson) - A Python wrapper around [RapidJSON](https://github.com/Tencent/rapidjson).\n\n* [ultrajson](https://github.com/esnme/ultrajson) - 用C语言编写的快速JSON解码器和编码器。\n\n\n## 无服务器框架(Serverless Frameworks\n\n*用于开发无服务器Python代码的框架。*\n\n* [python-lambda](https://github.com/nficano/python-lambda) - 用于在AWS Lambda中开发和部署Python代码的工具包。\n* [Zappa](https://github.com/Miserlou/Zappa) - AWS Lambda和API网关上部署WSGI应用程序的工具。--推荐\n\n## 特殊文本格式处理(Specific Formats Processing)\n\n一些用来解析和操作特殊文本格式的库。\n\n### 通用\n        \n * tablib：处理 XLS, CSV, JSON, YAML表格数据的模块。[链接](https://github.com/jazzband/tablib)\n\n### Office\n        \n * Marmir：把输入的Python 数据结构转换为电子表单。[链接](https://github.com/brianray/mm)\n        \n * openpyxl：用来读写 Excel 2010 xlsx/xlsm/xltx/xltm 文件的库。[链接](https://bitbucket.org/openpyxl/openpyxl) --强烈推荐\n        \n * python-docx：读取，查询以及修改 Microsoft Word 2007/2008 docx 文件。[链接](https://github.com/python-openxml/python-docx)\n        \n * unoconv：在 LibreOffice/OpenOffice 支持的任意文件格式之间进行转换。[链接](https://github.com/dagwieers/unoconv)\n        \n * XlsxWriter：一个用于创建 Excel .xlsx 文件的 Python 模块。[链接](https://github.com/jmcnamara/XlsxWriter) -- 推荐\n        \n * xlwings： Excel 中方便调用 Python 的库(反之亦然)，基于 BSD 协议。[链接](https://github.com/zoomeranalytics/xlwings)\n        \n * xlwt/xlrd：读写 MS Excel 97/2000/XP/2003 XLS  Excel 文件的数据和格式信息。[链接](https://github.com/python-excel/xlrd)\n        \n * relatorio：输出odt和pdf的模板。[链接](https://pypi.python.org/pypi/relatorio)\n\n * pyexcel：用于读取，操作和写入CSV，ODS，XLS，XLSX和XLSM文件数据的单一API。[链接](https://github.com/pyexcel/pyexcel)\n\n-- 实际pandas为第一数据处理库，支持所有excel格式, 不过会依赖上面的一些库。\n\n合并多个excel表，插件mergebooks.dll和vba可以搞定。多表统计求和VBA可以搞定，[参考资料](https://www.zhihu.com/question/20366713), 当然pandas会比它们更强大。\n\n[PyXLL](http://www.opentradingsystem.com/PythonForExcel/main.html)用于在excel中用python替代VBA.\n\nPywin32  也可通过COM口连接excel。\n        \n### PDF\n\n * PDFMiner：从PDF文档中抽取信息的工具。[链接](https://github.com/euske/pdfminer)\n        \n * PyPDF2：可以分割，合并和转换 PDF 页面的库。[链接](https://github.com/mstamy2/PyPDF2)\n        \n * ReportLab：快速创建富文本 PDF 文档。[链接](http://www.reportlab.com/opensource/)\n    \n### Markdown\n        \n * Mistune：快速并且功能齐全的纯 Python 实现的 Markdown 解析器。[链接](https://github.com/lepture/mistune)\n        \n * Python-Markdown：John Gruber’s Markdown 的 Python 版实现。[链接](https://github.com/waylan/Python-Markdown)\n        \n * Python-Markdown2：纯 Python 实现的 Markdown 解析器，比 Python-Markdown 更快，更准确，可扩展。[链接](https://github.com/trentm/python-markdown2)\n\n### YAML\n        \n * PyYAML：Python 版本的 YAML 解析器。[链接](https://github.com/yaml/pyyaml)\n\n### CSV\n        \n * csv: 标准库，csv文件读写。[链接](https://docs.python.org/2/library/csv.html)\n\n * csvkit：用于转换和操作 CSV 的工具。[链接](https://github.com/wireservice/csvkit) -- 推荐\n    \nArchive\n        \n * unp：方便解包归档文件的命令行工具。[链接](https://github.com/mitsuhiko/unp)\n \n## 静态网站生成器(Static Site Generator)\n\n* MkDocs：对 Markdown 友好的文档生成器。[链接](https://github.com/mkdocs/mkdocs/) -- 推荐\n* [makesite](https://github.com/sunainapai/makesite) - 简单、轻量级、无魔法的静态网站/博客生成器（\u003c 130行）。\n* [Lektor](https://www.getlektor.com/) - 易于使用的静态CMS和博客引擎。\n* [Nikola](https://www.getnikola.com/) - 静态网站和博客生成器。\n* [Pelican](https://blog.getpelican.com/) - 将Markdown或ReST用于内容，Jinja 2用于主题。 支持DVCS，Disqus。AGPL。 --强烈推荐\n \n## 标签(Tagging)\n\n* [django-taggit](https://github.com/alex/django-taggit) - 简单Django的标签。 \n \n## 模板引擎(Template Engine)\n\n* [Genshi](https://genshi.edgewall.org/) - 用于生成网络感知输出的Python模板工具包。\n* [Jinja2](https://github.com/pallets/jinja) - 现代和设计友好的模板语言。 -- 推荐\n* [Mako](http://www.makotemplates.org/) - Python平台的超快速和轻量级模板。\n \n\n## 文本处理(Text Processing)\n\n用于解析和操作文本的库。\n\n\n### 通用\n\n * chardet：字符编码检测器，兼容 Python2 和 Python3。[链接](https://github.com/chardet/chardet)\n\n * difflib：(Python 标准库)帮助我们进行差异化比较。[链接](https://docs.python.org/2/library/difflib.html)\n\n * ftfy：让Unicode文本更完整更连贯。[链接](https://github.com/LuminosoInsight/python-ftfy)\n  \n * hashids：在 Python 中实现 hashids 。[链接](https://github.com/davidaurelio/hashids-python)\n\n * fuzzywuzzy：模糊字符串匹配。[链接](https://github.com/seatgeek/fuzzywuzzy) --推荐\n\n * Levenshtein：快速计算编辑距离以及字符串的相似度。[链接](https://github.com/ztane/python-Levenshtein/)\n \n * [pangu.py](https://github.com/vinta/pangu.py) - Spacing texts for CJK and alphanumerics.\n\n * pyfiglet：pyfiglet -figlet 的 Python实现。[链接](https://github.com/pwaller/pyfiglet)\n\n * shortuuid：生成器库，用以生成简洁的，明白的，URL 安全的 UUID。[链接](https://github.com/skorokithakis/shortuuid)\n\n * unidecode：Unicode 文本的 ASCII 转换形式 。[链接](https://github.com/avian2/unidecode)\n\n * uniout：打印可读的字符，而不是转义的字符串。[链接](https://github.com/moskytw/uniout)\n\n * xpinyin：把汉字转换为拼音的库。[链接](https://github.com/lxneng/xpinyin)\n\n * pypinyin ：把汉字转换为拼音的库。[链接](https://github.com/mozillazg/python-pinyin)\n\n * simplejson：Python的JSON编码、解码器。[链接](https://github.com/simplejson/simplejson)\n\n * smassedit：Python的sed。[链接](https://github.com/elmotec/massedit) \n  \n### Slugify\n\n * awesome-slugify：一个 Python slug 化库，可以保持 Unicode。[链接](https://github.com/dimka665/awesome-slugify)\n\n * python-slugify：Python slug 化库，可以把 unicode 转化为 ASCII。[链接](https://github.com/un33k/python-slugify)\n\n * unicode-slugify：slug 工具，可以生成 unicode slugs ,需要依赖 Django 。[链接](https://github.com/mozilla/unicode-slugify)\n\n### 解析器\n\n * phonenumbers：解析，格式化，储存，验证国际电话号码。[链接](https://github.com/daviddrysdale/python-phonenumbers)\n\n * PLY：lex 和 yacc 解析工具的 Python 实现。[链接](https://github.com/dabeaz/ply)\n\n * Pygments：通用语法高亮工具。[链接](https://bitbucket.org/birkenfeld/pygments-main) --强烈推荐\n\n * pyparsing：生成通用解析器的框架。[链接](https://sourceforge.net/projects/pyparsing/)\n\n * python-nameparser：把人名分解为几个独立的部分。[链接](https://github.com/derek73/python-nameparser)\n\n * python-user-agents：浏览器 user agent 解析器。[链接](https://github.com/selwin/python-user-agents)\n\n * sqlparse：无验证的 SQL 解析器。官网[链接](https://github.com/andialbrecht/sqlparse)\n\n\n## 第三方 API(Third-party APIs)\n\n用来访问第三方 API的库。 参见： List of Python API Wrappers and Libraries。 [链接](https://github.com/realpython/list-of-python-api-wrappers)\n\n * apache-libcloud：为各种云设计的 Python 库。[链接](https://github.com/apache/libcloud)\n\n * boto3：Amazon Web Services 的 Python 接口。[链接](https://github.com/boto/boto3)\n\n * django-wordpress：WordPress models and views for Django.[链接](https://github.com/istrategylabs/django-wordpress)\n\n * facebook-sdk：Facebook 平台的 Python SDK.[链接](https://github.com/mobolic/facebook-sdk)\n\n * facepy：Facepy 让和 Facebook's Graph API 的交互变得更容易。[链接](https://github.com/jgorset/facepy)\n\n * gmail：Gmail 的 Python 接口。[链接](https://github.com/charlierguo/gmail)\n\n * google-api-python-client：Python 用的 Google APIs 客户端库。[链接](https://github.com/google/google-api-python-client)\n\n * gspread：Google 电子表格的 Python API.[链接](https://github.com/burnash/gspread)\n\n * twython：Twitter API 的封装。[链接](https://github.com/ryanmcgrath/twython)\n\n## URL处理(URL Manipulation)\n\n解析URLs的库\n\n * furl：处理 URL 更简单小型 Python 库。[链接](https://github.com/gruns/furl)\n\n * purl：简单的，不可变的URL类，具有简洁的 API 来进行询问和处理。[链接](https://github.com/codeinthehole/purl)\n\n * pyshorteners：纯 Python URL 缩短库。[链接](https://github.com/ellisonleao/pyshorteners)\n\n * shorturl：生成短小 URL 和类似 bit.ly 短链的Python 实现。[链接](https://github.com/Alir3z4/python-short_url)\n\n * webargs：解析 HTTP 请求参数的库，内置对流行 web 框架的支持，包括 Flask, Django, Bottle, Tornado和 Pyramid。[链接](https://github.com/sloria/webargs)\n\n\n\n## Video\n\n用来操作视频和GIF的库。\n\n * moviepy：一个用来进行基于脚本的视频编辑模块，适用于多种格式，包括动图 GIFs。[链接](https://github.com/Zulko/moviepy/)\n\n## WSGI 服务器(WSGI Servers)\n\n兼容 WSGI 的 web 服务器\n\n * gunicorn：Pre-forked, 部分是由 C 语言编写的。[链接](https://github.com/benoitc/gunicorn/) --推荐\n\n * uwsgi：uwsgi 项目的目的是开发一组全栈工具，用来建立托管服务， 由 C 语言编写。[链接](https://github.com/unbit/uwsgi-docs/blob/master/index.rst)\n\n * bjoern：异步，非常快速，由 C 语言编写。[链接](https://github.com/jonashaag/bjoern)\n\n * fapws3：异步 (仅对于网络端)，由 C 语言编写。[链接](https://github.com/william-os4y/fapws3)\n\n * meinheld：异步，部分是由 C 语言编写的。[链接](https://github.com/mopemope/meinheld)\n\n * netius：异步，非常快速。[链接](https://github.com/hivesolutions/netius)\n\n * paste：多线程，稳定，久经考验。[链接](https://bitbucket.org/ianb/paste)　--推荐\n\n * waitress：多线程, 是它驱动着 Pyramid 框架。[链接](https://github.com/Pylons/waitress/blob/master/docs/index.rst)\n\n * Werkzeug：一个 WSGI 工具库，驱动着 Flask ，而且可以很方便大嵌入到你的项目中去。[链接](https://github.com/pallets/werkzeug)　--推荐\n\n\n## 网页内容提取(Web Content Extracting)\n\n用于进行网页内容提取的库。\n\n  * Haul：可以扩展的图像爬取工具。[链接](https://github.com/vinta/Haul) \n\n  * html2text：将 HTML 转换为 Markdown 格式文本[链接](https://github.com/Alir3z4/html2text) \n\n  * lassie：人性化的网页内容检索库。[链接](https://github.com/michaelhelmick/lassie) \n\n  * micawber：一个小型网页内容提取库，用来从 URLs 提取富内容。[链接](https://github.com/coleifer/micawber) \n\n  * newspaper：使用 Python 进行新闻提取，文章提取以及内容策展。[链接](https://github.com/codelucas/newspaper) --推荐\n\n  * opengraph：用来解析开放图形协议的 Python模块。[链接](https://github.com/erikriver/opengraph) \n\n  * python-goose：HTML内容/文章提取器。[链接](https://github.com/grangier/python-goose) \n\n  * python-readability：arc90的易读性工具的移植。[链接](https://github.com/buriy/python-readability) \n  \n  * [request-html](https://github.com/psf/requests-html) - Pythonic HTML解析。\n\n  * sumy：一个为文本文件和 HTML 页面进行自动摘要的模块。[链接](https://github.com/miso-belica/sumy) \n\n  * textract：从任何格式的文档中提取文本，Word，PowerPoint，PDFs 等等。[链接](https://github.com/deanmalmgren/textract) \n\n\n\n## 网络爬虫(Web Crawling)\n\n[2018最佳人工智能数据采集(爬虫)工具书下载](https://www.jianshu.com/p/8fb0d209491c)\n\n  * Scrapy：快速高级的屏幕爬取及网页采集框架。[链接](https://github.com/scrapy/scrapy) --强烈推荐\n\n  * cola：高层分布式爬虫框架。[链接](https://github.com/chineking/cola) \n\n  * Demiurge：基于PyQuery 的爬虫微型框架。[链接](https://github.com/matiasb/demiurge) \n\n  * feedparser：通用 feed 解析器。[链接](https://github.com/kurtmckee/feedparser) \n\n  * Grab：站点爬取框架。[链接](https://github.com/lorien/grab/) \n\n  * MechanicalSoup：用于自动和网络站点交互的 Python 库。[链接](https://github.com/MechanicalSoup/MechanicalSoup) \n\n  * portia：Scrapy 可视化爬取。[链接](https://github.com/scrapinghub/portia) --推荐\n\n  * pyspider：一个强大的爬虫系统。[链接](https://github.com/binux/pyspider) --强烈推荐\n\n  * RoboBrowser：一个简单的，Python 风格的库，用来浏览网站，而不需要一个独立安装的浏览器。[链接](https://github.com/jmcarp/robobrowser) \n\n  * MechanicalSoup：用于自动和网络站点交互的 Python 库。[链接](https://github.com/MechanicalSoup/MechanicalSoup) \n\n\n\n## Web 框架(Web Frameworks)\n\n全栈 Web 框架。\n\n * Django：Python 界最流行的 web 框架。[链接](https://github.com/django/django) wesome-django系列 [awesome-django](https://github.com/wsvincent/awesome-django) --强烈推荐\n   * [awesome-django](https://github.com/shahraizali/awesome-django)\n   * [awesome-django](https://github.com/wsvincent/awesome-django)\n\n * Flask：Python 微型框架。[链接](https://github.com/pallets/flask)  awesome-flask系列 [链接](https://github.com/humiaozuzu/awesome-flask) --强烈推荐 python web框架第一名\n   * [awesome-flask](https://github.com/humiaozuzu/awesome-flask)\n\n * pyramid：一个小巧，快速，接地气的开源Python web 框架。[链接](https://github.com/Pylons/pyramid/) \n        awesome-pyramid系列 [链接](https://github.com/uralbash/awesome-pyramid) \n\n * Bottle：一个快速小巧，轻量级的 WSGI 微型 web 框架。[链接](https://github.com/bottlepy/bottle)  --推荐\n\n * CherryPy：一个极简的 Python web 框架，支持HTTP/1.1 协议且具有WSGI 线程池。[链接](https://github.com/cherrypy/cherrypy) \n\n * sanic：python3 快速的web服务器，类似flask。[链接](https://github.com/channelcat/sanic) --推荐\n\n * web.py：既简单，又强大的web 框架。[链接](https://github.com/webpy/webpy/tree/master) \n\n * TurboGears：易于扩展的全栈微框架。[链接](https://github.com/TurboGears/tg2) \n\n * web2py：全栈 web 框架和平台，用于安全数据库访问的web用。[链接](https://github.com/web2py/web2py) \n \n * [Masonite](https://github.com/MasoniteFramework/masonite) - 现代和以开发者为中心的Python网络框架。\n\n * Tornado - web 框架和异步网络库. [链接](https://github.com/tornadoweb/tornado/blob/master/docs/index.rst)\n\n\n\n## WebSocket\n\n * AutobahnPython：WebSocket \u0026 WAMP 基于 Twisted 和 asyncio。[链接](https://github.com/crossbario/autobahn-python)\n \n * Crossbar：开源统一应用路由(Websocket \u0026 WAMP for Python on Autobahn).[链接](https://github.com/crossbario/crossbar/) \n\n * django-channels：Django异步。[链接](https://github.com/django/channels) \n\n * django-socketio：Django WebSocket。[链接](https://github.com/stephenmcd/django-socketio)\n\n * WebSocket-for-Python：为Python2/3 以及 PyPy 编写的 WebSocket 客户端和服务器库。[链接](https://github.com/Lawouach/WebSocket-for-Python) \n \n## 监控\n\n[python应用性能监控工具简介](https://china-testing.github.io/python_monitor.html) https://china-testing.github.io/python_monitor.html\n\n  * [sentry](https://github.com/getsentry/sentry) Sentry is cross-platform application monitoring, with a focus on error reporting. https://sentry.io 推荐\n  * [Graphite](https://github.com/graphite-project/graphite-web/blob/master/docs/overview.rst) 存储时间序列数据，并通过Django Web应用程序在图形中显示它们。 \n\n# Services\n\nOnline tools and APIs to simplify development.\n\n## Continuous Integration\n\n*Also see [awesome-CIandCD](https://github.com/ciandcd/awesome-ciandcd#online-build-system).*\n\n* [CircleCI](https://circleci.com/) - A CI service that can run very fast parallel testing.\n* [Travis CI](https://travis-ci.org) - A popular CI service for your open source and [private](https://travis-ci.com) projects. (GitHub only)\n* [Vexor CI](https://vexor.io) - A continuous integration tool for private apps with pay-per-minute billing model.\n* [Wercker](http://www.wercker.com/) - A Docker-based platform for building and deploying applications and microservices.\n\n## Code Quality\n\n* [Codacy](https://www.codacy.com/) - Automated Code Review to ship better code, faster.\n* [Codecov](https://codecov.io/) - Code coverage dashboard.\n* [CodeFactor](https://www.codefactor.io/) - Automated Code Review for Git.\n* [Landscape](https://landscape.io/) - Hosted continuous Python code metrics.\n* [PEP 8 Speaks](https://pep8speaks.com/) - GitHub integration to review code style.\n\n# Resources\n\nWhere to discover new Python libraries.\n\n## Podcasts\n\n* [From Python Import Podcast](http://frompythonimportpodcast.com/)\n* [Podcast.init](https://podcastinit.com/)\n* [Python Bytes](https://pythonbytes.fm)\n* [Python Testing](http://pythontesting.net)\n* [Radio Free Python](http://radiofreepython.com/)\n* [Talk Python To Me](https://talkpython.fm/)\n* [Test and Code](https://testandcode.com/)\n\n## Twitter\n\n* [@codetengu](https://twitter.com/codetengu)\n* [@getpy](https://twitter.com/getpy)\n* [@importpython](https://twitter.com/importpython)\n* [@planetpython](https://twitter.com/planetpython)\n* [@pycoders](https://twitter.com/pycoders)\n* [@pypi](https://twitter.com/pypi)\n* [@pythontrending](https://twitter.com/pythontrending)\n* [@PythonWeekly](https://twitter.com/PythonWeekly)\n* [@TalkPython](https://twitter.com/talkpython)\n* [@realpython](https://twitter.com/realpython)\n\n## Websites\n\n* [/r/CoolGithubProjects](https://www.reddit.com/r/coolgithubprojects/)\n* [/r/Python](https://www.reddit.com/r/python)\n* [Awesome Python @LibHunt](https://python.libhunt.com/)\n* [Django Packages](https://djangopackages.org/)\n* [Full Stack Python](https://www.fullstackpython.com/)\n* [Python Cheatsheet](https://www.pythoncheatsheet.org/)\n* [Real Python](https://realpython.com)\n* [The Hitchhiker’s Guide to Python](https://docs.python-guide.org/)\n* [Ultimate Python study guide](https://github.com/huangsam/ultimate-python)\n* [Python ZEEF](https://python.zeef.com/alan.richmond)\n* [Python 开发社区](https://www.ctolib.com/python/)\n* [Real Python](https://realpython.com)\n* [Trending Python repositories on GitHub today](https://github.com/trending?l=python)\n* [Сообщество Python Программистов](https://python-scripts.com/)\n* [Pythonic News](https://news.python.sc/)\n\n## Weekly\n\n* [CodeTengu Weekly 碼天狗週刊](https://weekly.codetengu.com/)\n* [Import Python Newsletter](http://importpython.com/newsletter/)\n* [Pycoder's Weekly](http://pycoders.com/)\n* [Python Weekly](http://www.pythonweekly.com/)\n* [Python Tricks](https://realpython.com/python-tricks/)\n\n\n### 持续更新\n\nwechat： pythontesting\n\n## Websites\n\n* [/r/CoolGithubProjects](https://www.reddit.com/r/coolgithubprojects/)\n* [/r/Python](https://www.reddit.com/r/python)\n* [Awesome Python @LibHunt](https://python.libhunt.com/)\n* [Django Packages](https://djangopackages.org/)\n* [Full Stack Python](https://www.fullstackpython.com/)\n* [Python Cheatsheet](https://www.pythoncheatsheet.org/)\n* [Python Hackers](http://www.oss.io/open-source/)\n* [Python ZEEF](https://python.zeef.com/alan.richmond)\n* [Python 开发社区](https://www.ctolib.com/python/)\n* [Real Python](https://realpython.com)\n* [Trending Python repositories on GitHub today](https://github.com/trending?l=python)\n* [Сообщество Python Программистов](https://python-scripts.com/)\n\n## Weekly\n\n* [CodeTengu Weekly 碼天狗週刊](https://weekly.codetengu.com/)\n* [Import Python Newsletter](http://importpython.com/newsletter/)\n* [Pycoder's Weekly](http://pycoders.com/)\n* [Python Weekly](http://www.pythonweekly.com/)\n* [Python Tricks](https://realpython.com/python-tricks/)\n\n\n","funding_links":[],"categories":["Python"],"sub_categories":["3. Course and Code"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchina-testing%2Fpython-api-tesing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchina-testing%2Fpython-api-tesing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchina-testing%2Fpython-api-tesing/lists"}