Ranked awesome lists, all in one place
This list is a copy of vinta/awesome-python with ranks
Awesome Python ★87749
A curated list of awesome Python frameworks, libraries, software and resources.
Inspired by awesome-php ★19087.
-
Awesome Python
- Admin Panels
- Algorithms and Design Patterns
- Anti-spam
- Asset Management
- Audio
- Authentication
- Build Tools
- Built-in Classes Enhancement
- Caching
- ChatOps Tools
- CMS
- Code Analysis
- Command-line Tools
- Compatibility
- Computer Vision
- Concurrency and Parallelism
- Configuration
- Cryptography
- Data Analysis
- Data Validation
- Data Visualization
- Database Drivers
- Database
- Date and Time
- Debugging Tools
- Deep Learning
- DevOps Tools
- Distribution
- Documentation
- Downloader
- E-commerce
- Editor Plugins and IDEs
- Environment Management
- Files
- Foreign Function Interface
- Forms
- Functional Programming
- Game Development
- Geolocation
- GUI
- Hardware
- HTML Manipulation
- HTTP
- Image Processing
- Implementations
- Interactive Interpreter
- Internationalization
- Job Scheduler
- Logging
- Machine Learning
- MapReduce
- Miscellaneous
- Natural Language Processing
- Network Virtualization
- Networking
- News Feed
- ORM
- Package Management
- Package Repositories
- Permissions
- Processes
- Queue
- Recommender Systems
- RESTful API
- RPC Servers
- Science
- Search
- Serialization
- Serverless Frameworks
- Specific Formats Processing
- Static Site Generator
- Tagging
- Template Engine
- Testing
- Text Processing
- Third-party APIs
- URL Manipulation
- Video
- Web Content Extracting
- Web Crawling & Web Scraping
- Web Frameworks
- WebSocket
- WSGI Servers
- Services
- Resources
- Other Awesome Lists
- Contributing
Admin Panels
Libraries for administrative interfaces.
- Ajenti ★5204 - The admin panel your servers deserve.
- django-suit - Alternative Django Admin-Interface (free only for Non-commercial use).
- django-xadmin ★3034 - Drop-in replacement of Django admin comes with lots of goodies.
- flask-admin ★2982 - Simple and extensible administrative interface framework for Flask.
- flower ★3001 - Real-time monitor and web admin for Celery.
- Grappelli - A jazzy skin for the Django Admin-Interface.
- Wooey ★1064 - A Django app which creates automatic web UIs for Python scripts.
Algorithms and Design Patterns
Python implementation of algorithms and design patterns.
- algorithms ★11781 - Minimal examples of data structures and algorithms in Python.
- PyPattyrn ★560 - A simple yet effective library for implementing common design patterns.
- python-patterns ★16176 - A collection of design patterns in Python.
- sortedcontainers - Fast, pure-Python implementation of SortedList, SortedDict, and SortedSet types.
- SCOOP ★306 ⏳1Y - Scalable Concurrent Operations in Python.
Anti-spam
Libraries for fighting spam.
- django-simple-captcha ★770 - A simple and highly customizable Django app to add captcha images to any Django form.
- django-simple-spam-blocker ★21 ⏳5Y - Simple spam blocker for Django.
Asset Management
Tools for managing, compressing and minifying website assets.
- django-compressor ★2052 - Compresses linked and inline JavaScript or CSS into a single cached file.
- django-pipeline ★1253 - An asset packaging library for Django.
- django-storages ★926 - A collection of custom storage back ends for Django.
- fanstatic - Packages, optimizes, and serves static file dependencies as Python packages.
- fileconveyor - A daemon to detect and sync files to CDNs, S3 and FTP.
- flask-assets ★349 ⏳1Y - Helps you integrate webassets into your Flask app.
- jinja-assets-compressor ★75 - A Jinja extension to compile and compress your assets.
- webassets ★830 - Bundles, optimizes, and manages unique cache-busting URLs for static resources.
Audio
Libraries for manipulating audio.
- audiolazy ★410 ⏳1Y - Expressive Digital Signal Processing (DSP) package for Python.
- audioread ★206 - Cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding.
- beets - A music library manager and MusicBrainz tagger.
- dejavu ★3886 - Audio fingerprinting and recognition.
- django-elastic-transcoder ★48 - Django + Amazon Elastic Transcoder.
- eyeD3 - A tool for working with audio files, specifically MP3 files containing ID3 metadata.
- id3reader - A Python module for reading MP3 meta data.
- m3u8 ★418 - A module for parsing m3u8 file.
- mingus - An advanced music theory and notation package with MIDI file and playback support.
- mutagen ★315 - A Python module to handle audio metadata.
- pyAudioAnalysis ★1604 - Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications
- pydub ★2654 - Manipulate audio with a simple and easy high level interface.
- pyechonest ★612 ⏳2Y - Python client for the Echo Nest API.
- talkbox - A Python library for speech/signal processing.
- TimeSide ★218 - Open web audio processing framework.
- tinytag ★296 - A library for reading music meta data of MP3, OGG, FLAC and Wave files.
Authentication
Libraries for implementing authentications schemes.
- OAuth
- Authomatic ★867 - Simple but powerful framework agnostic authentication/authorization client.
- django-allauth ★3841 - Authentication app for Django that “just works.”
- django-oauth-toolkit - OAuth 2 goodies for Django.
- Flask-OAuthlib ★1240 - OAuth 1.0/a, 2.0 implementation of client and provider for Flask.
- OAuthLib - A generic and thorough implementation of the OAuth request-signing logic.
- python-oauth2 ★2744 - A fully tested, abstract interface to creating OAuth clients and servers.
- python-social-auth ★2740 - An easy-to-setup social authentication mechanism.
- rauth ★1518 - A Python library for OAuth 1.0/a, 2.0, and Ofly.
- sanction ★171 - A dead simple OAuth2 client implementation.
- Others
- jose ★70 ⏳1Y - JavaScript Object Signing and Encryption draft implementation.
- PyJWT ★2034 - Implementation of the JSON Web Token draft 01.
- python-jws ★52 - Implementation of JSON Web Signatures draft 02.
- python-jwt ★142 - Module for generating and verifying JSON Web Tokens.
Build Tools
Compile software from source code.
- BitBake - A make-like build tool for embedded Linux.
- buildout - A build system for creating, assembling and deploying applications from multiple parts.
- PlatformIO ★2461 - A console tool to build code with different development platforms.
- PyBuilder ★1014 - A continuous build tool written in pure Python.
- SCons - A software construction tool.
Built-in Classes Enhancement
Libraries for enhancing Python built-in classes.
-
attrs ★1741 - Replacement for
__init__
,__eq__
,__repr__
, etc. boilerplate in class definitions. - bidict ★251 - Efficient, Pythonic bidirectional map data structures and related functionality..
- Box ★1022 - Python dictionaries with advanced dot notation access.
- dotted ★23 - A library that provides a method of accessing lists and dicts with a dotted path notation.
CMS
Content Management Systems.
- django-cms - An Open source enterprise CMS based on the Django.
- djedi-cms - A lightweight but yet powerful Django CMS with plugins, inline editing and performance in mind.
- FeinCMS - One of the most advanced Content Management Systems built on Django.
- Kotti - A high-level, Pythonic web application framework built on Pyramid.
- Mezzanine - A powerful, consistent, and flexible content management platform.
- Opps - A Django-based CMS for magazines, newspapers websites and portals with high-traffic.
- Plone - A CMS built on top of the open source application server Zope.
- Quokka - Flexible, extensible, small CMS powered by Flask and MongoDB.
- Wagtail - A Django content management system.
- Widgy - Last CMS framework, based on Django.
Caching
Libraries for caching data.
- Beaker ★363 - A library for caching and sessions for use with web applications and stand-alone Python scripts and applications.
- DiskCache - SQLite and file backed cache backend with faster lookups than memcached and redis.
- django-cache-machine ★704 - Automatic caching and invalidation for Django models.
- django-cacheops ★893 - A slick ORM cache with automatic granular event-driven invalidation.
- django-viewlet ★56 - Render template parts with extended cache control.
- dogpile.cache - dogpile.cache is next generation replacement for Beaker made by same authors.
- HermesCache - Python caching library with tag-based invalidation and dogpile effect prevention.
- johnny-cache ★277 ⏳2Y - A caching framework for Django applications.
- pylibmc ★388 - A Python wrapper around the libmemcached interface.
ChatOps Tools
Libraries for chatbot development.
- Errbot - The easiest and most popular chatbot to implement ChatOps.
Code Analysis
Tools of static analysis, linters and code quality checkers. See: awesome-static-analysis ★3367.
- Code Analysis
- flake8 - A wrapper around pycodestyle, pyflakes and McCabe.
- coala - Language independent and easily extendable code analysis application.
- code2flow ★501 - Turn your Python and JavaScript code into DOT flowcharts.
- prospector - A tool to analyse Python code.
- pycallgraph ★1093 - A library that visualises the flow (call graph) of your Python application.
- pylama ★425 - A code audit tool for Python and JavaScript.
- pylint - A fully customizable source code analyzer.
- Static Type Checkers
- mypy - Check variable types during compile time.
- Pyre ★1658 - Performant type checking.
- Static Type Annotations Generators
- MonkeyType ★1673 - A system for Python that generates static type annotations by collecting runtime types
Command-line Tools
Libraries for building command-line application.
- Command-line Application Development
- asciimatics ★1060 - A package to create full-screen text UIs (from interactive forms to ASCII animations).
- bashplotlib ★869 - Making basic plots in the terminal.
- cement - CLI Application Framework for Python.
- click - A package for creating beautiful command line interfaces in a composable way.
- cliff - A framework for creating command-line programs with multi-level commands.
- clint ★2419 - Python Command-line Application Tools.
- colorama - Cross-platform colored terminal text.
- docopt - Pythonic command line arguments parser.
- Gooey ★5870 - Turn command line programs into a full GUI application with one line
- Python-Fire ★9555 - A library for creating command line interfaces from absolutely any Python object.
- python-prompt-toolkit ★4504 - A library for building powerful interactive command lines.
- Productivity Tools
- aws-cli ★6574 - A universal command-line interface for Amazon Web Services.
- cookiecutter ★7341 - A command-line utility that creates projects from cookiecutters (project templates).
- doitlive ★2151 - A tool for live presentations in the terminal.
- howdoi ★6417 - Instant coding answers via the command line.
- httpie ★35856 - A command line HTTP client, a user-friendly cURL replacement.
- kube-shell ★786 - An integrated shell for working with the Kubernetes CLI.
- mycli ★5924 - A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.
- PathPicker ★3838 - Select files out of bash output.
- percol ★2557 - Adds flavor of interactive selection to the traditional pipe concept on UNIX.
- pgcli ★6872 - Postgres CLI with autocompletion and syntax highlighting.
- SAWS ★3638 - A Supercharged AWS CLI.
- thefuck ★35911 - Correcting your previous console command.
- tmuxp - A tmux ★10582 session manager.
- try ★425 - A dead simple CLI to try out python packages - it’s never been easier.
Compatibility
Libraries for migrating from Python 2 to 3.
- Python-Future - The missing compatibility layer between Python 2 and Python 3.
- Python-Modernize ★495 ⏳1Y - Modernizes Python code for eventual Python 3 migration.
- Six - Python 2 and 3 compatibility utilities.
Computer Vision
Libraries for computer vision.
- OpenCV - Open Source Computer Vision Library.
- pyocr ★901 - A wrapper for Tesseract and Cuneiform.
- pytesseract ★1461 - Another wrapper for Google Tesseract OCR.
- SimpleCV - An open source framework for building computer vision applications.
Concurrency and Parallelism
Libraries for concurrent and parallel execution.
- eventlet - Asynchronous framework with WSGI support.
- gevent - A coroutine-based Python networking library that uses greenlet ★905.
- multiprocessing - (Python standard library) Process-based “threading” interface.
- threading - (Python standard library) Higher-level threading interface.
- Tomorrow ★1366 ⏳2Y - Magic decorator syntax for asynchronous code.
- uvloop ★4826 - Ultra fast implementation of asyncio event loop on top of libuv.
Configuration
Libraries for storing and parsing configuration options.
- config - Hierarchical config from the author of logging.
- ConfigObj - INI file parser with validation.
- ConfigParser - (Python standard library) INI file parser.
- profig - Config from multiple formats with value conversion.
- python-decouple ★714 - Strict separation of settings from code.
Cryptography
- cryptography - A package designed to expose cryptographic primitives and recipes to Python developers.
- hashids ★767 - Implementation of hashids in Python.
- Paramiko - A Python (2.6+, 3.3+) implementation of the SSHv2 protocol, providing both client and server functionality.
- Passlib - Secure password storage/hashing library, very high level.
- PyNacl ★490 - Python binding to the Networking and Cryptography (NaCl) library.
Data Analysis
Libraries for data analyzing.
- Blaze ★2399 - NumPy and Pandas interface to Big Data.
- Open Mining ★888 ⏳1Y - Business Intelligence (BI) in Pandas interface.
- Orange - Data mining, data visualization, analysis and machine learning through visual programming or scripts.
- Pandas - A library providing high-performance, easy-to-use data structures and data analysis tools.
- Optimus ★259 - Cleansing, pre-processing, feature engineering, exploratory data analysis and easy Machine Learning with a PySpark backend.
Data Validation
Libraries for validating data. Used for forms in many cases.
- Cerberus ★1305 - A lightweight and extensible data validation library.
- colander - Validating and deserializing data obtained via XML, JSON, an HTML form post.
- jsonschema ★1678 - An implementation of JSON Schema for Python.
- schema ★1439 - A library for validating Python data structures.
- Schematics ★1986 - Data Structure Validation.
- valideer ★202 - Lightweight extensible data validation and adaptation library.
- voluptuous ★1224 - A Python data validation library.
Data Visualization
Libraries for visualizing data. See: awesome-javascript ★14660.
- Altair ★2512 - Declarative statistical visualization library for Python.
- Bokeh ★7802 - Interactive Web Plotting for Python.
- bqplot ★1933 - Interactive Plotting Library for the Jupyter Notebook
- ggplot ★3333 - Same API as ggplot2 for R.
- Matplotlib - A Python 2D plotting library.
- Pygal - A Python SVG Charts Creator.
- PyGraphviz - Python interface to Graphviz.
- PyQtGraph - Interactive and realtime 2D/3D/Image plotting and science/engineering widgets.
- Seaborn ★4999 - Statistical data visualization using Matplotlib.
- VisPy ★1670 - High-performance scientific visualization based on OpenGL.
Database
Databases implemented in Python.
- pickleDB - A simple and lightweight key-value store for Python.
- TinyDB ★2244 - A tiny, document-oriented database.
- ZODB - A native object database for Python. A key-value and object graph database.
Database Drivers
Libraries for connecting and operating databases.
- MySQL - awesome-mysql
- mysqlclient ★1123 - MySQL connector with Python 3 support (mysql-python fork).
- oursql - A better MySQL connector with support for native prepared statements and BLOBs.
- PyMySQL ★4091 - A pure Python MySQL driver compatible to mysql-python.
- PostgreSQL - awesome-postgres ★4337
- psycopg2 - The most popular PostgreSQL adapter for Python.
- queries ★185 - A wrapper of the psycopg2 library for interacting with PostgreSQL.
- txpostgres ★98 ⏳2Y - Twisted based asynchronous driver for PostgreSQL.
- Other Relational Databases
- apsw - Another Python SQLite wrapper.
- dataset ★3120 - Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL.
- pymssql - A simple database interface to Microsoft SQL Server.
- NoSQL Databases
- cassandra-python-driver ★878 - Python driver for Cassandra.
- HappyBase ★405 - A developer-friendly library for Apache HBase.
- Plyvel ★206 - A fast and feature-rich Python interface to LevelDB.
- py2neo - Python wrapper client for Neo4j’s restful interface.
- pycassa ★501 ⏳1Y - Python Thrift driver for Cassandra.
- PyMongo - The official Python client for MongoDB.
- redis-py ★6264 - The Redis Python Client.
- telephus ★92 ⏳3Y - Twisted based client for Cassandra.
- txRedis ★115 ⏳1Y - Twisted based client for Redis.
Date and Time
Libraries for working with dates and times.
- Chronyk ★253 ⏳1Y - A Python 3 library for parsing human-written times and dates.
- dateutil ★719 - Extensions to the standard Python datetime module.
- delorean ★1449 - A library for clearing up the inconvenient truths that arise dealing with datetimes.
- moment ★505 - A Python library for dealing with dates/times. Inspired by Moment.js.
- Pendulum ★2654 - Python datetimes made easy.
- PyTime ★118 ⏳1Y - A easy-use Python module which aims to operate date/time/datetime by string.
- pytz - World timezone definitions, modern and historical. Brings the tz database into Python.
- when.py ★174 - Providing user-friendly functions to help perform common date and time actions.
- maya ★2392 - Datetimes for Humans, Maya is mostly built around the headaches and use-cases around parsing datetime data from websites.
Debugging Tools
Libraries for debugging code.
- pdb-like Debugger
- Profiler
- line_profiler ★2111 - Line-by-line profiling.
- memory_profiler - Monitor Memory usage of Python code.
- Pyflame ★1475 - Attach this Ptracing Profiler to any processes running Python. Perfect for profiling production webservers.
- profiling ★2706 - An interactive Python profiler.
- vprof ★3245 - Visual Python profiler.
- Others
- django-debug-toolbar ★4856 - Display various debug information for Django.
- django-devserver ★1235 - A drop-in replacement for Django’s runserver.
- flask-debugtoolbar ★646 - A port of the django-debug-toolbar to flask.
- hunter ★280 - Hunter is a flexible code tracing toolkit.
- lptrace ★595 - strace for Python programs.
- manhole ★179 - Debug service that will accept unix domain socket connections and present the stacktraces for all threads and an interactive prompt.
- pyelftools ★639 - Parsing and analyzing ELF files and DWARF debugging information.
- pyringe ★1457 ⏳4Y - Debugger capable of attaching to and injecting code into Python processes.
Deep Learning
Frameworks for Neural Networks and Deep Learning. See: awesome-deep-learning ★9190.
- Caffe ★24656 - A fast open framework for deep learning..
- Keras - A high-level neural networks library and capable of running on top of either TensorFlow or Theano.
- MXNet - A deep learning framework designed for both efficiency and flexibility.
- Neupy - Running and testing different Artificial Neural Networks algorithms.
- Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration.
- Serpent.AI ★4350 - Game agent framework. Use any video game as a deep learning sandbox.
- TensorFlow ★103699 - The most popular Deep Learning framework created by Google.
- Theano ★8323 - A library for fast numerical computation.
DevOps Tools
Software and libraries for DevOps.
- Ansible ★30983 - A radically simple IT automation platform.
- Cloud-Init - A multi-distribution package that handles early initialization of a cloud instance.
- cuisine ★1228 - Chef-like functionality for Fabric.
- Docker Compose - Fast, isolated development environments using Docker.
- Fabric - A simple, Pythonic tool for remote execution and deployment.
- Fabtools ★1157 - Tools for writing awesome Fabric files.
- honcho - A Python clone of Foreman ★4728, for managing Procfile-based applications.
- OpenStack - Open source software for building private and public clouds.
- pexpect ★1248 - Controlling interactive programs in a pseudo-terminal like GNU expect.
- psutil ★3797 - A cross-platform process and system utilities module.
- SaltStack ★8944 - Infrastructure automation and management system.
- supervisor ★4450 - Supervisor process control system for UNIX.
Distribution
Libraries to create packaged executables for release distribution.
- dh-virtualenv ★1177 - Build and distribute a virtualenv as a Debian package.
- Nuitka - Compile scripts, modules, packages to an executable or extension module.
- py2app - Freezes Python scripts (Mac OS X).
- py2exe - Freezes Python scripts (Windows).
- PyInstaller ★4142 - Converts Python programs into stand-alone executables (cross-platform).
- pynsist - A tool to build Windows installers, installers bundle Python itself.
Documentation
Libraries for generating project documentation.
- Sphinx - Python Documentation generator.
- MkDocs - Markdown friendly documentation generator.
- pdoc - Epydoc replacement to auto generate API documentation for Python libraries.
- Pycco ★596 - The literate-programming-style documentation generator.
Downloader
Libraries for downloading.
- s3cmd ★2695 - A command line tool for managing Amazon S3 and CloudFront.
- s4cmd ★723 - Super S3 command line tool, good for higher performance.
- you-get - A YouTube/Youku/Niconico video downloader written in Python 3.
- youtube-dl - A small command-line program to download videos from YouTube.
E-commerce
Frameworks and libraries for e-commerce and payments.
- alipay ★289 - Unofficial Alipay API for Python.
- Cartridge ★565 - A shopping cart app built using the Mezzanine.
- django-oscar - An open-source e-commerce framework for Django.
- django-shop ★1597 - A Django based shop system.
- merchant ★893 ⏳1Y - A Django app to accept payments from various payment processors.
- money ★131 - Money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
- python-currencies ★33 ⏳2Y - Display money format and its filthy currencies.
- forex-python ★155 - Foreign exchange rates, Bitcoin price index and currency conversion.
- saleor - An e-commerce storefront for Django.
- shoop - An open source E-Commerce platform based on Django.
Editor Plugins and IDEs
- Emacs
- Elpy ★1226 - Emacs Python Development Environment.
- Sublime Text
- Anaconda ★1825 - Anaconda turns your Sublime Text 3 in a full featured Python development IDE.
- SublimeJEDI ★822 - A Sublime Text plugin to the awesome auto-complete library Jedi.
- Vim
- Jedi-vim ★3480 - Vim bindings for the Jedi auto-completion library for Python.
- Python-mode ★4207 - An all in one plugin for turning Vim into a Python IDE.
- YouCompleteMe - Includes Jedi ★3331-based completion engine for Python.
- Visual Studio
- PTVS ★1982 - Python Tools for Visual Studio.
- Visual Studio Code
- Python ★1828 - An extension with rich support for the Python language, with features including linting, IntelliSense, formatting, refactoring, debugging, unit tests, and jupyter support.
- Magic Python ★988 - Cutting edge Python syntax highlighter for Sublime Text, Atom, and Visual Studio Code. Used by GitHub to highlight your Python code!
- IDE
- LiClipse - Free polyglot IDE based on Eclipse. Uses PyDev for Python support.
- PyCharm - Commercial Python IDE by JetBrains. Has free community edition available.
- Spyder ★3239 - Open Source Python IDE.
Libraries for sending and parsing email.
- envelopes - Mailing for human beings.
- flanker ★1199 - A email address and Mime parsing library.
- imbox ★764 - Python IMAP for Humans.
- inbox.py ★1421 ⏳2Y - Python SMTP Server for Humans.
- lamson ★635 ⏳5Y - Pythonic SMTP Application Server.
- Marrow Mailer ★157 - High-performance extensible mail delivery framework.
- modoboa ★1044 - A mail hosting and management platform including a modern and simplified Web UI.
- Nylas Sync Engine ★3446 - Providing a RESTful API on top of a powerful email sync platform.
- yagmail ★1095 - Yet another Gmail/SMTP client.
Environment Management
Libraries for Python version and environment management.
- Pipenv - Sacred Marriage of Pipfile, Pip, & Virtualenv.
- p ★718 ⏳2Y - Dead simple interactive Python version management.
- pyenv ★11522 - Simple Python version management.
- venv - (Python standard library in Python 3.3+) Creating lightweight virtual environments.
- virtualenv - A tool to create isolated Python environments.
- virtualenvwrapper - A set of extensions to virtualenv.
Files
Libraries for file manipulation and MIME type detection.
- imghdr - (Python standard library) Determine the type of an image.
- mimetypes - (Python standard library) Map filenames to MIME types.
- path.py ★804 - A module wrapper for os.path.
- pathlib - (Python standard library in Python 3.4+) An cross-platform, object-oriented path library.
- python-magic ★1128 - A Python interface to the libmagic file type identification library.
- Unipath ★458 - An object-oriented approach to file/directory operations.
- watchdog ★3022 - API and shell utilities to monitor file system events.
Foreign Function Interface
Libraries for providing foreign function interface.
- cffi - Foreign Function Interface for Python calling C code.
- ctypes - (Python standard library) Foreign Function Interface for Python calling C code.
- PyCUDA - A Python wrapper for Nvidia’s CUDA API.
- SWIG - Simplified Wrapper and Interface Generator.
Forms
Libraries for working with forms.
- Deform ★294 - Python HTML form generation library influenced by the formish form generation library.
- django-bootstrap3 ★2000 - Bootstrap 3 integration with Django.
- django-crispy-forms ★3233 - A Django app which lets you create beautiful forms in a very elegant and DRY way.
- django-remote-forms ★175 - A platform independent Django form serializer.
- WTForms ★820 - A flexible forms validation and rendering library.
Functional Programming
Functional Programming with Python.
- CyToolz ★460 - Cython implementation of Toolz: High performance functional utilities.
- fn.py ★2614 ⏳1Y - Functional programming in Python: implementation of missing features to enjoy FP.
- funcy ★1775 - A fancy and practical functional tools.
- Toolz ★1825 - A collection of functional utilities for iterators, functions, and dictionaries.
GUI
Libraries for working with graphical user interface applications.
- curses - Built-in wrapper for ncurses used to create terminal GUI applications.
- Eel ★2068 - Little library for making simple Electron-like offline HTML/JS GUI apps, with full access to Python capabilities and libraries.
- enaml ★609 - Creating beautiful user-interfaces with Declaratic Syntax like QML.
- Flexx - Flexx is a pure Python toolkit for creating GUI’s, that uses web technology for its rendering.
- kivy - A library for creating NUI applications, running on Windows, Linux, Mac OS X, Android and iOS.
- pyglet - A cross-platform windowing and multimedia library for Python.
- PyGObject - Python Bindings for GLib/GObject/GIO/GTK+ (GTK+3).
- PyQt - Python bindings for the Qt cross-platform application and UI framework, with support for both Qt v4 and Qt v5 frameworks.
- PySide - Python bindings for the Qt cross-platform application and UI framework, supporting the Qt v4 framework.
- pywebview ★1000 - A lightweight cross-platform native wrapper around a webview component that allows to display HTML content in its own native dedicated window.
- Tkinter - Tkinter is Python’s de-facto standard GUI package.
- Toga ★1651 - A Python native, OS native GUI toolkit.
- urwid - A library for creating terminal GUI applications with strong support for widgets, events, rich colors, etc.
- wxPython - A blending of the wxWidgets C++ class library with the Python.
Game Development
Awesome game development libraries.
- Cocos2d - cocos2d is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on pyglet.
- Panda3D - 3D game engine developed by Disney and maintained by Carnegie Mellon’s Entertainment Technology Center. Written in C++, completely wrapped in Python.
- Pygame - Pygame is a set of Python modules designed for writing games.
- PyOgre - Python bindings for the Ogre 3D render engine, can be used for games, simulations, anything 3D.
- PyOpenGL - Python ctypes bindings for OpenGL and it’s related APIs.
- PySDL2 - A ctypes based wrapper for the SDL2 library.
- RenPy - A Visual Novel engine.
Geolocation
Libraries for geocoding addresses and working with latitudes and longitudes.
- django-countries ★542 - A Django app that provides country choices for use with forms, flag icons static files, and a country field for models.
- GeoDjango - A world-class geographic web framework.
- GeoIP ★180 ⏳2Y - Python API for MaxMind GeoIP Legacy Database.
- geojson ★332 - Python bindings and utilities for GeoJSON.
- geopy ★1928 - Python Geocoding Toolbox.
- pygeoip ★477 - Pure Python GeoIP API.
HTML Manipulation
Libraries for working with HTML and XML.
- BeautifulSoup - Providing Pythonic idioms for iterating, searching, and modifying HTML or XML.
- bleach ★1511 - A whitelist-based HTML sanitization and text linkification library.
- cssutils - A CSS library for Python.
- html5lib ★696 - A standards-compliant library for parsing and serializing HTML documents and fragments.
- lxml - A very fast, easy-to-use and versatile library for handling HTML and XML.
- MarkupSafe ★215 - Implements a XML/HTML/XHTML Markup safe string for Python.
- pyquery ★1500 - A jQuery-like library for parsing HTML.
- untangle ★330 - Converts XML documents to Python objects for easy access.
- WeasyPrint - A visual rendering engine for HTML and CSS that can export to PDF.
- xmldataset - Simple XML Parsing.
- xmltodict ★2998 - Working with XML feel like you are working with JSON.
HTTP
Libraries for working with HTTP.
- grequests ★2632 - requests + gevent for asynchronous HTTP requests.
- httplib2 ★246 - Comprehensive HTTP client library.
- requests - HTTP Requests for Humans™.
- treq ★423 - Python requests like API built on top of Twisted’s HTTP client.
- urllib3 - A HTTP library with thread-safe connection pooling, file post support, sanity friendly.
Hardware
Libraries for programming with hardware.
- ino - Command line toolkit for working with Arduino.
- keyboard ★1026 - Hook and simulate global keyboard events on Windows and Linux.
- mouse ★91 - Hook and simulate global mouse events on Windows and Linux.
- Pingo - Pingo provides a uniform API to program devices like the Raspberry Pi, pcDuino, Intel Galileo, etc.
- PyUserInput ★725 - A module for cross-platform control of the mouse and keyboard.
- scapy ★2650 - A brilliant packet manipulation library.
- wifi ★221 - A Python library and command line tool for working with WiFi on Linux.
Image Processing
Libraries for manipulating images.
- hmap ★149 ⏳4Y - Image histogram remapping.
- imgSeek - A project for searching a collection of images using visual similarity.
- nude.py ★572 ⏳1Y - Nudity detection.
- pagan ★96 - Retro identicon (Avatar) generation based on input string and hash.
- pillow ★5026 - Pillow is the friendly PIL fork.
- pyBarcode - Create barcodes in Python without needing PIL.
- pygram ★69 ⏳4Y - Instagram-like image filters.
- python-qrcode ★1414 - A pure Python QR Code generator.
- Quads ★740 ⏳4Y - Computer art based on quadtrees.
- scikit-image - A Python library for (scientific) image processing.
- thumbor ★5947 - A smart imaging service. It enables on-demand crop, re-sizing and flipping of images.
- wand ★778 - Python bindings for MagickWand, C API for ImageMagick.
Implementations
Implementations of Python.
- CLPython ★243 - Implementation of the Python programming language written in Common Lisp.
- CPython ★18350 - Default, most widely used implementation of the Python programming language written in C.
- Cython - Optimizing Static Compiler for Python. Uses type mixins to compile Python into C or C++ modules resulting in large performance gains
- Grumpy ★9044 - More compiler than interpreter as more powerful CPython2.7 replacement (alpha).
- IronPython ★655 - Implementation of the Python programming language written in C# targeting the .NET Framework and Mono.
- Jython - Implementation of Python programming language written in Java for the Java virtual machine (JVM).
- MicroPython ★6689 - MicroPython - a lean and efficient Python programming language implementation for microcontrollers and constrained systems
- Numba - Python JIT compiler to LLVM aimed at scientific Python.
- PeachPy ★1140 - x86-64 assembler embedded in Python. Can be used as inline assembler for Python or as a stand-alone assembler for Windows, Linux, OS X, Native Client and Go.
- Pyjion ★1192 - A JIT for Python based upon CoreCLR.
- PyPy - Implementation of the Python programming language written in RPython and translated into C. PyPy focuses on speed, efficiency and compatibility with the original CPython interpreter. The interpreter uses black magic to make Python very fast without having to add in additional type information.
- PySec ★290 ⏳2Y - Hardened version of python that makes it easier for security professionals and developers to write applications more resilient to attacks and manipulations.
- Pyston ★4427 - A Python implementation built using LLVM and modern JIT techniques with the goal of achieving good performance.
- Stackless Python - An enhanced version of the Python programming language which allows programmers to reap the benefits of thread-based programming without the performance and complexity problems associated with conventional threads.
Interactive Interpreter
Interactive Python interpreters (REPL).
- bpython ★1046 - A fancy interface to the Python interpreter.
- Jupyter Notebook (IPython) - A rich toolkit to help you make the most out of using Python interactively.
- ptpython - Advanced Python REPL built on top of the python-prompt-toolkit ★4504.
Internationalization
Libraries for working with i18n.
- Babel - An internationalization library for Python.
- PyICU ★70 - A wrapper of International Components for Unicode C++ library (ICU).
Job Scheduler
Libraries for scheduling jobs.
- APScheduler - A light but powerful in-process task scheduler that lets you schedule functions.
- django-schedule ★719 ⏳1Y - A calendaring app for Django.
- doit - A task runner and build tool.
- gunnery ★666 - Multipurpose task execution tool for distributed systems with web-based interface.
- Joblib - A set of tools to provide lightweight pipelining in Python.
- Plan ★1038 - Writing crontab file in Python like a charm.
- schedule ★4661 - Python job scheduling for humans.
- Spiff ★627 - A powerful workflow engine implemented in pure Python.
- TaskFlow - A Python library that helps to make task execution easy, consistent and reliable.
Logging
Libraries for generating and working with logs.
- Eliot ★371 - Logging for complex & distributed systems.
- logbook - Logging replacement for Python.
- logging - (Python standard library) Logging facility for Python.
- raven ★1457 - Python client for Sentry, a log/error tracking, crash reporting and aggregation platform for web applications.
Machine Learning
Libraries for Machine Learning. See: awesome-machine-learning ★33690.
- Metrics ★880 - Machine learning evaluation metrics.
- NuPIC ★5624 - Numenta Platform for Intelligent Computing.
- scikit-learn - The most popular Python library for Machine Learning.
- Spark ML - Apache Spark’s scalable Machine Learning library.
- vowpal_porpoise - A lightweight Python wrapper for Vowpal Wabbit ★5631.
- xgboost ★12521 - A scalable, portable, and distributed gradient boosting library.
MapReduce
Frameworks and libraries for MapReduce.
- PySpark - Apache Spark Python API.
- luigi ★9488 - A module that helps you build complex pipelines of batch jobs.
- mrjob ★2257 - Run MapReduce jobs on Hadoop or Amazon Web Services.
- streamparse ★1294 - Run Python code against real-time streams of data. Integrates with Apache Storm.
- dask - A flexible parallel computing library for analytic computing.
Microsoft Windows
Python programming on Microsoft Windows.
- Python(x,y) - Scientific-applications-oriented Python Distribution based on Qt and Spyder.
- pythonlibs - Unofficial Windows binaries for Python extension packages.
- PythonNet ★1186 - Python Integration with the .NET Common Language Runtime (CLR).
- PyWin32 - Python Extensions for Windows.
- WinPython - Portable development environment for Windows 7/8.
Miscellaneous
Useful libraries or tools that don’t fit in the categories above.
- blinker ★759 - A fast Python in-process signal/event dispatching system.
- itsdangerous ★1448 - Various helpers to pass trusted data to untrusted environments.
- pluginbase ★684 - A simple but flexible plugin system for Python.
- Pychievements ★100 ⏳1Y - A framework for creating and tracking achievements.
- Tryton - A general purpose business framework.
Natural Language Processing
Libraries for working with human languages.
- gensim ★7254 - Topic Modelling for Humans.
- Jieba ★14013 - Chinese text segmentation.
- langid.py ★1050 - Stand-alone language identification system.
- NLTK - A leading platform for building Python programs to work with human language data.
- Pattern - A web mining module for the Python.
- polyglot ★860 - Natural language pipeline supporting hundreds of languages.
- SnowNLP ★3255 - A library for processing Chinese text.
- spaCy - A library for industrial-strength natural language processing in Python and Cython.
- TextBlob ★5251 - Providing a consistent API for diving into common NLP tasks.
- PyTorch-NLP ★925 - A toolkit enabling rapid deep learning NLP prototyping for research.
Network Virtualization
Tools and libraries for Virtual Networking and SDN (Software Defined Networking).
- Mininet - A popular network emulator and API written in Python.
- POX ★398 - An open source development platform for Python-based Software Defined Networking (SDN) control applications, such as OpenFlow SDN controllers.
- Pyretic - A member of the Frenetic family of SDN programming languages that provides powerful abstractions over network switches or emulators.
- SDX Platform ★11 ⏳4Y - SDN based IXP implementation that leverages Mininet, POX and Pyretic.
Networking
Libraries for networking programming.
- asyncio - (Python standard library) Asynchronous I/O, event loop, coroutines and tasks.
- diesel ★551 ⏳3Y - Greenlet-based event I/O Framework for Python.
- pulsar ★1621 - Event-driven concurrent framework for Python.
- pyzmq - A Python wrapper for the ZeroMQ message library.
- Twisted - An event-driven networking engine.
- txZMQ ★142 ⏳1Y - Twisted based wrapper for the ZeroMQ message library.
- NAPALM ★933 - Cross-vendor API to manipulate network devices.
News Feed
Libraries for building user’s activities.
- django-activity-stream ★1375 - Generating generic activity streams from the actions on your site.
- Stream-Framework ★3699 - Building newsfeed and notification systems using Cassandra and Redis.
ORM
Libraries that implement Object-Relational Mapping or data mapping techniques.
- Relational Databases
- Django Models - A part of Django.
- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper.
- Orator - The Orator ORM provides a simple yet beautiful ActiveRecord implementation.
- Peewee ★5350 - A small, expressive ORM.
- PonyORM - ORM that provides a generator-oriented interface to SQL.
- pyDAL ★224 - A pure Python Database Abstraction Layer.
- python-sql - Write SQL queries pythonically.
- NoSQL Databases
- django-mongodb-engine ★774 - Django MongoDB Backend.
- flywheel ★104 ⏳1Y - Object mapper for Amazon DynamoDB.
- hot-redis ★233 - Rich Python data types for Redis.
- MongoEngine - A Python Object-Document-Mapper for working with MongoDB.
- PynamoDB ★690 - A Pythonic interface for Amazon DynamoDB.
- redisco ★403 - A Python Library for Simple Models and Containers Persisted in Redis.
- Others
- butterdb ★334 ⏳3Y - A Python ORM for Google Drive Spreadsheets.
- dataset ★3120 - A JSON-based database.
Package Management
Libraries for package and dependency management.
- pip - The Python package and dependency manager.
- conda ★2223 - Cross-platform, Python-agnostic binary package manager.
- Curdling - Curdling is a command line tool for managing Python packages.
- pip-tools ★2799 - A set of tools to keep your pinned Python dependencies fresh.
- wheel - The new standard of Python distribution and are intended to replace eggs.
Package Repositories
Local PyPI repository server and proxies.
- warehouse ★1820 - Next generation Python Package Repository (PyPI).
- bandersnatch - PyPI mirroring tool provided by Python Packaging Authority (PyPA).
- devpi - PyPI server and packaging/testing/release tool.
- localshop - Local PyPI server (custom packages and auto-mirroring of pypi).
Permissions
Libraries that allow or deny users access to data or functionality.
- Carteblanche ★32 ⏳2Y - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.
- django-guardian ★1874 - Implementation of per object permissions for Django 1.2+
- django-rules ★674 - A tiny but powerful app providing object-level permissions to Django, without requiring a database.
Processes
Libraries for starting and communicating with OS processes.
- delegator.py ★959 - Subprocesses for Humans™ 2.0.
- sarge - Yet another wrapper for subprocess.
- sh ★4503 - A full-fledged subprocess replacement for Python.
Queue
Libraries for working with event and task queues.
- celery - An asynchronous task queue/job queue based on distributed message passing.
- huey ★1803 - Little multi-threaded task queue.
- mrq ★686 - Mr. Queue - A distributed worker task queue in Python using Redis & gevent.
- rq - Simple job queues for Python.
- simpleq ★135 ⏳3Y - A simple, infinitely scalable, Amazon SQS based queue.
Recommender Systems
Libraries for building recommender systems.
- annoy ★3693 - Approximate Nearest Neighbors in C++/Python optimized for memory usage.
- fastFM ★601 - A library for Factorization Machines.
- implicit ★912 - A fast Python implementation of collaborative filtering for implicit datasets.
- libffm ★914 - A library for Field-aware Factorization Machine (FFM).
- LightFM ★1784 - A Python implementation of a number of popular recommendation algorithms.
- Spotlight ★1058 - Deep recommender models using PyTorch.
- surprise - A scikit for building and analyzing recommender systems.
- TensorRec ★430 - A Recommendation Engine Framework in TensorFlow.
RESTful API
Libraries for developing RESTful APIs.
- Django
- django-rest-framework - A powerful and flexible toolkit to build web APIs.
- django-tastypie - Creating delicious APIs for Django apps.
- Flask
- eve ★5066 - REST API framework powered by Flask, MongoDB and good intentions.
- flask-api-utils ★44 ⏳2Y - Taking care of API representation and authentication for Flask.
- flask-api - Browsable Web APIs for Flask.
- flask-restful ★3767 - Quickly building REST APIs for Flask.
- flask-restless ★895 - Generating RESTful APIs for database models defined with SQLAlchemy.
- Pyramid
- cornice ★324 - A RESTful framework for Pyramid.
- Framework agnostic
- falcon - A high-performance framework for building cloud APIs and web app backends.
- hug ★5175 - A Python3 framework for cleanly exposing APIs over HTTP and the Command Line with automatic documentation and validation.
- restless ★682 - Framework agnostic REST framework based on lessons learned from Tastypie.
- ripozo ★183 - Quickly creating REST/HATEOAS/Hypermedia APIs.
- sandman ★2298 ⏳2Y - Automated REST APIs for existing database-driven systems.
- apistar ★4298 - A smart Web API framework, designed for Python 3.
RPC Servers
RPC-compatible servers.
- SimpleJSONRPCServer ★365 - This library is an implementation of the JSON-RPC specification.
- SimpleXMLRPCServer - (Python standard library) Simple XML-RPC server implementation, single-threaded.
- zeroRPC ★2228 - zerorpc is a flexible RPC implementation based on ZeroMQ and MessagePack.
Science
Libraries for scientific computing.
- astropy - A community Python library for Astronomy.
- bcbio-nextgen - Providing best-practice pipelines for fully automated high throughput sequencing analysis.
- bccb ★404 - Collection of useful code related to biological analysis.
- Biopython - Biopython is a set of freely available tools for biological computation.
- cclib - A library for parsing and interpreting the results of computational chemistry packages.
- Colour - A colour science package implementing a comprehensive number of colour theory transformations and algorithms.
- NetworkX - A high-productivity software for complex networks.
- NIPY - A collection of neuroimaging toolkits.
- NumPy - A fundamental package for scientific computing with Python.
- Open Babel - A chemical toolbox designed to speak the many languages of chemical data.
- ObsPy - A Python toolbox for seismology.
- PyDy - Short for Python Dynamics, used to assist with workflow in the modeling of dynamic motion.
- PyMC ★3400 - Markov Chain Monte Carlo sampling toolkit.
- QuTiP - Quantum Toolbox in Python.
- RDKit - Cheminformatics and Machine Learning Software.
- SciPy - A Python-based ecosystem of open-source software for mathematics, science, and engineering.
- statsmodels ★2977 - Statistical modeling and econometrics in Python.
- SymPy ★4909 - A Python library for symbolic mathematics.
- Zipline ★7225 - A Pythonic algorithmic trading library.
- SimPy - A process-based discrete-event simulation framework.
Search
Libraries and software for indexing and performing search queries on data.
- django-haystack ★2438 - Modular search for Django.
- elasticsearch-dsl-py ★1873 - The official high-level Python client for Elasticsearch.
- elasticsearch-py - The official low-level Python client for Elasticsearch.
- esengine ★89 - ElasticSearch ODM (Object Document Mapper) for Python.
- pysolr ★453 - A lightweight Python wrapper for Apache Solr (incl. SolrCloud awareness).
- solrpy ★32 ⏳2Y - A Python client for solr.
- Whoosh - A fast, pure Python search engine library.
Serialization
Libraries for serializing complex data types
- marshmallow ★2667 - marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes.
Serverless Frameworks
Frameworks for developing serverless Python code.
- apex ★7100 - Build, deploy, and manage AWS Lambda functions with ease.
- python-lambda ★727 - A toolkit for developing and deploying Python code in AWS Lambda.
- Zappa ★7256 - A tool for deploying WSGI applications on AWS Lambda and API Gateway.
Specific Formats Processing
Libraries for parsing and manipulating specific text formats.
- General
- tablib ★3018 - A module for Tabular Datasets in XLS, CSV, JSON, YAML.
- Office
- Marmir ★140 ⏳2Y - Takes Python data structures and turns them into spreadsheets.
- openpyxl - A library for reading and writing Excel 2010 xlsx/xlsm/xltx/xltm files.
- pyexcel ★488 - Providing one API for reading, manipulating and writing csv, ods, xls, xlsx and xlsm files.
- python-docx ★1226 - Reads, queries and modifies Microsoft Word 2007/2008 docx files.
- python-pptx ★571 - Python library for creating and updating PowerPoint (.pptx) files.
- relatorio - Templating OpenDocument files.
- unoconv ★1234 - Convert between any document format supported by LibreOffice/OpenOffice.
- XlsxWriter - A Python module for creating Excel .xlsx files.
- xlwings - A BSD-licensed library that makes it easy to call Python from Excel and vice versa.
- xlwt / xlrd ★1368 - Writing and reading data and formatting information from Excel files.
- PDF
- PDFMiner ★2901 - A tool for extracting information from PDF documents.
- PyPDF2 ★1949 - A library capable of splitting, merging and transforming PDF pages.
- ReportLab - Allowing Rapid creation of rich PDF documents.
- Markdown
- Mistune ★1222 - Fastest and full featured pure Python parsers of Markdown.
- Python-Markdown - A Python implementation of John Gruber’s Markdown.
- YAML
- PyYAML - YAML implementations for Python.
- CSV
- csvkit ★3296 - Utilities for converting to and working with CSV.
- Archive
- unp ★309 ⏳1Y - A command line tool that can unpack archives easily.
Static Site Generator
Static site generator is a software that takes some text + templates as input and produces HTML files on the output.
- Cactus ★3212 - Static site generator for designers.
- Hyde - Jinja2-based static web site generator.
- Lektor - An easy to use static CMS and blog engine.
- Nikola - A static website and blog generator.
- Pelican - Uses Markdown or ReST for content and Jinja 2 for themes. Supports DVCS, Disqus. AGPL.
- Tinkerer - Tinkerer is a blogging engine/.static website generator powered by Sphinx.
Tagging
Libraries for tagging items.
- django-taggit ★1902 - Simple tagging for Django.
Template Engine
Libraries and tools for templating and lexing.
- Genshi - Python templating toolkit for generation of web-aware output.
- Jinja2 ★5268 - A modern and designer friendly templating language.
- Mako - Hyperfast and lightweight templating for the Python platform.
Testing
Libraries for testing codebases and generating test data.
- Testing Frameworks
- hypothesis - Hypothesis is an advanced Quickcheck style property based testing library.
- mamba - The definitive testing tool for Python. Born under the banner of BDD.
- nose ★1208 - A nicer unittest for Python.
- nose2 ★461 - The successor to nose, based on unittest2.
- pytest - A mature full-featured Python testing tool.
- Robot Framework ★2370 - A generic test automation framework.
- unittest - (Python standard library) Unit testing framework.
- Test Runners
- green ★536 - A clean, colorful test runner.
- tox - Auto builds and tests distributions in multiple Python versions
- GUI / Web Testing
- locust ★7703 - Scalable user load testing tool written in Python.
- PyAutoGUI ★1825 - PyAutoGUI is a cross-platform GUI automation Python module for human beings.
- Selenium - Python bindings for Selenium WebDriver.
- sixpack - A language-agnostic A/B Testing framework.
- splinter ★1779 - Open source tool for testing web applications.
- Mock
- doublex - Powerful test doubles framework for Python.
- freezegun ★1521 - Travel through time by mocking the datetime module.
- httmock ★347 - A mocking library for requests for Python 2.6+ and 3.2+.
- httpretty ★1545 - HTTP request mock tool for Python.
- mock - (Python standard library) A mocking and patching library.
- Mocket ★110 - Socket Mock Framework plus HTTP[S]/asyncio/gevent mocking library with recording/replaying capability.
- responses ★1911 - A utility library for mocking out the requests Python library.
- VCR.py ★1165 - Record and replay HTTP interactions on your tests.
- Object Factories
- factory_boy ★1485 - A test fixtures replacement for Python.
- mixer ★510 - Another fixtures replacement. Supported Django, Flask, SQLAlchemy, Peewee and etc.
- model_mommy ★802 - Creating random fixtures for testing in Django.
- Code Coverage
- coverage - Code coverage measurement.
- Fake Data
- mimesis ★2011 - is a Python library that help you generate fake data.
- fake2db ★1859 - Fake database generator.
- faker ★6350 - A Python package that generates fake data.
- radar - Generate random datetime / time.
- Error Handler
- FuckIt.py ★2924 - FuckIt.py uses state-of-the-art technology to make sure your Python code runs whether it has any right to or not.
Text Processing
Libraries for parsing and manipulating plain texts.
- General
- chardet ★948 - Python 2/3 compatible character encoding detector.
- difflib - (Python standard library) Helpers for computing deltas.
- ftfy ★2247 - Makes Unicode text less broken and more consistent automagically.
- fuzzywuzzy ★4343 - Fuzzy String Matching.
- Levenshtein ★464 - Fast computation of Levenshtein distance and string similarity.
- pangu.py ★77 - Spacing texts for CJK and alphanumerics.
- pyfiglet ★288 - An implementation of figlet written in Python.
- pypinyin ★1064 - Convert Chinese hanzi to pinyin.
- shortuuid ★904 ⏳1Y - A generator library for concise, unambiguous and URL-safe UUIDs.
- textdistance ★1189 - Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.
- unidecode - ASCII transliterations of Unicode text.
- uniout ★146 - Print readable chars instead of the escaped string.
- xpinyin ★564 - A library to translate Chinese hanzi (漢字) to pinyin (拼音).
- Slugify
- awesome-slugify ★403 - A Python slugify library that can preserve unicode.
- python-slugify ★484 - A Python slugify library that translates unicode to ASCII.
- unicode-slugify ★265 - A slugifier that generates unicode slugs with Django as a dependency.
- Parser
- phonenumbers ★1879 - Parsing, formatting, storing and validating international phone numbers.
- PLY - Implementation of lex and yacc parsing tools for Python.
- Pygments - A generic syntax highlighter.
- pyparsing - A general purpose framework for generating parsers.
- python-nameparser ★276 - Parsing human names into their individual components.
- python-user-agents ★750 - Browser user agent parser.
- sqlparse ★1276 - A non-validating SQL parser.
Third-party APIs
Libraries for accessing third party services APIs. See: List of Python API Wrappers and Libraries ★1134.
- apache-libcloud - One Python library for all clouds.
- boto3 ★3440 - Python interface to Amazon Web Services.
- django-wordpress ★271 - WordPress models and views for Django.
- facebook-sdk ★2298 - Facebook Platform Python SDK.
- facepy ★763 - Facepy makes it really easy to interact with Facebook’s Graph API
- gmail ★1507 - A Pythonic interface for Gmail.
- google-api-python-client ★2193 - Google APIs Client Library for Python.
- gspread ★3338 - Google Spreadsheets Python API.
- twython ★1527 - A Python wrapper for the Twitter API.
URL Manipulation
Libraries for parsing URLs.
- furl ★1326 - A small Python library that makes parsing and manipulating URLs easy.
- purl ★208 - A simple, immutable URL class with a clean API for interrogation and manipulation.
- pyshorteners ★196 - A pure Python URL shortening lib.
- short_url ★116 ⏳2Y - Python implementation for generating Tiny URL and bit.ly-like URLs.
- webargs ★616 - A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, and Pyramid.
Video
Libraries for manipulating video and GIFs.
- moviepy - A module for script-based movie editing with many formats, including animated GIFs.
- scikit-video ★78 ⏳2Y - Video processing routines for SciPy.
WSGI Servers
WSGI-compatible web servers.
- bjoern - Asynchronous, very fast and written in C.
- fapws3 - Asynchronous (network side only), written in C.
- gunicorn - Pre-forked, partly written in C.
- meinheld - Asynchronous, partly written in C.
- netius ★94 - Asynchronous, very fast.
- rocket - Multi-threaded.
- uWSGI - A project aims at developing a full stack for building hosting services, written in C.
- waitress - Multi-threaded, powers Pyramid.
- Werkzeug - A WSGI utility library for Python that powers Flask and can easily be embedded into your own projects.
Web Content Extracting
Libraries for extracting web contents.
- Haul ★127 ⏳1Y - An Extensible Image Crawler.
- html2text ★526 - Convert HTML to Markdown-formatted text.
- lassie ★420 - Web Content Retrieval for Humans.
- micawber ★395 - A small library for extracting rich content from URLs.
- newspaper ★6448 - News extraction, article extraction and content curation in Python.
- python-goose ★3057 - HTML Content/Article Extractor.
- python-readability ★1410 - Fast Python port of arc90’s readability tool.
- requests-html ★7970 - Pythonic HTML Parsing for Humans.
- sanitize ★53 ⏳3Y - Bringing sanity to world of messed-up data.
- sumy ★1510 - A module for automatic summarization of text documents and HTML pages.
- textract ★2225 - Extract text from any document, Word, PowerPoint, PDFs, etc.
- toapi ★2514 - Every web site provides APIs.
Web Crawling & Web Scraping
Libraries to automate data extraction from websites.
- cola ★1263 ⏳1Y - A distributed crawling framework.
- Demiurge ★76 ⏳1Y - PyQuery-based scraping micro-framework.
- feedparser - Universal feed parser.
- Grab - Site scraping framework.
- MechanicalSoup - A Python library for automating interaction with websites.
- portia ★6141 - Visual scraping for Scrapy.
- pyspider ★11513 - A powerful spider system.
- RoboBrowser ★3125 - A simple, Pythonic library for browsing the web without a standalone web browser.
- Scrapy - A fast high-level screen scraping and web crawling framework.
Web Frameworks
Full stack web frameworks.
- Bottle - A fast, simple and lightweight WSGI micro web-framework.
- Dash - Built on top of Flask, React and Plotly aimed at analytical web applications.
- Django - The most popular web framework in Python.
- Flask - A microframework for Python.
- Pyramid - A small, fast, down-to-earth, open source Python web framework.
- Sanic ★9585 - Web server that’s written to go fast.
- Tornado - A Web framework and asynchronous networking library.
WebSocket
Libraries for working with WebSocket.
- AutobahnPython ★1813 - WebSocket & WAMP for Python on Twisted and asyncio.
- Crossbar ★1521 - Open-source Unified Application Router (Websocket & WAMP for Python on Autobahn).
- django-channels ★3057 - Developer-friendly asynchrony for Django
- django-socketio ★1126 - WebSockets for Django.
- WebSocket-for-Python ★960 - WebSocket client and server library for Python 2 and 3 as well as PyPy.
Services
Online tools and APIs to simplify development.
Continuous Integration
See: awesome-CIandCD ★694.
- CircleCI - A CI service that can run very fast parallel testing. (GitHub only)
- Travis CI - A popular CI service for your open source and private projects. (GitHub only)
- Vexor CI - A continuous integration tool for private apps with pay-per-minute billing model.
- Wercker - A Docker-based platform for building and deploying applications and microservices.
Code Quality
- Codacy - Automated Code Review to ship better code, faster.
- Codecov - Code coverage dashboard.
- CodeFactor - Automated Code Review for Git.
- Landscape - Hosted continuous Python code metrics.
Resources
Where to discover new Python libraries.
Podcasts
- From Python Import Podcast
- Podcast.init
- Python Bytes
- Python Testing
- Radio Free Python
- Talk Python To Me
- @codetengu
- @getpy
- @importpython
- @planetpython
- @pycoders
- @pypi
- @pythontrending
- @PythonWeekly
- @TalkPython
- @realpython
Websites
- /r/CoolGithubProjects
- /r/Python
- Awesome Python @LibHunt
- Django Packages
- Full Stack Python
- PyPI Ranking
- Python 3 Wall of Superpowers
- Python Hackers
- Python ZEEF
- Python 开发社区
- Real Python
- Trending Python repositories on GitHub today
Weekly
Other Awesome Lists
List of lists.
- Monty
- Python
Contributing
Your contributions are always welcome! Please take a look at the contribution guidelines first.
I will keep some pull requests open if I’m not sure whether those libraries are awesome, you could vote for them by adding to them. Pull requests will be merged when their votes reach 20.
If you have any question about this opinionated list, do not hesitate to contact me @vinta on Twitter or open an issue on GitHub.
This list is a copy of vinta/awesome-python with ranks