Awesome Python
A curated list of awesome Python frameworks, libraries and software. Inspired by .
- Awesome Python
- Environment Management
- Package Management
- Package Repositories
- Distribution
- Build Tools
- Interactive Interpreter
- Files
- Date and Time
- Text Processing
- Specific Formats Processing
- Natural Language Processing
- Documentation
- Configuration
- Command-line Tools
- Downloader
- Imagery
- OCR
- Audio
- Video
- Geolocation
- HTTP
- Database
- Database Drivers
- ORM
- Web Frameworks
- Permissions
- CMS
- E-commerce
- RESTful API
- Authentication
- Template Engine
- Queue
- Search
- News Feed
- Asset Management
- Caching
- Internationalization
- URL Manipulation
- HTML Manipulation
- Web Crawling
- Web Content Extracting
- Forms
- Data Validation
- Anti-spam
- Tagging
- Admin Panels
- Static Site Generator
- Processes and Threads
- Concurrency and Networking
- WebSocket
- WSGI Servers
- RPC Servers
- Cryptography
- GUI
- Game Development
- Logging
- Testing
- Code Analysis and Linter
- Debugging Tools
- Science and Data Analysis
- Data Visualization
- Computer Vision
- Machine Learning
- Functional Programming
- MapReduce
- Third-party APIs
- DevOps Tools
- Job Scheduler
- Foreign Function Interface
- High Performance
- Network Virtualization and SDN
- Hardware
- Compatibility
- Miscellaneous
- Algorithms and Design Patterns
- Editor Plugins
- Resources
- Websites
- Weekly
- Other Awesome Lists
- Contributing
Environment Management
Libraries for Python version and environment management.
- - Simple Python version management.
- - A tool to create isolated Python environments.
- - A set of extensions to virtualenv.
- - An API for virtualenv and pip.
- - A set of tools to manage multiple virtual environments.
- - Run a command in the named virtualenv.
- - A one-file, no-installation-needed version of Python.
Package Management
Libraries for package and dependency management.
- - The Python package and dependency manager.
- - Cross-platform, Python-agnostic binary package manager.
- - Curdling is a command line tool for managing Python packages.
- - The new standard of Python distribution and are intended to replace eggs.
Package Repositories
Local PyPI repository server and proxies.
- - Next generation Python Package Repository (PyPI).
- - PyPI server and packaging/testing/release tool.
- - PyPI server which mirrors official packages on-demand, and also supports local (private) package uploads.
Distribution
Libraries to create packaged executables for release distribution.
- - Freezes Python scripts (cross-platform).
- - Freezes Python scripts (Windows).
- - A tool to build Windows installers, installers bundle Python itself.
- - Freezes Python scripts (Mac OS X).
- - Converts Python programs into stand-alone executables (cross-platform).
- - Build and distribute a virtualenv as a Debian package.
- - Compile scripts, modules, packages to an executable or extension module.
Build Tools
Compile software from source code.
- - A build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based.
- - A software construction tool.
- - A console tool to build code with different development platforms.
- - A make-like build tool with the special focus of distributions and packages for embedded Linux.
- - A build tool that finds dependencies automatically for any language.
Interactive Interpreter
Interactive Python interpreters.
- - A rich toolkit to help you make the most out of using Python interactively.
- – A fancy interface to the Python interpreter.
- - A Library for building powerful interactive command lines.
Files
Libraries for file manipulation and MIME type detection.
- - (Python standard library) Map filenames to MIME types.
- - (Python standard library) Determine the type of an image.
- - A Python interface to the libmagic file type identification library.
- - A module wrapper for .
- - API and shell utilities to monitor file system events.
- - An object-oriented approach to file/directory operations.
- - (Python standard library in Python 3.4+) An cross-platform, object-oriented path library.
Date and Time
Libraries for working with dates and times.
- - Better dates & times for Python.
- - A Python 3 library for parsing human-written times and dates.
- - Extensions to the standard Python module.
- - A library for clearing up the inconvenient truths that arise dealing with datetimes.
- - Providing user-friendly functions to help perform common date and time actions.
- - A Python library for dealing with dates/times. Inspired by .
- - World timezone definitions, modern and historical. Brings the into Python.
Text Processing
Libraries for parsing and manipulating plain texts.
- General
- - (Python standard library) Helpers for computing deltas.
- - Fast computation of Levenshtein distance and string similarity.
- - Fuzzy String Matching.
- - Regular expression accelerator.
- - A generator library for concise, unambiguous and URL-safe UUIDs.
- - Makes Unicode text less broken and more consistent automagically.
- - ASCII transliterations of Unicode text.
- - Python 2/3 compatible character encoding detector.
- - A library to translate Chinese hanzi (漢字) to pinyin (拼音).
- - Spacing texts for CJK and alphanumerics.
- - An implementation of figlet written in Python.
- - Print readable chars instead of the escaped string.
- Slugify
- - A Python slugify library that can preserve unicode.
- - A Python slugify library that translates unicode to ASCII.
- - A slugifier that generates unicode slugs with Django as a dependency.
- Parser
- - Implementation of lex and yacc parsing tools for Python
- - Parsing, formatting, storing and validating international phone numbers.
- - Browser user agent parser.
- - A non-validating SQL parser.
- - A generic syntax highlighter.
- - Parsing human names into their individual components.
- - A general purpose framework for generating parsers.
Specific Formats Processing
Libraries for parsing and manipulating specific text formats.
- General
- - A module for Tabular Datasets in XLS, CSV, JSON, YAML.
- Office
- - Reads, queries and modifies Microsoft Word 2007/2008 docx files.
- / - Writing and reading data and formatting information from Excel files.
- - A Python module for creating Excel .xlsx files.
- - A BSD-licensed library that makes it easy to call Python from Excel and vice versa.
- - Takes Python data structures and turns them into spreadsheets.
- PDF
- - A tool for extracting information from PDF documents.
- - A library capable of splitting, merging and transforming PDF pages.
- Markdown
- - A Python implementation of John Gruber’s Markdown.
- - Fastest and full featured pure Python parsers of Markdown.
- YAML
- - YAML implementations for Python.
- CSV
- - Utilities for converting to and working with CSV.
- Archive
- - A command line tool that can unpack archives easily.
Natural Language Processing
Libraries for working with human languages.
- - A leading platform for building Python programs to work with human language data.
- - A web mining module for the Python. It has tools for natural language processing, machine learning, among others.
- - Providing a consistent API for diving into common NLP tasks. Stands on the giant shoulders of NLTK and Pattern.
- - Chinese Words Segmentation Utilities.
- - A library for processing Chinese text.
- - Another Chinese segmentation library.
- - A Chinese segment base on Conditional Random Field.
Documentation
Libraries for generating project documentation.
- - Python Documentation generator.
- - Markup Syntax and Parser Component of Docutils.
- - Markdown friendly documentation generator.
- - The original quick-and-dirty, hundred-line-long, literate-programming-style documentation generator.
- - Epydoc replacement to auto generate API documentation for Python libraries.
Configuration
Libraries for storing configuration options.
- - (Python standard library) INI file parser.
- - INI file parser with validation.
- - Hierarchical config from the author of .
- - Config from multiple formats with value conversion.
Command-line Tools
Libraries for building command-line application.
- Command-line Application Development
- - Cement provides a light-weight and fully featured foundation to build anything from single file scripts to complex and intricately designed applications.
- - A package for creating beautiful command line interfaces in a composable way.
- - Python Command-line Application Tools.
- - A framework for creating command-line programs with multi-level commands.
- – Clime lets you convert any module into a multi-command CLI program without any configuration.
- - Pythonic command line arguments parser.
- - Cross-platform colored terminal text.
- - Command-line applications supporting standard command line parsing, logging, unit and functional testing.
- - Turn command line programs into a full GUI application with one line
- Productivity Tools
- - A command-line utility that creates projects from cookiecutters (project templates). E.g. Python package projects, jQuery plugin projects.
- - A command line HTTP client, a user-friendly cURL replacement.
- - Adds flavor of interactive selection to the traditional pipe concept on UNIX.
- - Smart and nice Twitter client on terminal.
- - Determine what projects are blocking you from porting to Python 3.
Downloader
Libraries for downloading.
- - A command line tool for managing Amazon S3 and CloudFront.
- - A small command-line program to download videos from YouTube.
- - A YouTube/Youku/Niconico video downloader written in Python 3.
- - Script for downloading Coursera.org videos and naming them.
- - Tools for downloading and preserving wikis.
- - Library and command line tool to search and download subtitles.
Imagery
Libraries for manipulating images.
- - Pillow is the friendly fork.
- - Python bindings for , C API for ImageMagick.
- - A smart imaging service. It enables on-demand crop, resizing and flipping of images.
- - A project for searching a collection of images using visual similarity.
- - A pure Python QR Code generator.
- - Create barcodes in Python without needing PIL.
- - Instagram-like image filters.
- - Computer art based on quadtrees.
- - Nudity detection.
- - A Python library for (scientific) image processing.
- - Image histogram remapping.
OCR
Libraries for Optical Character Recognition.
- [python-tesseract] () - A wrapper class for .
- - Another wrapper for Google Tesseract OCR.
- - A wrapper for Tesseract and Cuneiform.
Audio
Libraries for manipulating audio.
- - Expressive Digital Signal Processing (DSP) package for Python.
- - Cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding.
- - A music library manager and tagger.
- - Audio fingerprinting and recognition.
- - Django + .
- - A tool for working with audio files, specifically MP3 files containing ID3 metadata.
- - A Python module for reading MP3 meta data.
- - A Python module to handle audio metadata.
- - Manipulate audio with a simple and easy high level interface.
- - Python client for the API.
- - A Python library for speech/signal processing.
- - Open web audio processing framework.
- - A library for reading music meta data of MP3, OGG, FLAC and Wave files.
- - A module for parsing m3u8 file.
Video
Libraries for manipulating video and GIFs.
- - A module for script-based movie editing with many formats, including animated GIFs.
- - Video summarization.
- - Video processing routines for SciPy.
Geolocation
Libraries for geocoding addresses and working with latitudes and longitudes.
- - A world-class geographic web framework.
- - Python Geocoding Toolbox.
- - Pure Python GeoIP API.
- - Python API for MaxMind GeoIP Legacy Database.
- - Python bindings and utlities for GeoJSON.
- - A Django app that provides country choices for use with forms, flag icons static files, and a country field for models.
HTTP
Libraries for working with HTTP.
- - HTTP Requests for Humans™.
- - requests + gevent for asynchronous HTTP requests.
- - A HTTP library with thread-safe connection pooling, file post support, sanity friendly.
- - Comprehensive HTTP client library.
- - Python requests like API built on top of Twisted's HTTP client.
Database
Databases implemented in Python.
- - A native object database for Python. A key-value and object graph database.
- - A simple and lightweight key-value store for Python.
- - A tiny, document-oriented database.
Database Drivers
Libraries for connecting and operating databases.
- Relational Databases
- - The MySQL database connector for Python.
- - mysql-python fork supporting Python 3.
- - Pure Python MySQL driver compatible to mysql-python.
- - A pure Python MySQL driver from Oracle.
- - A better MySQL connector with support for native prepared statements and BLOBs.
- - The most popular PostgreSQL adapter for Python.
- - Twisted based asynchronous driver for PostgreSQL.
- - A wrapper of the psycopg2 library for interacting with PostgreSQL.
- - Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL.
- NoSQL Databases
- - Python driver for Cassandra.
- - Python Thrift driver for Cassandra.
- - A developer-friendly library for Apache HBase.
- - The official Python client for MongoDB.
- - A fast and feature-rich Python interface to LevelDB.
- - The Redis Python Client.
- - Python wrapper client for Neo4j's restful interface.
- - Twisted based client for Cassandra.
- - Twisted based client for Redis.
ORM
Libraries that implement Object-Relational Mapping or datamapping techniques.
- Relational Databases
- - A part of Django.
- - The Python SQL Toolkit and Object Relational Mapper.
- - A small, expressive ORM.
- - ORM that provides a generator-oriented interface to SQL.
- NoSQL Databases
- - A Python Object-Document-Mapper for working with MongoDB.
- - Django MongoDB Backend.
- - A Python Library for Simple Models and Containers Persisted in Redis.
- - Object mapper for Amazon DynamoDB.
- Others
- - A Python ORM for Google Drive Spreadsheets.
Web Frameworks
Full stack web frameworks.
- - The most popular web framework in Python.
- - A microframework for Python.
- - A fast, simple and lightweight WSGI micro web-framework.
- - A small, fast, down-to-earth, open source Python web framework.
- - A full stack web framework and platform focused in the ease of use.
- - A web framework for Python that is as simple as it is powerful.
- - The Web Framework that starts as a microframework and scales up to a fullstack solution.
- - A Minimalist Python Web Framework, HTTP/1.1-compliant and WSGI thread-pooled.
- - A framework built on the existing Zope 3 libraries.
- - An open-source web application server, framework and library, formerly known as Zope 3.
- - A lightweight and high performance web framework for Python written in C.
Permissions
Libraries that allow or deny users access to data or functionality.
- - Implementation of per object permissions for Django 1.2+
- - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.
CMS
Content Management Systems.
- - An Open source enterprise CMS based on the Django.
- - A lightweight but yet powerful Django CMS with plugins, inline editing and performance in mind.
- - One of the most advanced Content Management Systems built on Django.
- - A high-level, Pythonic web application framework built on Pyramid.
- - A powerful, consistent, and flexible content management platform.
- - A Django-based CMS for magazines, newspapers websites and portals with high-traffic.
- - A CMS built on top of the open source application server Zope.
- - Flexible, extensible, small CMS powered by Flask and MongoDB.
- - A Django content management system.
- - Last CMS framework, based on Django.
E-commerce
Frameworks and libraries for e-commerce and payments.
- - An open-source e-commerce framework for Django.
- - A Django based shop system.
- - A Django app to accept payments from various payment processors.
- - Money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution.
- - Display money format and its filthy currencies.
RESTful API
Libraries for developing RESTful APIs.
- - A REST framework for Pyramid.
- - A powerful and flexible toolkit that makes it easy to build Web APIs.
- - Creating delicious APIs for Django apps.
- - Create JSON APIs with HMAC authentication and Django form-validation.
- - An implementation of the same web browsable APIs that django-rest-framework provides.
- - An extension for Flask that adds support for quickly building REST APIs.
- - A Flask extension for generating ReSTful APIs for database models defined with SQLAlchemy (or Flask-SQLAlchemy).
- - Flask extension that takes care of API representation and authentication.
- - A high-performance Python framework for building cloud APIs and web app backends.
- - REST API framework powered by Flask, MongoDB and good intentions.
- - Automated REST APIs for existing database-driven systems.
- - Framework agnostic REST framework based on lessons learned from TastyPie.
- - REST API building library (django, and others)
Authentication
Libraries for implementing authentications schemes.
- OAuth
- - Simple but powerful framework agnostic authentication/authorization client package.
- - A generic, spec-compliant, thorough implementation of the OAuth request-signing logic.
- - A Python library for OAuth 1.0/a, 2.0, and Ofly.
- - A fully tested, abstract interface to creating OAuth clients and servers.
- - An easy-to-setup social authentication mechanism.
- - OAuth2 goodies for the Djangonauts.
- - Providing OAuth2 access to Django app.
- - Authentication app for Django that "just works."
- - OAuth 1.0/a, 2.0 implementation of client and provider for Flask.
- - A dead simple OAuth2 client implementation.
- Others
- - Implementation of the JSON Web Token draft 01.
- - Module for generating and verifying JSON Web Tokens.
- - Implementation of JSON Web Signatures draft 02.
- - JavaScript Object Signing and Encryption draft implementation.
Template Engine
Libraries and tools for templating and lexing.
- - A modern and designer friendly templating language.
- - Python templating toolkit for generation of web-aware output.
- - Hyperfast and lightweight templating for the Python platform.
- - An HTML/XML template engine. Modeled after ZPT, optimized for speed.
- - A very fast Python template compiler.
Queue
Libraries for working with event and task queues.
- - An asynchronous task queue/job queue based on distributed message passing.
- - Little multi-threaded task queue.
- - Mr. Queue - A distributed worker task queue in Python using Redis & gevent.
- - Simple job queues for Python.
- - A simple, infinitely scalable, Amazon SQS based queue.
Search
Libraries and software for indexing and performing search queries on data.
- - Modular search for Django.
- - The official low-level Python client for .
- - A Python client for .
- - A fast, pure Python search engine library.
News Feed
Libraries for building user's activities.
- - A library to build newsfeed and notification systems using Cassandra and Redis.
- - Generate generic activity streams from the actions on your site.
Asset Management
Tools for managing, compressing and minifying website assets.
- - Compresses linked and inline javascript or CSS into a single cached file.
- - A Jinja extension to compile and compress your assets.
- - Bundles, optimizes, and manages unique cache-busting URLs for static resources.
- - Packages, optimizes, and serves static file dependencies as Python packages.
- - Monitors changes, processes, and transports assets to CDNs and file storage systems.
- - A collection of custom storage backends for Django.
- - Glue is a simple command line tool to generate CSS sprites.
- - A Python binding of , the reference implementation of SASS/SCSS.
- - Helps you integrate webassets into your Flask app.