程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Thousands of Python class libraries have been sorted out, which is really cool!

編輯:Python

Python ecology , It has always been famous for its complete class libraries , This is also an important reason why this language is so popular . Today, brother radish will share with you the results of these days , busy with state affairs , Nearly a thousand have been sorted out without sleep Python library , While collecting , It's too much to see !

At the end of the article, you can get the complete high-definition version of mind map !

Data processing

Text processing

  • chardet: Character encoding detector , The library can detect text 、 Webpage 、xml And other file formats

  • difflib: Text difference comparison

  • ftfy: Make the program more perfect support Unicode code

  • fuzzywuzzy: You can perform fuzzy string matching

  • Levenshtein: Calculate various distances and string similarity

  • pangu.py: Adjust the letters in CJK characters 、 Number spacing

  • pypinyin: Chinese pinyin conversion tool

  • shortuuid: Used to generate UUID

  • simplejson:JSON code 、 decoder

  • unidecode:Unicode Format operation

  • uniout: Print character , No escape

  • xpinyin: Converting Chinese characters into Pinyin

  • yfiglet-figlet:pyfiglet -figlet Of Python Realization

  • flashtext: For text find replace

  • esmre: Speed up regular expressions

  • awesome slugify: Used for processing Unicode

  • python-slugify: hold unicode Turn into ASCII

  • unicode-slugify: Can generate unicode slugs, Depend on and depend on Django

  • phonenumbers: For parsing 、 format 、 Save and verify phone numbers

  • PLY:lex and yacc Parsing tool

  • Pygments: Syntax highlighting tool

  • pyparsing: General purpose parsers can be generated

  • python-nameparser: Break down a person's name into separate parts

  • python-user-agents: browser user agent Parser

  • sqlparse:SQL Parser

Special text processing

  • tablib: Used to process tabular data

  • Marmir: hold Python Data structure converted to E-form

  • openpyxl: For reading and writing Excel Document library

  • pyexcel: One provides a unified API, Used for operation Excel Document library

  • python-docx: operation Word file

  • relatorio: templated OpenDocument file

  • unoconv: transformation LibreOffice/OpenOffice File format

  • XlsxWriter: Used to create Excel.xlsx file

  • xlwings: In a Excel Call in Python The library of

  • xlwt/xlrd: Reading and writing Excel File data

  • PDFMiner: One is used to get from PDF A library for extracting information from documents

  • PyPDF2: One can perform multiple operations PDF Page Library

  • ReportLab: You can create rich text PDF file

  • Mistune:Markdown Parser

  • Python-Markdown: There is one Markdown Parser

  • Python-Markdown2: pure Python Realized Markdown Parser , Than Python-Markdown faster , More accurate , Scalable

  • PyYAML:YAML Parser

  • csvkit: operation CSV Tools for

  • unp: A command line tool for unpacking archive files

HTML/XML analysis

  • BeautifulSoup: analysis HTML or XML Format data

  • bleach: Whitelist based HTML Clean up and text link library

  • cssutils:CSS library

  • html5lib:HTML Document and fragment parsing and serialization Libraries

  • lxml: One is used to deal with HTML and XML The library of

  • MarkupSafe:XML/HTML/XHTML Tag security string

  • pyquery: An analysis HTML The library of , similar jQuery

  • requests-html: Humanized HTML Parsing library

  • untangle: take XML Document conversion to Python object

  • xhtml2pdf:HTML/CSS turn PDF Tools

  • xmltodict: Like dealing with JSON Handle it the same way XML

  • htmlparser, Official version analysis HTML DOM Trees

Document processing

  • aiofiles: be based on asyncio File asynchronous operation library

  • imghdr: Test picture type

  • mimetypes: Map the filename to MIME type

  • path.py: More convenient path operation module

  • pathlib: Cross platform 、 Object oriented path operation library

  • python-magic: File type detection

  • Unipath: Operating files and directories in an object-oriented way

  • pickle/cPickle: The basic data sequence and deserialization are realized

  • watchdog: Tools for managing file system events

Profile processing

  • ConfigParser:ini File parser

  • configobj:ini File parser

  • profig: Multi format configuration conversion tool

  • config: Hierarchical configuration module

  • python-decouple: Completely isolate the settings from the code

Document related

  • Sphinx: Document generator

  • mkdocs:Markdown Document format generator

  • pycco: Simple and fast 、 Programming style document generator

  • pdoc: Tools for generating documents in various formats from source code comments

  • readthedocs: One is based on Sphinx/MkDocs Online document hosting system

Log management

  • logging: Provide log function

  • logbook:Logging Alternatives to the library

  • Eliot: Create logs for complex and distributed systems

  • Raven:Sentry Of Python client

  • Sentry: Servers that record and collect logs in real time

Date and time

  • arrow: Very good date and time operation class library

  • Chronyk: Time and date used to parse handwritten format

  • dateutil:datetime Module expansion

  • delorean: solve Python Library of date processing problems in

  • maya: Humanized time processing library

  • moment: Used to handle time and date Python library

  • pendulum: A ratio arrow More explicit 、 A library of time operations for predictable behavior

  • PyTime: Used to manipulate dates through strings / Time

  • pytz: Modern and historical versions of the world time zone definition

  • when.py: Perform common date and time operations

The image processing

The image processing

  • pillow: Is a more easy-to-use image operation Library

  • hmap: Image histogram mapping

  • imgSeek: Use visual similarity to search a set of image collection tools

  • nude.py: Naked test

  • pyBarcode: stay Python Barcode generated in the program

  • pygram: similar Instagram The image filter

  • python-qrcode: A two-dimensional code generator

  • Quads: Computer art based on quadtree

  • scikit-image: A library for image processing

  • thumbor: A small image service

  • wand:MagickWand Of Python edition

  • face_recognition: Easy to use face recognition database

OCR

  • pyocr:Tesseract and Cuneiform An encapsulation of

  • pytesseract:Google Tesseract OCR Another package of

  • python-tesseract:Google Tesseract OCR A packaging class of

Network related

download

  • s3cmd: Used to manage Amazon S3 and CloudFront Command line tools for

  • s4cmd:S3 Command line tools

  • you-get:YouTube/Youku/Niconico Video Downloader

  • youtube-dl: To download YouTube Video tools

  • Coursera: It can be downloaded from http://coursera.org Download Video

  • subliminal: A library for searching and downloading subtitles

HTTP

  • aiohttp: be based on asyncio The asynchronous HTTP library

  • requests: The most popular HTTP Request Library

  • grequests:requests library + gevent Achieve asynchrony HTTP request

  • httplib2:HTTP Client library

  • treq: similar requests Of HTTP client

  • urllib3: A thread safe HTTP library

Network Visualization

  • Mininet: A popular network simulator

  • POX: One is based on Python The software defines network applications

  • Pyretic: Provides powerful abstraction capabilities for network switches and simulators

  • SDX Platform: be based on SDN Of IXP Realization

  • NRU: A component-based software definition network framework

URL Handle

  • furl: Simpler handling URL library

  • purl: A simple 、 Immutable URL class

  • pyshorteners: A pure Python URL Shorten the library

  • shorturl: Generate short URL The library of

Web crawler

  • Scrapy: A fast and advanced network acquisition framework

  • cola: A distributed crawler framework

  • Demiurge: be based on PyQuery Crawler frame of

  • feedparser:feed Parser

  • Grab: Site crawling frame

  • MechanicalSoup: Libraries for automatic interaction with web sites

  • portia:Scrapy Visual crawler

  • pyspider: A powerful crawler tool

  • RoboBrowser: A simple website browsing tool

Web content extraction

  • Haul: An extensible image crawling tool

  • html2text: take HTML Convert to Markdown Format

  • lassie: Web content search library

  • micawber: Web content extraction Library , Used to from URLs Extract rich content

  • newspaper: To extract news , Article extraction and content curation

  • opengraph: Modules used to parse open content protocols

  • python-goose:HTML Content / Article extractor

  • python-readability:readability The tool Python Interface

  • sanitize: Clutter data adjustment

  • sumy: For text files and HTML Page automatic summary of the module

  • textract: Extract text from documents of any format

  • mechanize: Web browsing tools

WebSocket

  • AutobahnPython:WebSocket & WAMP Tools

  • Crossbar: Open source unified application routing

  • django-socketio: to Django With WebSockets Tools

  • WebSocket-for-Python:WebSocket Client and server Libraries

RPC

  • SimpleJSONRPCServer: yes JSON-RPC An implementation of the specification

  • SimpleXMLRPCServer: ordinary XML-RPC Server implementation

  • zeroRPC: It's a good one RPC Realization

Web frame

Full stack framework

  • Django:Python The most popular web frame

  • Flask: A micro Web frame

  • pyramid: A small and fast open source Web frame

  • Bottle: A quick little , Lightweight WSGI miniature Web frame

  • CherryPy: A minimalist Of Web frame

  • TurboGears: A micro framework that can be extended to a full stack solution

  • web.py: A simple , Powerful Web frame

  • web2py: A whole stack Web frame

  • Tornado: One Web Framework and asynchronous network library

  • sanic: Asynchronous network framework

  • Karrigell: ordinary Web frame

  • PyDBLitewebpy: A small and flexible Web frame

  • Quixote: One Web Development framework

  • Grok: be based on Zope3 Of Web frame

  • Bluebream: Open source Web application server

  • guava: Lightweight high performance Web frame

CMS

  • odoo-cms: Open source enterprise class CMS

  • django-cms: Open source enterprise class CMS

  • djedi-cms: Lightweight but very powerful Django CMS

  • FeinCMS: be based on Django Built advanced content management system

  • Kotti: An advanced web Application framework

  • Mezzanine: A powerful and flexible content management platform

  • Opps: A website designed for magazines and newspapers CMS platform

  • Plone: An open source application server Zope Above CMS

  • Quokka: Flexible and scalable small CMS

  • Wagtail: One Django Content management system

  • Widgy: Abreast of the times CMS frame , be based on Django

Web jurisdiction / Security

  • Carteblanche: Code alignment module , Well handled code navigation and permissions

  • django-guardian: Single object permissions

  • django-rules: A small but powerful application , Provides object level rights management

  • Flask-OAuthlib:Flask Of OAuth tool kit

  • django-oauth-toolkit: by Django User prepared OAuth2

  • django-allauth:Django Verification module for

  • Authomatic: Simple but powerful framework , Authentication / Licensing clients

Business framework

  • django-oscar: One for the Django E-commerce framework

  • django-shop: be based on Django The store system

  • Cartridge: be based on Mezzanine Build shopping cart application

  • shoop: be based on Django E-commerce platform

  • alipay: Alipay API

  • merchant: Can receive payment from multiple payment platforms Django application

  • money: Currency class library

  • python-currencies: Display currency format and its value

Restful API

  • django-rest-framework: One is based on Django Tools for , Used to build Web API

  • django-tastypie: by Django application development API Tools

  • django-formapi:Django Form validation tool

  • flask-api: by flask Developed API Tools

  • flask-restful: by flask Quick creation REST APIs Tools for

  • flask-restless: by SQLAlchemy Database model RESTful APIs

  • flask-api-utils: by Flask Handle API Presentation and validation

  • eve: from Flask, MongoDB Wait for the drive Of  REST API frame

  • cornice: One Pyramid Of REST frame

  • falcon: Used to build the cloud API and Web app High performance framework at the back end

  • sandman: Automatically create... For database driven systems REST APIs

  • restless: Frame independent REST frame

  • ripozo: Quick creation REST APIs Tools

template engine

  • Jinja2: A modern friendly template engine

  • Chameleon: One HTML/XML template engine

  • Genshi: Used to generate Web The result of perception

  • Mako: Ultra high speed lightweight template

queue

  • celery: An asynchronous task queue / Job queue

  • huey: Small multithreaded task queue

  • mrq: Distributed worker Task queue , Use Redis and gevent

  • rq: Simple job queue tool

  • simpleq: A simple Amazon based SQS Queues

Search for

  • django-haystack:Django Modular search tools

  • elasticsearch-py:Elasticsearch The official bottom floor of Python client

  • elasticsearch-dsl-py:Elasticsearch The official senior Python client

  • solrpy:solr Of Python client

  • Whoosh: A fast pure Python Search engine developed

Dynamic news

  • django-activity-stream: Generate generic activity information flow from site behavior

  • Stream-Framework: Use Cassandra and Redis Create dynamic messaging and notification systems

Resource management

  • django-compressor: Link and inline JavaScript or CSS Compress into a separate cache file

  • django-storages: in the light of Django A collection of tools for storing backend

  • fanstatic: pack 、 Optimize and treat static file dependencies as Python To provide

  • File Conveyor: Used to discover and synchronize files to CDNs,S3 and FTP

  • Flask-Assets: take Web Integrate resources into Flask app in

  • jinja-assets-compressor: Used to compile and compress resources

  • webassets: Package static resources 、 Optimize and manage , Generate a unique cache URL

cache

  • Beaker: Cache session Library

  • django-cache-machine: Automatic caching and invalidation tools

  • django-cacheops: With automatic granular event driven failure function ORM

  • django-viewlet: Rendering templates and additional cache control functions

  • dogpile.cache: yes Beaker Next generation alternatives to

  • HermesCache: Cache Library , Has label based failures and dogpile effect Protection function

  • johnny-cache:django Application caching framework

  • pylibmc:libmemcached Interface encapsulation

Forms

  • Deform:HTML Form generation library

  • django-bootstrap3: Integrated Bootstrap3 Of Django

  • django-crispy-forms: In a very elegant and DRY(Don't repeat yourself) To create beautiful forms

  • django-remote-forms: A platform is independent Django Form serialization tool

  • WTForms: A flexible form validation and rendering Library

  • WTForms-JSON:WTForms Expand , Used for processing JSON data

data validation

  • Cerberus: Map validator

  • colander: For slave XML, JSON,HTML A system in which a form obtains data and serializes the data for verification and deserialization

  • kmatch: One for matching / verification / Tools for filtering Dictionaries

  • schema: Used to deal with Python Database for data structure validation

  • Schematics: Used for data structure verification

  • valideer: Lightweight data validation and adaptation Library

  • voluptuous: Data validation Library , Mainly to verify the incoming Python Of JSON,YAML Data such as

E-mail

  • django-celery-ses: with AWS SES and Celery Of email Back end

  • envelopes: Humanized e-mail Library

  • flanker: One email Address and Mime Parsing library

  • imbox:IMAP library

  • inbox.py:SMTP The server

  • inbox: Open source email toolkit

  • lamson:Python Style SMTP application server

  • mailjet: Provide bulk mail sending , Statistics and other functions

  • marrow.mailer: High performance extensible mail distribution framework

  • modoboa: Mail hosting and management platform

  • pyzmail: establish 、 Send and parse email

  • Talon: Used to extract information and signatures

  • django-simple-captcha: A simple 、 Highly customizable Django application

  • django-simple-spam-blocker: One for the Django A simple electronic waste screening tool

URL

  • webargs: analysis HTTP The library requesting parameters

  • short_url: Short URL generation

internationalization

  • Babel: One Python International Library of

  • Korean: A Korean word state library

Management panel

  • Ajenti: A management panel worth having

  • django-suit:Django An alternative to the management interface

  • django-xadmin:Django admin An alternative to

  • flask-admin: One for the Flask A simple and extensible management interface framework

  • flower: One right Celery Cluster for real-time monitoring and providing Web Tools for managing interfaces

  • Grappelli:Django Management interface for a beautiful skin

  • Wooey: It can be for Python Script creation Web The user interface

Static site generation

  • Pelican: adopt Markdown or ReST To deal with content , Use Jinja2 To make a theme

  • Cactus: Static site builder for professional designers

  • Hyde: be based on Jinja2 Static site generator for

  • Nikola: Static websites and blog generators

  • Tinkerer: A blog engine / Static site builder

  • Lektor: A simple and easy-to-use static CMS And blog engine

  • Tags: The simplest static website generator

WSGI The server

  • gunicorn: Partly by C Written in language WSGI Tools

  • uwsgi: Used to build hosted services

  • bjoern: Asynchronous speed is very fast

  • fapws3: asynchronous , from C Language writing

  • meinheld: Asynchronous Server

  • netius: asynchronous , Very fast

  • paste: Multithreading , Stable , Time-tested

  • rocket: Multithreading

  • waitress: Multithreading

  • Werkzeug: One WSGI Tool library

ORM

  • Django Models:Django An important part of

  • SQLAlchemy:SQL Tools and object relational mapping tools

  • Peewee: A compact ORM

  • PonyORM: Provide generator oriented SQL  ORM

  • python-sql:Python Style SQL Inquire about

  • django-mongodb-engine:Django MongoDB Back end

  • PynamoDB:Amazon DynamoDB Backend

  • flywheel:Amazon DynamoDB Object mapping tool

  • MongoEngine: be used for MongoDB Object document mapping tool

  • hot-redis: by Redis Back end provided

  • redisco: Provision can persist in Redis Simple models and containers in

  • butterdb:Google Drive Of a spreadsheet Python ORM

Location

  • GeoDjango: World class geographic graphics Web frame

  • GeoIP:MaxMind GeoIP Legacy Database API

  • geojson:GeoJSON Of Python Tools

  • geopy: Address coding toolbox

  • pygeoip: pure Python GeoIP API

  • django-countries: Provides country selection functions for forms , Flag Icon static file and country field in model

System

process

  • envoy: Than subprocess More humanized modules

  • sarge: The other Kind of subprocess Packaging of modules

  • sh:subprocess Alternative Library

  • subprocess: call shell The artifact of command

Concurrent / parallel

  • multiprocessing: Process based “ Threads ” Interface

  • threading: Higher level thread interface

  • eventlet: Support WSGI The asynchronous framework of

  • gevent: Based on the agreement Python The network library

  • Tomorrow: A library for generating asynchronous code

  • uvloop: stay libuv Super fast implementation asyncio Event loop library

Database correlation

Python Implemented database

  • pickleDB: Simple lightweight key value storage database

  • PipelineDB: streaming SQL database

  • TinyDB: Micro document oriented database

  • ZODB: Key value and object graph database

Database driven

  • aiomysql: be based on asyncio The asynchronous MySQL Database operation Library

  • mysql-python:MySQL Database connector

  • mysqlclient:mysql-python Branch

  • oursql: A better MySQL The connector

  • PyMySQL: pure Python MySQL drive

  • psycopg2: One of the most popular PostgreSQL Adapter

  • queries:psycopg2 Encapsulation of Libraries

  • txpostgres: be based on Twisted The asynchronous PostgreSQL drive

  • apsw:SQLite encapsulation

  • dataset: Store... In a database Python Dictionaries

  • pymssql: A simple Microsoft SQL Server Database interface

  • cassandra-python-driver:Cassandra Of Python drive

  • HappyBase: by Apache HBase The library of design

  • Plyvel: A fast and feature rich LevelDB Interface library for

  • py2neo:Neo4j restful Interface encapsulation client

  • pycassa:Cassandra Of Python Thrift drive

  • PyMongo:MongoDB The official Python client

  • redis-py:Redis Of Python client

  • telephus: be based on Twisted Of Cassandra client

  • txRedis: be based on Twisted Of Redis client

Security

OAuth

  • OAuthLib: One OAuth request - Signature Library

  • python-oauth2: Fully tested abstract interfaces

  • python-social-auth: Set up a simple social verification method

  • rauth:OAuth 1.0/a, 2.0, and Ofly Of Python library

  • sanction: Super simple OAuth2 Client implementation

password

  • cryptography: Provide basic contents and methods of cryptography

  • hashids: stay Python To realize hashids

  • Paramiko: Provide ssh Client and server functions

  • Passlib: Secure password storage / Hashiku

  • PyCrypto: Cryptography toolbox

  • PyNacl: Network and cryptography library

other

  • jose:JavaScript Implementation of object signature and encryption draft

  • PyJWT:JSON Web token

  • python-jws:JSON Web Signature

  • python-jwt: Used to generate and validate JSON Web Token module

  • Permissions: Allow or deny users access to data or functions

Artificial intelligence

natural language processing

  • NLTK: Advanced programs for processing human language data

  • jieba: Chinese word segmentation tools

  • langid.py: Independent language recognition system

  • SnowNLP: A library for processing Chinese text

  • TextBlob: Natural language processing tools

  • TextGrocery: Simple and efficient short text classification tool

  • thulac: A set of Chinese lexical analysis toolkit developed and launched by the laboratory of natural language processing and social humanities computing of Tsinghua University

  • loso: Chinese word segmentation function library

Computer vision

  • OpenCV: Open source computer vision library

  • pyocr:Tesseract and Cuneiform The packaging library

  • pytesseract:Google Tesseract OCR The packaging library

  • SimpleCV: An open source framework for creating computer vision applications

machine learning / Deep learning

  • Caffe: Caffe Of Python Interface

  • Caffe2: A lightweight 、 Modular , Extensible deep learning framework

  • Crab: flexible 、 Fast recommendation engine

  • gensim: Humanized topic modeling library

  • hebel: Deep learning library

  • keras: neural network

  • MXNet: Efficient and flexible deep learning framework

  • NuPIC: Intelligent Computing Numenta platform

  • pattern: Network mining module

  • PyBrain: Machine learning library

  • pydeep: Deep learning library

  • Pylearn2: be based on Theano Machine learning library

  • python-recsys: The library used to implement the recommendation system

  • Pytorch: Deep learning framework with tensor and dynamic neural network

  • scikit-learn: be based on SciPy Built machine learning module

  • skflow: One TensorFlow The simplified interface

  • TensorFlow: Google's most popular open source deep learning framework

  • Theano: Fast numerical computation library

  • vowpalporpoise: Lightweight Vowpal Wabbit Encapsulation

  • Milk: Machine learning toolbox

  • PyMVPA(Multivariate Pattern Analysis in Python): Provide statistical learning analysis for big data sets Python tool kit , It provides a flexible and extensible framework

Scientific calculation and data analysis

Data processing

  • astropy: Astronomy related libraries

  • bcbio-nextgen: Provide a best practice process for fully automated high-throughput sequencing analysis

  • bccb: Bioanalysis

  • Biopython: It's a set of free tools for biological computing

  • blaze:NumPy and Pandas Big data interface

  • cclib: A library for parsing and interpreting the output of computational chemistry software packages

  • NetworkX: High performance tools designed for complex networks

  • Neupy: Perform and test various artificial neural network algorithms

  • Numba: For data science Python

  • NumPy: The basic package for Scientific Computing

  • Open Babel: Used to describe a variety of chemical data

  • Open Mining: Use Python Mining business intelligence

  • orange: Data mining , Data visualization , Analysis and machine learning

  • Pandas: Data structure and data analysis tools

  • PyDy: It is used to help the workflow of dynamic motion modeling

  • PyMC: Markov chain Monte Carlo sampling tool

  • RDKit: Chemical informatics and machine learning software

  • SciPy: Used in mathematics , Open source software for science and Engineering

  • statsmodels: Statistical modeling and Econometrics

  • SymPy: Library for symbolic mathematics

  • zipline: Algorithmic transaction Library

  • Bayesian-belief-networks: Elegant Bayesian belief network framework

  • ScientificPython: For scientific calculation

  • visvis: Visual computing module library

Data visualization

  • matplotlib: One of the most popular Python Drawing library

  • bokeh: Interactive Web mapping

  • ggplot:ggplot2 Of Python edition

  • plotly: be based on matplotlib Working Web Drawing library

  • pyecharts: Based on Baidu Echarts Data visualization Library of

  • pygal:SVG Chart creation tool

  • pygraphviz:Graphviz Of Python Realization

  • PyQtGraph: Interactive real-time image rendering component

  • SnakeViz: Browser based module output result viewing tool

  • vincent: hold Python Convert to Vega Grammar conversion tools

  • VisPy: be based on OpenGL High performance scientific visualization tools

GUI And game development

GUI

  • curses: The built-in ncurses encapsulation , Used to create terminal GUI

  • enaml: Create a beautiful user interface

  • kivy: A library for creating user interactive applications

  • pyglet: Cross platform windows and multimedia libraries

  • PyQt: Cross platform user interface framework

  • PySide: Cross platform user interface framework Qt

  • Tkinter:GUI Standard library

  • Toga: Operating system native GUI tool kit

  • urwid: Used to create a terminal GUI Application Library

  • wxPython: yes wxWidgets C++ Class library and Python The product of language mixing

  • PyGObject:GLib/GObject/GIO/GTK+ (GTK+3) Of Python Realization

  • Flexx: establish GUI The toolset of the program , It USES web Technology for interface display

  • PyGtk:GUI Program development library

  • turtle:Python The drawing tool of

Game development

  • Cocos2d: To develop 2D The tools of the game

  • Panda3D:3D The game engine

  • Pygame: The most popular module for writing games

  • PyOgre: Used to develop games and simulation programs

  • PyOpenGL:OpenGL Of Python Binding and related APIs

  • PySDL2:SDL2 Encapsulation of Libraries

  • RenPy: A visual fiction engine

  • PySFML: Visual fiction engine

Audio and video

Audio

  • audiolazy: Digital signal processing package

  • audioread: Cross library audio decoding

  • beets: Music library management tools

  • dejavu: Audio fingerprint extraction and recognition

  • django-elastic-transcoder:Django + Amazon Elastic Transcoder

  • eyeD3: A tool for manipulating audio files

  • id3reader: For reading MP3 Metadata

  • m3u8: Used to resolve m3u8 Module of file

  • mutagen: Used to process audio metadata

  • pydub: Working with audio files

  • pyechonest:Echo Nest API Of Python client

  • talkbox: To deal with speeches / The signal

  • TimeSide: Open source Web Audio processing framework

  • tinytag: For reading MP3, OGG, FLAC as well as Wave Library of file music metadata

  • mingus: Advanced music theory and score pack

video

  • moviepy: Used for script based video editing module

  • scikit-video:SciPy Video processing routines

  • shorten.tv: Video summary

Test related

The test framework

  • unittest: Unit test framework

  • nose: Expanded unittest The function of

  • contexts:BDD frame

  • hypothesis: Based on advanced Quickcheck A test library of style features

  • mamba:Python The ultimate test tool

  • PyAutoGUI:PyAutoGUI It's a personal cross platform GUI Automatic test module

  • pyshould: be based on PyHamcrest The test module of

  • pytest: Mature full function testing tools

  • green: Clean and colorful testing tools

  • pyvows:BDD Style testing tools

  • Robot Framework: A common automated testing framework

Web test

  • Selenium:Selenium WebDriver Of Python Realization

  • locust: Scalable user stress testing tools

  • sixpack: Not related to language A/B The test framework

  • splinter: Open source Web Application testing tools

Mock test

  • mock: A library for falsifying test data

  • doublex: Powerful doubles   The test framework

  • freezegun: Date forgery module

  • httmock: The library of forged requests

  • httpretty:HTTP request mock Tools

  • responses: forge requests Requested Library

  • VCR.py: Record and replay during the test HTTP Interaction

Object factory

  • factoryboy: Test firmware replacement Library

  • mixer: Another test firmware replacement Library

  • modelmommy: by Django Test create random firmware

Code coverage

  • coverage: Code coverage measurement

  • Codecov: Code coverage testing tools

Pseudo data

  • faker: Used to generate pseudo data

  • fake2db: Pseudo database generator

  • radar: Generate random dates / Time

  • FuckIt.py: Use the most advanced technology to ensure Python Code can continue to run no matter right or wrong

Code tools

The code analysis

  • coala: Language independent and easily extensible code analysis applications

  • code2flow: hold Python and JavaScript Code to flowchart

  • pycallgraph: You can put Python Application process ( Call graph ) Visualizing

  • pysonar2: Type inference and retrieval tools

Lint Tools

  • Flake8: Modular source check tool

  • Pylint: Fully customizable source code analyzer

  • YAPF: Google Of Python Code formatter

  • pylama:Python and JavaScript Code review tool

Code formatting

  • autopep8: Auto format Python Code , To make it conform to PEP8 standard

  • black: A firm Python Code formatter

The debugger

  • ipdb: stay IPython Enabled in pdb

  • pudb: Console based Python The debugger

  • pyringe: A debugger that can attach and inject code into a process

  • wdb: adopt WebSockets Working Web The debugger

  • winpdb: With graphical user interface Python The debugger

  • django-debug-toolbar: by Django Display various debugging information

  • django-devserver: One Django An alternative to running a server

  • flask-debugtoolbar:django-debug-toolbar Of flask edition

Performance analysis

  • lineprofiler: Line by line performance analysis tool

  • Memory Profiler: monitor Python Memory usage of the code

  • profiling: Interactive Python Performance analysis tool

  • pyelftools: Analysis and analysis ELF Files and DWARF Debugging information

  • python-statsd:statsd Server's Python client

journal

  • logging: by Python Provide log function

  • logbook:Logging Alternatives to the library

  • Eliot: Create logs for complex and distributed systems

  • Raven:Sentry Of Python Realization

  • Sentry: Servers that record and collect logs in real time

Continuous integration

  • Travis CI: A popular continuous integration tool

  • CircleCI: A continuous integration tool

  • Vexor CI: For private app Provide tools for continuous integration

  • Wercker: be based on Docker platform , To build and deploy microservices

Code quality

  • Codacy: Automated code review

  • QuantifiedCode: A data driver 、 Automatically 、 Continuous code review tool

DevOps

  • Ansible: Very simple IT Automation platform

  • SaltStack: Infrastructure automation and management systems

  • OpenStack: Open source software for building private and public clouds

  • Docker Compose: be based on Docker Rapid separation development environment

  • Fabric: Simple tools for remote execution and deployment

  • cuisine: by Fabric Provides a series of advanced functions

  • Fabtools: Used for compiling Fabric File tool

  • gitapi:Git Pure Python API

  • hgapi:Mercurial Pure Python API

  • honcho: Used to manage based on Procfile Application

  • pexpect: Control the interaction program in a pseudo terminal

  • psutil: Cross platform process and system tool modules

  • supervisor:UNIX Process control system

Task scheduling

  • APScheduler: Lightweight but powerful in-process task scheduling tool

  • django-schedule: One Django Scheduling application

  • doit: Task execution and build tools

  • gunnery: The multi-purpose task execution tool used by distributed system  

  • Joblib: Provide tools for lightweight assembly line

  • Plan: Better writing crontab File tool

  • schedule: Humanized Python Task scheduling Library

  • Spiff: Use pure Python Implementation of the workflow engine

  • TaskFlow: Libraries that facilitate task execution

  • AirFlow: Is a workflow distribution management system

High performance

  • Cython: Optimization of the Python Static compiler

  • PeachPy: The embedded Python Of x86-64 Assembler

  • PyPy: Use Python Realized Python Interpreter

  • Pyston: Use LLVM And the modern JIT technology-built Python Realization

  • Stackless Python: An enhanced version of Python

Windows Environmental Science

  • Python(x,y): For scientific applications Python Distribution version

  • pythonlibs: Unofficial Windows platform Python Extended binary package

  • PythonNet:Python And .NET An integrated environment for the common language runtime

  • PyWin32: in the light of Windows Of Python Expand

  • WinPython:Windows 7/8 Portable development environment under the system

Hardware related

  • ino: operation Arduino Command line tools for

  • Pyro:Python Robot programming library

  • PyUserInput: Cross platform module for controlling mouse and keyboard

  • scapy: A library for manipulating packets

  • wifi: Used in Linux Operation on the platform WiFi

  • Pingo: For the similar Raspberry Pi,pcDuino, Intel Galileo And so on API

Environment and package management

Environmental management

  • p: Very simple interactive Python Version management tools

  • pyenv: ordinary Python Version management tools

  • Vex: Tools that can execute commands in a virtual environment

  • virtualenv: Create independence Python Tools for the environment

  • virtualenvwrapper:virtualenv A set of extensions

  • pew: A set of tools for managing multiple virtual environments

  • PyRun: No need to install Python Version management tools

Package management

  • pip: Package and dependency management tools

  • pip-tools: Guarantee Python A set of tools for package dependency update

  • pipenv: A new generation of package management tools officially recommended

  • conda: Cross platform binary package management tool

  • Curdling: management Python Package's command line tools

  • wheel:Python New standards for distribution

  • Pdm: Next generation package management tools

  • easy_install: Package management system

Warehouse

  • warehouse: The next generation PyPI

  • bandersnatch:PyPA Provided PyPI Mirror tool

  • devpi:PyPI Service and packaging / test / Distribution tools

  • localshop: Local PyPI service

  • PyPI: A new generation Python Package library management tool

Distribute and build

Software distribution

  • PyInstaller: take Python The program is converted into an independent execution file

  • dh-virtualenv: Build and will virtualenv Virtual environment as a Debian Package to publish

  • Nuitka: Script 、 modular 、 The package is compiled into an executable or extension module

  • py2app: take Python The script becomes a standalone package

  • py2exe: take Python The script becomes a standalone package

  • pynsist: Used to create Windows Tools for installing programs

  • cx-Freeze: Cross platform libraries for packaging into executable files

structure

  • buildout: A build system

  • BitBake: For embedded Linux Build tools for

  • fabricate: Build tools that automatically find dependencies

  • PlatformIO: Multi platform command line build tool

  • PyBuilder: pure Python Implementation of the continuous build tool

  • SCons: Software build tools

Interactive interpreter

  • IPython: Feature rich tools

  • bpython: The interface is rich Python Parser

  • ptpython: Advanced interactive Python Parser

Command line correlation

Command line tools

  • asciimatics: Cross platform 、 Full screen terminal library

  • cement:Python The command-line framework for

  • click: Create a package with a nice command line interface by combining

  • cliff: A framework for creating command line programs

  • clint:Python Command line tools

  • colorama: Cross platform color terminal text

  • docopt:Python Style command line parameter parser

  • Gooey: Turn the command line program into a GUI Program

  • python-prompt-toolkit: Libraries for building powerful interactive command line programs

  • python-fire:Google A library for building command line interface

  • Pythonpy: Execute any... Directly from the command line Python Instructions

  • Clime: You can convert any module into multiple modules CLI Command procedure

  • docopt:Python Command line parameter analyzer

  • pycli: Command line application

  • rainbowstream: Twitter client terminal

  • argparse: Write command line scripting tools

  • pyHook: be based on Python Of “ hook ” library

  • pstuil: The process library of the system can be acquired and controlled across platforms

Command line advanced tools

  • aws-cli:Amazon Web Services General command line interface

  • bashplotlib: Drawing in the terminal

  • caniusepython3: Determine which projects prevent the perfect migration of code to Python3

  • cookiecutter: from cookiecutters A command line tool for creating projects

  • doitlive: A tool for live demonstration in a terminal

  • pyftpdlib: Extremely fast and scalable Python FTP Service Library

  • howdoi: Get immediate programming answers from the command line

  • httpie: Command line HTTP client

  • PathPicker: from bash Select the document in the output

  • percol: towards UNIX shell Traditional pipeline concept includes interactive selection function

  • SAWS: An enhanced version of AWS Command line

  • thefuck: Fixed previous command line instructions

  • mycli:MySQL Command line client

  • pgcli:Postgres Command line tools

  • try: Simple command line tools , To try python library

The third party

API

  • apache-libcloud: Designed for various clouds Python library

  • boto:Amazon Web Services Of Python Interface

  • django-wordpress:WordPress And Django The combination of

  • facebook-sdk:Facebook Platform Python SDK

  • facepy:Facebook's Graph API

  • gmail:Gmail Of Python Interface

  • google-api-python-client:Python With Google APIs Client library

  • gspread:Google Of a spreadsheet Python API

  • twython:Twitter API Encapsulation

Foreign function interface

  • cffi: Used to call C The foreign function interface of the code

  • ctypes: The other is used to call C The foreign function interface of the code

  • PyCUDA:Nvidia CUDA API Encapsulation

  • SWIG: Simplified encapsulation and interface generator

other

MapReduce

  • dpark:Spark Of Python edition

  • dumbo: It makes it easy to write and run Hadoop Program

  • luigi: Build a complex pipeline of batch jobs

  • mrjob: stay Hadoop or Amazon Web Services Up operation MapReduce Mission

  • PySpark:Spark Of Python API

  • streamparse: Run... For fact flow Python Code

Functional programming

  • CyToolz:Toolz Of Cython Realization

  • fn.py: stay Python Function programming in

  • funcy: Cool and practical functional tools

  • Toolz: A set for iterators , Functional programming tools for functions and dictionaries

Compatibility

  • Python-Future:Python 2 and Python 3 The lost compatibility layer between

  • Python-Modernize: send Python The code is more modern in order to eventually migrate to Python 3

  • Six:Python 2 and 3 Compatibility tools for

Editor plugin

  • Elpy:Emacs Python development environment

  • SublimeJEDI: One Sublime Text plug-in unit , Used to use the auto completion Library Jedi

  • Anaconda:Anaconda hold Sublime Text 3 Become a fully functional Python IDE

  • YouCompleteMe: The introduction is based on Jedi Of Python Auto completion engine

  • Jedi-vim: binding Vim and Jedi Auto complete library

  • Python-mode: take Vim become Python IDE

  • PTVS:Visual Studio Of Python Tools

Automatic chat tool

  • Errbot: Simple and popular chat robot tool

Financial data

  • Tushare: Free stock is available 、 fund 、 futures 、 Open source tools for financial data such as Hong Kong stocks

  • Ta-Lib: Financial data technology analysis library

  • AkSHare: A great free financial data platform

Algorithms and design patterns

  • algorithms: One Python Algorithm module

  • python-patterns:Python A collection of design patterns

  • sortedcontainers:SortedList,SortedDict and SortedSet type

The squalid

  • blinker: A fast Python In process signals / Event distribution system

  • itsdangerous: A series of auxiliary tools , Used to transfer trusted data to untrusted environment

  • pluginbase: A simple but flexible Python Plug in system

  • Pychievements: A... For creating and tracking achievements Python frame

  • Tryton: A general business framework

Okay , This is today's sharing . Have to say , summary Python Your class library is too tired , There are too many , Please give the thumbs-up + Looking at support ~

Official account back office reply “Python library ” Get the high-definition version of mind map !

Recommended reading

  • 10 That's ok Python What interesting things code can do ?

  • python Realize automatic login of campus network

  • Powerful and easy to use ! New generation reptile weapon Playwright Introduction to


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved