# Fucking Awesome Python A curated list with Github stars and forks stats based on awesome [awesome-python](https://github.com/vinta/awesome-python) Inspired by [fucking-awesome-go](https://github.com/hvnsweeting/fucking-awesome-go). - [Awesome Python](#awesome-python) - [Admin Panels](#admin-panels) - [Algorithms and Design Patterns](#algorithms-and-design-patterns) - [ASGI Servers](#asgi-servers) - [Asynchronous Programming](#asynchronous-programming) - [Audio](#audio) - [Authentication](#authentication) - [Build Tools](#build-tools) - [Built-in Classes Enhancement](#built-in-classes-enhancement) - [Caching](#caching) - [ChatOps Tools](#chatops-tools) - [CMS](#cms) - [Code Analysis](#code-analysis) - [Command-line Interface Development](#command-line-interface-development) - [Command-line Tools](#command-line-tools) - [Compatibility](#compatibility) - [Computer Vision](#computer-vision) - [Concurrency and Parallelism](#concurrency-and-parallelism) - [Configuration](#configuration) - [Cryptography](#cryptography) - [Data Analysis](#data-analysis) - [Data Validation](#data-validation) - [Data Visualization](#data-visualization) - [Database Drivers](#database-drivers) - [Database](#database) - [Date and Time](#date-and-time) - [Debugging Tools](#debugging-tools) - [Deep Learning](#deep-learning) - [DevOps Tools](#devops-tools) - [Distributed Computing](#distributed-computing) - [Distribution](#distribution) - [Documentation](#documentation) - [Downloader](#downloader) - [E-commerce](#e-commerce) - [Editor Plugins and IDEs](#editor-plugins-and-ides) - [Email](#email) - [Environment Management](#environment-management) - [Files](#files) - [Foreign Function Interface](#foreign-function-interface) - [Forms](#forms) - [Functional Programming](#functional-programming) - [Game Development](#game-development) - [Geolocation](#geolocation) - [GUI Development](#gui-development) - [Hardware](#hardware) - [HTML Manipulation](#html-manipulation) - [HTTP Clients](#http-clients) - [Image Processing](#image-processing) - [Implementations](#implementations) - [Interactive Interpreter](#interactive-interpreter) - [Internationalization](#internationalization) - [Job Scheduler](#job-scheduler) - [Logging](#logging) - [Machine Learning](#machine-learning) - [Miscellaneous](#miscellaneous) - [Natural Language Processing](#natural-language-processing) - [Network Virtualization](#network-virtualization) - [News Feed](#news-feed) - [ORM](#orm) - [Package Management](#package-management) - [Package Repositories](#package-repositories) - [Permissions](#permissions) - [Processes](#processes) - [Recommender Systems](#recommender-systems) - [Refactoring](#refactoring) - [RESTful API](#restful-api) - [Robotics](#robotics) - [RPC Servers](#rpc-servers) - [Science](#science) - [Search](#search) - [Serialization](#serialization) - [Serverless Frameworks](#serverless-frameworks) - [Shells](#shells) - [Specific Formats Processing](#specific-formats-processing) - [Static Site Generator](#static-site-generator) - [Tagging](#tagging) - [Task Queues](#task-queues) - [Template Engine](#template-engine) - [Testing](#testing) - [Text Processing](#text-processing) - [Third-party APIs](#third-party-apis) - [URL Manipulation](#url-manipulation) - [Video](#video) - [Web Asset Management](#web-asset-management) - [Web Content Extracting](#web-content-extracting) - [Web Crawling](#web-crawling) - [Web Frameworks](#web-frameworks) - [WebSocket](#websocket) - [WSGI Servers](#wsgi-servers) - [Resources](#resources) - [Books](#books) - [Websites](#websites) - [Newsletters](#newsletters) - [Podcasts](#podcasts) - [Contributing](#contributing) --- ## Admin Panels *Libraries for administrative interfaces.* * [:octocat: ajenti](https://github.com/ajenti/ajenti) - :star: 6177 :fork_and_knife: 746 - The admin panel your servers deserve. * [:earth_americas: django-grappelli](https://grappelliproject.com/) - A jazzy skin for the Django Admin-Interface. * [:octocat: django-jet](https://github.com/geex-arts/django-jet) - :star: 2906 :fork_and_knife: 640 - Modern responsive template for the Django admin interface with improved functionality. * [:earth_americas: django-suit](https://djangosuit.com/) - Alternative Django Admin-Interface (free only for Non-commercial use). * [:octocat: django-xadmin](https://github.com/sshwsfc/xadmin) - :star: 4477 :fork_and_knife: 1388 - Drop-in replacement of Django admin comes with lots of goodies. * [:octocat: jet-bridge](https://github.com/jet-admin/jet-bridge) - :star: 818 :fork_and_knife: 71 - Admin panel framework for any application with nice UI (ex Jet Django) * [:octocat: flask-admin](https://github.com/flask-admin/flask-admin) - :star: 4463 :fork_and_knife: 1275 - Simple and extensible administrative interface framework for Flask. * [:octocat: flower](https://github.com/mher/flower) - :star: 4504 :fork_and_knife: 784 - Real-time monitor and web admin for Celery. * [:octocat: wooey](https://github.com/wooey/wooey) - :star: 1492 :fork_and_knife: 169 - A Django app which creates automatic web UIs for Python scripts. ## Algorithms and Design Patterns *Python implementation of data structures, algorithms and design patterns.* * Algorithms * [:octocat: TheAlgorithms](https://github.com/TheAlgorithms/Python) - :star: 91016 :fork_and_knife: 26805 - All Algorithms implemented in Python. * [:octocat: algorithms](https://github.com/keon/algorithms) - :star: 18144 :fork_and_knife: 3719 - Minimal examples of data structures and algorithms. * [:octocat: python-ds](https://github.com/prabhupant/python-ds) - :star: 1138 :fork_and_knife: 397 - A collection of data structure and algorithms for coding interviews. * [:octocat: sortedcontainers](https://github.com/grantjenks/python-sortedcontainers) - :star: 1893 :fork_and_knife: 121 - Fast and pure-Python implementation of sorted collections. * Design Patterns * [:octocat: PyPattyrn](https://github.com/tylerlaberge/PyPattyrn) - :star: 1071 :fork_and_knife: 106 - A simple yet effective library for implementing common design patterns. * [:octocat: python-patterns](https://github.com/faif/python-patterns) - :star: 26222 :fork_and_knife: 5487 - A collection of design patterns in Python. * [:octocat: transitions](https://github.com/pytransitions/transitions) - :star: 3256 :fork_and_knife: 407 - A lightweight, object-oriented finite state machine implementation. ## ASGI Servers *[ASGI](https://asgi.readthedocs.io/en/latest/)-compatible web servers.* * [:octocat: uvicorn](https://github.com/encode/uvicorn) - :star: 3243 :fork_and_knife: 249 - A lightning-fast ASGI server implementation, using uvloop and httptools. * [:octocat: daphne](https://github.com/django/daphne) - :star: 1381 :fork_and_knife: 178 - A HTTP, HTTP2 and WebSocket protocol server for ASGI and ASGI-HTTP. ## Asynchronous Programming * [:earth_americas: asyncio](https://docs.python.org/3/library/asyncio.html) - (Python standard library) Asynchronous I/O, event loop, coroutines and tasks. - [awesome-asyncio](https://github.com/timofurrer/awesome-asyncio) * [:octocat: uvloop](https://github.com/MagicStack/uvloop) - :star: 7242 :fork_and_knife: 431 - Ultra fast asyncio event loop. * [:earth_americas: Twisted](https://twistedmatrix.com/trac/) - An event-driven networking engine. ## Audio *Libraries for manipulating audio and its metadata.* * Audio * [:octocat: audioread](https://github.com/beetbox/audioread) - :star: 351 :fork_and_knife: 83 - Cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding. * [:octocat: dejavu](https://github.com/worldveil/dejavu) - :star: 5193 :fork_and_knife: 1222 - Audio fingerprinting and recognition. * [:octocat: matchering](https://github.com/sergree/matchering) - :star: 268 :fork_and_knife: 41 - A library for automated reference audio mastering. * [:earth_americas: mingus](http://bspaans.github.io/python-mingus/) - An advanced music theory and notation package with MIDI file and playback support. * [:octocat: pyAudioAnalysis](https://github.com/tyiannak/pyAudioAnalysis) - :star: 3498 :fork_and_knife: 932 - Audio feature extraction, classification, segmentation and applications. * [:octocat: pydub](https://github.com/jiaaro/pydub) - :star: 4864 :fork_and_knife: 670 - Manipulate audio with a simple and easy high level interface. * [:octocat: TimeSide](https://github.com/Parisson/TimeSide) - :star: 294 :fork_and_knife: 49 - Open web audio processing framework. * Metadata * [:octocat: beets](https://github.com/beetbox/beets) - :star: 9713 :fork_and_knife: 1614 - A music library manager and [MusicBrainz](https://musicbrainz.org/) tagger. * [:octocat: eyeD3](https://github.com/nicfit/eyeD3) - :star: 259 :fork_and_knife: 38 - A tool for working with audio files, specifically MP3 files containing ID3 metadata. * [:octocat: mutagen](https://github.com/quodlibet/mutagen) - :star: 681 :fork_and_knife: 93 - A Python module to handle audio metadata. * [:octocat: tinytag](https://github.com/devsnd/tinytag) - :star: 412 :fork_and_knife: 78 - A library for reading music meta data of MP3, OGG, FLAC and Wave files. ## Authentication *Libraries for implementing authentications schemes.* * OAuth * [:octocat: authlib](https://github.com/lepture/authlib) - :star: 2130 :fork_and_knife: 230 - JavaScript Object Signing and Encryption draft implementation. * [:octocat: django-allauth](https://github.com/pennersr/django-allauth) - :star: 5953 :fork_and_knife: 2117 - Authentication app for Django that "just works." * [:octocat: django-oauth-toolkit](https://github.com/evonove/django-oauth-toolkit) - :star: 2065 :fork_and_knife: 577 - OAuth 2 goodies for Django. * [:octocat: oauthlib](https://github.com/idan/oauthlib) - :star: 2111 :fork_and_knife: 424 - A generic and thorough implementation of the OAuth request-signing logic. * [:octocat: python-oauth2](https://github.com/joestump/python-oauth2) - :star: 2929 :fork_and_knife: 1045 - A fully tested, abstract interface to creating OAuth clients and servers. * [:octocat: python-social-auth](https://github.com/omab/python-social-auth) - :star: 2790 :fork_and_knife: 1136 - An easy-to-setup social authentication mechanism. * JWT * [:octocat: pyjwt](https://github.com/jpadilla/pyjwt) - :star: 3502 :fork_and_knife: 455 - JSON Web Token implementation in Python. * [:octocat: python-jose](https://github.com/mpdavis/python-jose/) - :star: 731 :fork_and_knife: 136 - A JOSE implementation in Python. * [:octocat: python-jwt](https://github.com/davedoesdev/python-jwt) - :star: 177 :fork_and_knife: 24 - A module for generating and verifying JSON Web Tokens. ## Build Tools *Compile software from source code.* * [:earth_americas: BitBake](http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html) - A make-like build tool for embedded Linux. * [:earth_americas: buildout](http://www.buildout.org/en/latest/) - A build system for creating, assembling and deploying applications from multiple parts. * [:octocat: PlatformIO](https://github.com/platformio/platformio-core) - :star: 4482 :fork_and_knife: 554 - A console tool to build code with different development platforms. * [:octocat: pybuilder](https://github.com/pybuilder/pybuilder) - :star: 1253 :fork_and_knife: 232 - A continuous build tool written in pure Python. * [:earth_americas: SCons](http://www.scons.org/) - A software construction tool. ## Built-in Classes Enhancement *Libraries for enhancing Python built-in classes.* * [:earth_americas: dataclasses](https://docs.python.org/3/library/dataclasses.html) - (Python standard library) Data classes. * [:octocat: attrs](https://github.com/python-attrs/attrs) - :star: 3263 :fork_and_knife: 230 - Replacement for `__init__`, `__eq__`, `__repr__`, etc. boilerplate in class definitions. * [:octocat: bidict](https://github.com/jab/bidict) - :star: 659 :fork_and_knife: 39 - Efficient, Pythonic bidirectional map data structures and related functionality.. * [:octocat: Box](https://github.com/cdgriffith/Box) - :star: 1564 :fork_and_knife: 65 - Python dictionaries with advanced dot notation access. * [:octocat: DottedDict](https://github.com/carlosescri/DottedDict) - :star: 105 :fork_and_knife: 14 - A library that provides a method of accessing lists and dicts with a dotted path notation. ## CMS *Content Management Systems.* * [:earth_americas: wagtail](https://wagtail.io/) - A Django content management system. * [:earth_americas: django-cms](https://www.django-cms.org/en/) - An Open source enterprise CMS based on the Django. * [:octocat: feincms](https://github.com/feincms/feincms) - :star: 780 :fork_and_knife: 225 - One of the most advanced Content Management Systems built on Django. * [:octocat: indico](https://github.com/indico/indico) - :star: 1107 :fork_and_knife: 263 - A feature-rich event management system, made @ [CERN](https://en.wikipedia.org/wiki/CERN). * [:octocat: Kotti](https://github.com/Kotti/Kotti) - :star: 353 :fork_and_knife: 112 - A high-level, Pythonic web application framework built on Pyramid. * [:octocat: mezzanine](https://github.com/stephenmcd/mezzanine) - :star: 4150 :fork_and_knife: 1494 - A powerful, consistent, and flexible content management platform. * [:earth_americas: plone](https://plone.org/) - A CMS built on top of the open source application server Zope. * [:octocat: quokka](https://github.com/rochacbruno/quokka) - :star: 2192 :fork_and_knife: 462 - Flexible, extensible, small CMS powered by Flask and MongoDB. ## Caching *Libraries for caching data.* * [:octocat: beaker](https://github.com/bbangert/beaker) - :star: 463 :fork_and_knife: 130 - A WSGI middleware for sessions and caching. * [:octocat: django-cache-machine](https://github.com/django-cache-machine/django-cache-machine) - :star: 799 :fork_and_knife: 161 - Automatic caching and invalidation for Django models. * [:octocat: django-cacheops](https://github.com/Suor/django-cacheops) - :star: 1323 :fork_and_knife: 169 - A slick ORM cache with automatic granular event-driven invalidation. * [:earth_americas: dogpile.cache](http://dogpilecache.readthedocs.io/en/latest/) - dogpile.cache is next generation replacement for Beaker made by same authors. * [:earth_americas: HermesCache](https://pypi.org/project/HermesCache/) - Python caching library with tag-based invalidation and dogpile effect prevention. * [:octocat: pylibmc](https://github.com/lericson/pylibmc) - :star: 436 :fork_and_knife: 122 - A Python wrapper around the [libmemcached](https://libmemcached.org/libMemcached.html) interface. * [:earth_americas: python-diskcache](http://www.grantjenks.com/docs/diskcache/) - SQLite and file backed cache backend with faster lookups than memcached and redis. ## ChatOps Tools *Libraries for chatbot development.* * [:octocat: errbot](https://github.com/errbotio/errbot/) - :star: 2367 :fork_and_knife: 511 - The easiest and most popular chatbot to implement ChatOps. ## Code Analysis *Tools of static analysis, linters and code quality checkers. Also see [awesome-static-analysis](https://github.com/mre/awesome-static-analysis).* * Code Analysis * [:octocat: coala](https://github.com/coala/coala/) - :star: 3075 :fork_and_knife: 1346 - Language independent and easily extendable code analysis application. * [:octocat: code2flow](https://github.com/scottrogowski/code2flow) - :star: 781 :fork_and_knife: 130 - Turn your Python and JavaScript code into DOT flowcharts. * [:octocat: prospector](https://github.com/PyCQA/prospector) - :star: 1335 :fork_and_knife: 115 - A tool to analyse Python code. * [:octocat: pycallgraph](https://github.com/gak/pycallgraph) - :star: 1482 :fork_and_knife: 253 - A library that visualises the flow (call graph) of your Python application. * [:octocat: vulture](https://github.com/jendrikseipp/vulture) - :star: 1075 :fork_and_knife: 64 - A tool for finding and analysing dead Python code. * Code Linters * [:earth_americas: flake8](https://pypi.org/project/flake8/) - A wrapper around `pycodestyle`, `pyflakes` and McCabe. * [:octocat: awesome-flake8-extensions](https://github.com/DmytroLitvinov/awesome-flake8-extensions) - :star: 429 :fork_and_knife: 16 * [:earth_americas: pylint](https://www.pylint.org/) - A fully customizable source code analyzer. * [:octocat: pylama](https://github.com/klen/pylama) - :star: 740 :fork_and_knife: 75 - A code audit tool for Python and JavaScript. * [:octocat: wemake-python-styleguide](https://github.com/wemake-services/wemake-python-styleguide) - :star: 1219 :fork_and_knife: 240 - The strictest and most opinionated python linter ever. * Code Formatters * [:octocat: black](https://github.com/python/black) - :star: 18413 :fork_and_knife: 1172 - The uncompromising Python code formatter. * [:octocat: yapf](https://github.com/google/yapf) - :star: 11169 :fork_and_knife: 768 - Yet another Python code formatter from Google. * Static Type Checkers, also see [awesome-python-typing](https://github.com/typeddjango/awesome-python-typing) * [:earth_americas: mypy](http://mypy-lang.org/) - Check variable types during compile time. * [:octocat: typeshed](https://github.com/python/typeshed) - :star: 1874 :fork_and_knife: 950 - Collection of library stubs for Python, with static types. * [:octocat: pyre-check](https://github.com/facebook/pyre-check) - :star: 4936 :fork_and_knife: 296 - Performant type checking. * Static Type Annotations Generators * [:octocat: MonkeyType](https://github.com/Instagram/MonkeyType) - :star: 3136 :fork_and_knife: 119 - A system for Python that generates static type annotations by collecting runtime types ## Command-line Interface Development *Libraries for building command-line applications.* * Command-line Application Development * [:earth_americas: cement](http://builtoncement.com/) - CLI Application Framework for Python. * [:earth_americas: click](http://click.pocoo.org/dev/) - A package for creating beautiful command line interfaces in a composable way. * [:earth_americas: cliff](https://docs.openstack.org/developer/cliff/) - A framework for creating command-line programs with multi-level commands. * [:earth_americas: docopt](http://docopt.org/) - Pythonic command line arguments parser. * [:octocat: python-fire](https://github.com/google/python-fire) - :star: 17938 :fork_and_knife: 1105 - A library for creating command line interfaces from absolutely any Python object. * [:octocat: python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit) - :star: 6607 :fork_and_knife: 508 - A library for building powerful interactive command lines. * Terminal Rendering * [:octocat: asciimatics](https://github.com/peterbrittain/asciimatics) - :star: 2436 :fork_and_knife: 182 - A package to create full-screen text UIs (from interactive forms to ASCII animations). * [:octocat: bashplotlib](https://github.com/glamp/bashplotlib) - :star: 1476 :fork_and_knife: 122 - Making basic plots in the terminal. * [:earth_americas: colorama](https://pypi.org/project/colorama/) - Cross-platform colored terminal text. * [:octocat: rich](https://github.com/willmcgugan/rich) - :star: 13512 :fork_and_knife: 391 - Python library for rich text and beautiful formatting in the terminal. Also provides a great `RichHandler` log handler. * [:octocat: tqdm](https://github.com/tqdm/tqdm) - :star: 16300 :fork_and_knife: 847 - Fast, extensible progress bar for loops and CLI. * [:octocat: alive-progress](https://github.com/rsalmei/alive-progress) - :star: 841 :fork_and_knife: 33 - A new kind of Progress Bar, with real-time throughput, eta and very cool animations. ## Command-line Tools *Useful CLI-based tools for productivity.* * Productivity Tools * [:octocat: cookiecutter](https://github.com/audreyr/cookiecutter) - :star: 13138 :fork_and_knife: 1364 - A command-line utility that creates projects from cookiecutters (project templates). * [:octocat: doitlive](https://github.com/sloria/doitlive) - :star: 2864 :fork_and_knife: 90 - A tool for live presentations in the terminal. * [:octocat: howdoi](https://github.com/gleitz/howdoi) - :star: 8535 :fork_and_knife: 780 - Instant coding answers via the command line. * [:octocat: Invoke](https://github.com/pyinvoke/invoke#readme) - :star: 3033 :fork_and_knife: 266 - A tool for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks. * [:octocat: PathPicker](https://github.com/facebook/PathPicker) - :star: 4482 :fork_and_knife: 278 - Select files out of bash output. * [:octocat: percol](https://github.com/mooz/percol) - :star: 2962 :fork_and_knife: 147 - Adds flavor of interactive selection to the traditional pipe concept on UNIX. * [:octocat: thefuck](https://github.com/nvbn/thefuck) - :star: 56929 :fork_and_knife: 2775 - Correcting your previous console command. * [:octocat: tmuxp](https://github.com/tony/tmuxp) - :star: 2902 :fork_and_knife: 188 - A [tmux](https://github.com/tmux/tmux) session manager. * [:octocat: try](https://github.com/timofurrer/try) - :star: 567 :fork_and_knife: 29 - A dead simple CLI to try out python packages - it's never been easier. * CLI Enhancements * [:octocat: httpie](https://github.com/jakubroztocil/httpie) - :star: 48628 :fork_and_knife: 3141 - A command line HTTP client, a user-friendly cURL replacement. * [:octocat: kube-shell](https://github.com/cloudnativelabs/kube-shell) - :star: 1749 :fork_and_knife: 142 - An integrated shell for working with the Kubernetes CLI. * [:octocat: mycli](https://github.com/dbcli/mycli) - :star: 9158 :fork_and_knife: 561 - MySQL CLI with autocompletion and syntax highlighting. * [:octocat: pgcli](https://github.com/dbcli/pgcli) - :star: 9035 :fork_and_knife: 412 - PostgreSQL CLI with autocompletion and syntax highlighting. * [:octocat: iredis](https://github.com/laixintao/iredis) - :star: 1261 :fork_and_knife: 45 - Redis CLI with autocompletion and syntax highlighting. * [:octocat: litecli](https://github.com/dbcli/litecli) - :star: 1232 :fork_and_knife: 40 - SQLite CLI with autocompletion and syntax highlighting. * [:octocat: saws](https://github.com/donnemartin/saws) - :star: 4628 :fork_and_knife: 252 - A Supercharged [aws-cli](https://github.com/aws/aws-cli). ## Compatibility *Libraries for migrating from Python 2 to 3.* * [:earth_americas: python-future](http://python-future.org/index.html) - The missing compatibility layer between Python 2 and Python 3. * [:octocat: python-modernize](https://github.com/mitsuhiko/python-modernize) - :star: 543 :fork_and_knife: 31 - Modernizes Python code for eventual Python 3 migration. * [:earth_americas: six](https://pypi.org/project/six/) - Python 2 and 3 compatibility utilities. ## Computer Vision *Libraries for Computer Vision.* * [:octocat: Kornia](https://github.com/kornia/kornia/) - :star: 3147 :fork_and_knife: 324 - Open Source Differentiable Computer Vision Library for PyTorch. * [:earth_americas: OpenCV](https://opencv.org/) - Open Source Computer Vision Library. * [:octocat: pytesseract](https://github.com/madmaze/pytesseract) - :star: 3232 :fork_and_knife: 492 - Another wrapper for [Google Tesseract OCR](https://github.com/tesseract-ocr). * [:octocat: tesserocr](https://github.com/sirfz/tesserocr) - :star: 1330 :fork_and_knife: 186 - A simple, Pillow-friendly, wrapper around the `tesseract-ocr` API for OCR. * [:octocat: SimpleCV](https://github.com/sightmachine/SimpleCV) - :star: 2436 :fork_and_knife: 768 - An open source framework for building computer vision applications. ## Concurrency and Parallelism *Libraries for concurrent and parallel execution. Also see [awesome-asyncio](https://github.com/timofurrer/awesome-asyncio).* * [:earth_americas: concurrent.futures](https://docs.python.org/3/library/concurrent.futures.html) - (Python standard library) A high-level interface for asynchronously executing callables. * [:earth_americas: multiprocessing](https://docs.python.org/3/library/multiprocessing.html) - (Python standard library) Process-based parallelism. * [:earth_americas: eventlet](http://eventlet.net/) - Asynchronous framework with WSGI support. * [:octocat: gevent](http://www.gevent.org/) - :star: 1180 :fork_and_knife: 189 - A coroutine-based Python networking library that uses [greenlet](https://github.com/python-greenlet/greenlet). * [:octocat: uvloop](https://github.com/MagicStack/uvloop) - :star: 7242 :fork_and_knife: 431 - Ultra fast implementation of `asyncio` event loop on top of `libuv`. * [:octocat: scoop](https://github.com/soravux/scoop) - :star: 478 :fork_and_knife: 75 - Scalable Concurrent Operations in Python. ## Configuration *Libraries for storing and parsing configuration options.* * [:octocat: configobj](https://github.com/DiffSK/configobj) - :star: 235 :fork_and_knife: 55 - INI file parser with validation. * [:earth_americas: configparser](https://docs.python.org/3/library/configparser.html) - (Python standard library) INI file parser. * [:earth_americas: profig](https://profig.readthedocs.io/en/latest/) - Config from multiple formats with value conversion. * [:octocat: python-decouple](https://github.com/henriquebastos/python-decouple) - :star: 1530 :fork_and_knife: 127 - Strict separation of settings from code. * [:octocat: hydra](https://github.com/facebookresearch/hydra) - :star: 3025 :fork_and_knife: 249 - Hydra is a framework for elegantly configuring complex applications. ## Cryptography * [:earth_americas: cryptography](https://cryptography.io/en/latest/) - A package designed to expose cryptographic primitives and recipes to Python developers. * [:octocat: paramiko](https://github.com/paramiko/paramiko) - :star: 6584 :fork_and_knife: 1605 - The leading native Python SSHv2 protocol library. * [:earth_americas: passlib](https://passlib.readthedocs.io/en/stable/) - Secure password storage/hashing library, very high level. * [:octocat: pynacl](https://github.com/pyca/pynacl) - :star: 728 :fork_and_knife: 155 - Python binding to the Networking and Cryptography (NaCl) library. ## Data Analysis *Libraries for data analyzing.* * [:octocat: Blaze](https://github.com/blaze/blaze) - :star: 2903 :fork_and_knife: 377 - NumPy and Pandas interface to Big Data. * [:octocat: Open Mining](https://github.com/mining/mining) - :star: 1104 :fork_and_knife: 226 - Business Intelligence (BI) in Pandas interface. * [:earth_americas: Orange](https://orange.biolab.si/) - Data mining, data visualization, analysis and machine learning through visual programming or scripts. * [:octocat: Pandas](https://github.com/pandas-dev/pandas) - :star: 27155 :fork_and_knife: 11267 - A library providing high-performance, easy-to-use data structures and data analysis tools. * [:octocat: Optimus](https://github.com/ironmussa/Optimus) - :star: 950 :fork_and_knife: 194 - Agile Data Science Workflows made easy with PySpark. * [:octocat: AWS Data Wrangler](https://github.com/awslabs/aws-data-wrangler) - :star: 1185 :fork_and_knife: 193 - Pandas on AWS. ## Data Validation *Libraries for validating data. Used for forms in many cases.* * [:octocat: Cerberus](https://github.com/pyeve/cerberus) - :star: 2224 :fork_and_knife: 203 - A lightweight and extensible data validation library. * [:earth_americas: colander](https://docs.pylonsproject.org/projects/colander/en/latest/) - Validating and deserializing data obtained via XML, JSON, an HTML form post. * [:octocat: jsonschema](https://github.com/Julian/jsonschema) - :star: 2969 :fork_and_knife: 452 - An implementation of [JSON Schema](http://json-schema.org/) for Python. * [:octocat: schema](https://github.com/keleshev/schema) - :star: 2209 :fork_and_knife: 161 - A library for validating Python data structures. * [:octocat: Schematics](https://github.com/schematics/schematics) - :star: 2381 :fork_and_knife: 290 - Data Structure Validation. * [:octocat: valideer](https://github.com/podio/valideer) - :star: 241 :fork_and_knife: 18 - Lightweight extensible data validation and adaptation library. * [:octocat: voluptuous](https://github.com/alecthomas/voluptuous) - :star: 1649 :fork_and_knife: 188 - A Python data validation library. ## Data Visualization *Libraries for visualizing data. Also see [awesome-javascript](https://github.com/sorrycc/awesome-javascript#data-visualization).* * [:octocat: Altair](https://github.com/altair-viz/altair) - :star: 6116 :fork_and_knife: 562 - Declarative statistical visualization library for Python. * [:octocat: Bokeh](https://github.com/bokeh/bokeh) - :star: 14191 :fork_and_knife: 3538 - Interactive Web Plotting for Python. * [:octocat: bqplot](https://github.com/bloomberg/bqplot) - :star: 2935 :fork_and_knife: 427 - Interactive Plotting Library for the Jupyter Notebook * [:earth_americas: Dash](https://plot.ly/products/dash/) - Built on top of Flask, React and Plotly aimed at analytical web applications. * [:octocat: awesome-dash](https://github.com/Acrotrend/awesome-dash) - :star: 938 :fork_and_knife: 155 * [:octocat: diagrams](https://github.com/mingrammer/diagrams) - :star: 10638 :fork_and_knife: 568 - Diagram as Code. * [:octocat: plotnine](https://github.com/has2k1/plotnine) - :star: 2406 :fork_and_knife: 124 - A grammar of graphics for Python based on ggplot2. * [:earth_americas: Matplotlib](http://matplotlib.org/) - A Python 2D plotting library. * [:earth_americas: Pygal](http://www.pygal.org/en/latest/) - A Python SVG Charts Creator. * [:earth_americas: PyGraphviz](https://pypi.org/project/pygraphviz/) - Python interface to [Graphviz](http://www.graphviz.org/). * [:earth_americas: PyQtGraph](http://www.pyqtgraph.org/) - Interactive and realtime 2D/3D/Image plotting and science/engineering widgets. * [:octocat: Seaborn](https://github.com/mwaskom/seaborn) - :star: 7783 :fork_and_knife: 1329 - Statistical data visualization using Matplotlib. * [:octocat: VisPy](https://github.com/vispy/vispy) - :star: 2480 :fork_and_knife: 535 - High-performance scientific visualization based on OpenGL. ## Database *Databases implemented in Python.* * [:octocat: pickleDB](https://github.com/patx/pickledb) - :star: 510 :fork_and_knife: 90 - A simple and lightweight key-value store for Python. * [:octocat: tinydb](https://github.com/msiemens/tinydb) - :star: 3799 :fork_and_knife: 352 - A tiny, document-oriented database. * [:octocat: ZODB](https://github.com/zopefoundation/ZODB) - :star: 428 :fork_and_knife: 63 - A native object database for Python. A key-value and object graph database. ## Database Drivers *Libraries for connecting and operating databases.* * MySQL - [awesome-mysql](http://shlomi-noach.github.io/awesome-mysql/) * [:octocat: mysqlclient](https://github.com/PyMySQL/mysqlclient-python) - :star: 1821 :fork_and_knife: 302 - MySQL connector with Python 3 support ([mysql-python](https://sourceforge.net/projects/mysql-python/) fork). * [:octocat: PyMySQL](https://github.com/PyMySQL/PyMySQL) - :star: 6182 :fork_and_knife: 1244 - A pure Python MySQL driver compatible to mysql-python. * PostgreSQL - [awesome-postgres](https://github.com/dhamaniasad/awesome-postgres) * [:earth_americas: psycopg2](http://initd.org/psycopg/) - The most popular PostgreSQL adapter for Python. * [:octocat: queries](https://github.com/gmr/queries) - :star: 229 :fork_and_knife: 28 - A wrapper of the psycopg2 library for interacting with PostgreSQL. * Other Relational Databases * [:earth_americas: pymssql](https://pymssql.readthedocs.io/en/latest/) - A simple database interface to Microsoft SQL Server. * [:octocat: SuperSQLite](https://github.com/plasticityai/supersqlite) - :star: 651 :fork_and_knife: 17 - A supercharged SQLite library built on top of [apsw](https://github.com/rogerbinns/apsw). * NoSQL Databases * [:octocat: cassandra-driver](https://github.com/datastax/python-driver) - :star: 1192 :fork_and_knife: 447 - The Python Driver for Apache Cassandra. * [:octocat: happybase](https://github.com/wbolster/happybase) - :star: 551 :fork_and_knife: 152 - A developer-friendly library for Apache HBase. * [:octocat: kafka-python](https://github.com/dpkp/kafka-python) - :star: 4074 :fork_and_knife: 1108 - The Python client for Apache Kafka. * [:earth_americas: py2neo](https://py2neo.org/) - A client library and toolkit for working with Neo4j. * [:octocat: pymongo](https://github.com/mongodb/mongo-python-driver) - :star: 3151 :fork_and_knife: 967 - The official Python client for MongoDB. * [:octocat: redis-py](https://github.com/andymccurdy/redis-py) - :star: 8886 :fork_and_knife: 1892 - The Python client for Redis. * Asynchronous Clients * [:octocat: motor](https://github.com/mongodb/motor) - :star: 1564 :fork_and_knife: 139 - The async Python driver for MongoDB. ## Date and Time *Libraries for working with dates and times.* * [:earth_americas: Arrow](https://arrow.readthedocs.io/en/latest/) - A Python library that offers a sensible and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps. * [:octocat: Chronyk](https://github.com/KoffeinFlummi/Chronyk) - :star: 310 :fork_and_knife: 11 - A Python 3 library for parsing human-written times and dates. * [:octocat: dateutil](https://github.com/dateutil/dateutil) - :star: 1427 :fork_and_knife: 344 - Extensions to the standard Python [datetime](https://docs.python.org/3/library/datetime.html) module. * [:octocat: delorean](https://github.com/myusuf3/delorean/) - :star: 1688 :fork_and_knife: 114 - A library for clearing up the inconvenient truths that arise dealing with datetimes. * [:octocat: moment](https://github.com/zachwill/moment) - :star: 655 :fork_and_knife: 41 - A Python library for dealing with dates/times. Inspired by [Moment.js](http://momentjs.com/). * [:octocat: Pendulum](https://github.com/sdispater/pendulum) - :star: 4146 :fork_and_knife: 235 - Python datetimes made easy. * [:octocat: PyTime](https://github.com/shinux/PyTime) - :star: 137 :fork_and_knife: 20 - An easy-to-use Python module which aims to operate date/time/datetime by string. * [:earth_americas: pytz](https://launchpad.net/pytz) - World timezone definitions, modern and historical. Brings the [tz database](https://en.wikipedia.org/wiki/Tz_database) into Python. * [:octocat: when.py](https://github.com/dirn/When.py) - :star: 184 :fork_and_knife: 16 - Providing user-friendly functions to help perform common date and time actions. * [:octocat: maya](https://github.com/timofurrer/maya) - :star: 3196 :fork_and_knife: 205 - Datetimes for Humans. ## Debugging Tools *Libraries for debugging code.* * pdb-like Debugger * [:octocat: ipdb](https://github.com/gotcha/ipdb) - :star: 1281 :fork_and_knife: 121 - IPython-enabled [pdb](https://docs.python.org/3/library/pdb.html). * [:octocat: pdb++](https://github.com/antocuni/pdb) - :star: 607 :fork_and_knife: 36 - Another drop-in replacement for pdb. * [:octocat: pudb](https://github.com/inducer/pudb) - :star: 1883 :fork_and_knife: 165 - A full-screen, console-based Python debugger. * [:octocat: wdb](https://github.com/Kozea/wdb) - :star: 1493 :fork_and_knife: 101 - An improbable web debugger through WebSockets. * Tracing * [:octocat: lptrace](https://github.com/khamidou/lptrace) - :star: 667 :fork_and_knife: 40 - [strace](http://man7.org/linux/man-pages/man1/strace.1.html) for Python programs. * [:octocat: manhole](https://github.com/ionelmc/python-manhole) - :star: 299 :fork_and_knife: 14 - Debugging UNIX socket connections and present the stacktraces for all threads and an interactive prompt. * [:octocat: pyringe](https://github.com/google/pyringe) - :star: 1582 :fork_and_knife: 70 - Debugger capable of attaching to and injecting code into Python processes. * [:octocat: python-hunter](https://github.com/ionelmc/python-hunter) - :star: 568 :fork_and_knife: 25 - A flexible code tracing toolkit. * Profiler * [:octocat: line_profiler](https://github.com/rkern/line_profiler) - :star: 3489 :fork_and_knife: 245 - Line-by-line profiling. * [:octocat: memory_profiler](https://github.com/fabianp/memory_profiler) - :star: 57 :fork_and_knife: 11 - Monitor Memory usage of Python code. * [:octocat: profiling](https://github.com/what-studio/profiling) - :star: 3002 :fork_and_knife: 119 - An interactive Python profiler. * [:octocat: py-spy](https://github.com/benfred/py-spy) - :star: 6183 :fork_and_knife: 230 - A sampling profiler for Python programs. Written in Rust. * [:octocat: pyflame](https://github.com/uber/pyflame) - :star: 2866 :fork_and_knife: 218 - A ptracing profiler For Python. * [:octocat: vprof](https://github.com/nvdv/vprof) - :star: 3685 :fork_and_knife: 169 - Visual Python profiler. * Others * [:octocat: icecream](https://github.com/gruns/icecream) - :star: 1576 :fork_and_knife: 33 - Inspect variables, expressions, and program execution with a single, simple function call. * [:octocat: django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) - :star: 6170 :fork_and_knife: 893 - Display various debug information for Django. * [:octocat: django-devserver](https://github.com/dcramer/django-devserver) - :star: 1256 :fork_and_knife: 166 - A drop-in replacement for Django's runserver. * [:octocat: flask-debugtoolbar](https://github.com/mgood/flask-debugtoolbar) - :star: 774 :fork_and_knife: 118 - A port of the django-debug-toolbar to flask. * [:octocat: pyelftools](https://github.com/eliben/pyelftools) - :star: 1099 :fork_and_knife: 378 - Parsing and analyzing ELF files and DWARF debugging information. ## Deep Learning *Frameworks for Neural Networks and Deep Learning. Also see [awesome-deep-learning](https://github.com/ChristosChristofidis/awesome-deep-learning).* * [:octocat: caffe](https://github.com/BVLC/caffe) - :star: 31016 :fork_and_knife: 18571 - A fast open framework for deep learning.. * [:octocat: keras](https://github.com/keras-team/keras) - :star: 50127 :fork_and_knife: 18683 - A high-level neural networks library and capable of running on top of either TensorFlow or Theano. * [:octocat: mxnet](https://github.com/dmlc/mxnet) - :star: 19080 :fork_and_knife: 6767 - A deep learning framework designed for both efficiency and flexibility. * [:octocat: pytorch](https://github.com/pytorch/pytorch) - :star: 43659 :fork_and_knife: 11476 - Tensors and Dynamic neural networks in Python with strong GPU acceleration. * [:octocat: SerpentAI](https://github.com/SerpentAI/SerpentAI) - :star: 5733 :fork_and_knife: 644 - Game agent framework. Use any video game as a deep learning sandbox. * [:octocat: tensorflow](https://github.com/tensorflow/tensorflow) - :star: 149870 :fork_and_knife: 83150 - The most popular Deep Learning framework created by Google. * [:octocat: Theano](https://github.com/Theano/Theano) - :star: 9267 :fork_and_knife: 2504 - A library for fast numerical computation. ## DevOps Tools *Software and libraries for DevOps.* * [:octocat: ansible](https://github.com/ansible/ansible) - :star: 45533 :fork_and_knife: 19794 - A radically simple IT automation platform. * [:earth_americas: cloudinit](https://cloudinit.readthedocs.io/en/latest/) - A multi-distribution package that handles early initialization of a cloud instance. * [:octocat: cuisine](https://github.com/sebastien/cuisine) - :star: 1241 :fork_and_knife: 162 - Chef-like functionality for Fabric. * [:earth_americas: docker-compose](https://docs.docker.com/compose/) - Fast, isolated development environments using [Docker](https://www.docker.com/). * [:octocat: fabric](https://github.com/fabric/fabric) - :star: 12555 :fork_and_knife: 1814 - A simple, Pythonic tool for remote execution and deployment. * [:octocat: fabtools](https://github.com/fabtools/fabtools) - :star: 1236 :fork_and_knife: 220 - Tools for writing awesome Fabric files. * [:octocat: honcho](https://github.com/nickstenning/honcho) - :star: 1375 :fork_and_knife: 123 - A Python clone of [Foreman](https://github.com/ddollar/foreman), for managing Procfile-based applications. * [:earth_americas: OpenStack](https://www.openstack.org/) - Open source software for building private and public clouds. * [:octocat: pexpect](https://github.com/pexpect/pexpect) - :star: 1914 :fork_and_knife: 416 - Controlling interactive programs in a pseudo-terminal like GNU expect. * [:octocat: psutil](https://github.com/giampaolo/psutil) - :star: 6717 :fork_and_knife: 1052 - A cross-platform process and system utilities module. * [:octocat: saltstack](https://github.com/saltstack/salt) - :star: 11349 :fork_and_knife: 4972 - Infrastructure automation and management system. * [:octocat: supervisor](https://github.com/Supervisor/supervisor) - :star: 6444 :fork_and_knife: 1074 - Supervisor process control system for UNIX. ## Distributed Computing *Frameworks and libraries for Distributed Computing.* * Batch Processing * [:earth_americas: PySpark](https://pypi.org/project/pyspark/) - [Apache Spark](https://spark.apache.org/) Python API. * [:octocat: dask](https://github.com/dask/dask) - :star: 7445 :fork_and_knife: 1180 - A flexible parallel computing library for analytic computing. * [:octocat: luigi](https://github.com/spotify/luigi) - :star: 13882 :fork_and_knife: 2188 - A module that helps you build complex pipelines of batch jobs. * [:octocat: mrjob](https://github.com/Yelp/mrjob) - :star: 2521 :fork_and_knife: 589 - Run MapReduce jobs on Hadoop or Amazon Web Services. * [:octocat: Ray](https://github.com/ray-project/ray/) - :star: 13698 :fork_and_knife: 2162 - A system for parallel and distributed Python that unifies the machine learning ecosystem. * Stream Processing * [:octocat: faust](https://github.com/robinhood/faust) - :star: 5003 :fork_and_knife: 423 - A stream processing library, porting the ideas from [Kafka Streams](https://kafka.apache.org/documentation/streams/) to Python. * [:octocat: streamparse](https://github.com/Parsely/streamparse) - :star: 1418 :fork_and_knife: 219 - Run Python code against real-time streams of data via [Apache Storm](http://storm.apache.org/). ## Distribution *Libraries to create packaged executables for release distribution.* * [:octocat: dh-virtualenv](https://github.com/spotify/dh-virtualenv) - :star: 1390 :fork_and_knife: 157 - Build and distribute a virtualenv as a Debian package. * [:earth_americas: Nuitka](http://nuitka.net/) - Compile scripts, modules, packages to an executable or extension module. * [:earth_americas: py2app](http://pythonhosted.org/py2app/) - Freezes Python scripts (Mac OS X). * [:earth_americas: py2exe](http://www.py2exe.org/) - Freezes Python scripts (Windows). * [:octocat: PyInstaller](https://github.com/pyinstaller/pyinstaller) - :star: 7340 :fork_and_knife: 1543 - Converts Python programs into stand-alone executables (cross-platform). * [:earth_americas: pynsist](http://pynsist.readthedocs.io/en/latest/) - A tool to build Windows installers, installers bundle Python itself. * [:octocat: pyarmor](https://github.com/dashingsoft/pyarmor) - :star: 724 :fork_and_knife: 104 - A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts. * [:octocat: shiv](https://github.com/linkedin/shiv) - :star: 1061 :fork_and_knife: 62 - A command line utility for building fully self-contained zipapps (PEP 441), but with all their dependencies included. ## Documentation *Libraries for generating project documentation.* * [:octocat: sphinx](https://github.com/sphinx-doc/sphinx/) - :star: 3571 :fork_and_knife: 1369 - Python Documentation generator. * [:octocat: awesome-sphinxdoc](https://github.com/yoloseem/awesome-sphinxdoc) - :star: 682 :fork_and_knife: 61 * [:octocat: pdoc](https://github.com/mitmproxy/pdoc) - :star: 682 :fork_and_knife: 95 - Epydoc replacement to auto generate API documentation for Python libraries. * [:octocat: pycco](https://github.com/pycco-docs/pycco) - :star: 726 :fork_and_knife: 136 - The literate-programming-style documentation generator. ## Downloader *Libraries for downloading.* * [:octocat: s3cmd](https://github.com/s3tools/s3cmd) - :star: 3463 :fork_and_knife: 800 - A command line tool for managing Amazon S3 and CloudFront. * [:octocat: s4cmd](https://github.com/bloomreach/s4cmd) - :star: 1042 :fork_and_knife: 179 - Super S3 command line tool, good for higher performance. * [:earth_americas: you-get](https://you-get.org/) - A YouTube/Youku/Niconico video downloader written in Python 3. * [:earth_americas: youtube-dl](https://rg3.github.io/youtube-dl/) - A small command-line program to download videos from YouTube. * [:octocat: akshare](https://github.com/jindaxiang/akshare) - :star: 2423 :fork_and_knife: 470 - A financial data interface library, built for human beings! ## E-commerce *Frameworks and libraries for e-commerce and payments.* * [:octocat: alipay](https://github.com/lxneng/alipay) - :star: 317 :fork_and_knife: 100 - Unofficial Alipay API for Python. * [:octocat: Cartridge](https://github.com/stephenmcd/cartridge) - :star: 618 :fork_and_knife: 287 - A shopping cart app built using the Mezzanine. * [:earth_americas: django-oscar](http://oscarcommerce.com/) - An open-source e-commerce framework for Django. * [:octocat: django-shop](https://github.com/awesto/django-shop) - :star: 2334 :fork_and_knife: 852 - A Django based shop system. * [:octocat: merchant](https://github.com/agiliq/merchant) - :star: 956 :fork_and_knife: 172 - A Django app to accept payments from various payment processors. * [:octocat: money](https://github.com/carlospalol/money) - :star: 187 :fork_and_knife: 26 - `Money` class with optional CLDR-backed locale-aware formatting and an extensible currency exchange. * [:octocat: python-currencies](https://github.com/Alir3z4/python-currencies) - :star: 45 :fork_and_knife: 7 - Display money format and its filthy currencies. * [:octocat: forex-python](https://github.com/MicroPyramid/forex-python) - :star: 345 :fork_and_knife: 107 - Foreign exchange rates, Bitcoin price index and currency conversion. * [:earth_americas: saleor](http://getsaleor.com/) - An e-commerce storefront for Django. * [:earth_americas: shoop](https://www.shuup.com/en/) - An open source E-Commerce platform based on Django. ## Editor Plugins and IDEs * Emacs * [:octocat: elpy](https://github.com/jorgenschaefer/elpy) - :star: 1635 :fork_and_knife: 207 - Emacs Python Development Environment. * Sublime Text * [:octocat: anaconda](https://github.com/DamnWidget/anaconda) - :star: 2092 :fork_and_knife: 247 - Anaconda turns your Sublime Text 3 in a full featured Python development IDE. * [:octocat: SublimeJEDI](https://github.com/srusskih/SublimeJEDI) - :star: 905 :fork_and_knife: 106 - A Sublime Text plugin to the awesome auto-complete library Jedi. * Vim * [:octocat: jedi-vim](https://github.com/davidhalter/jedi-vim) - :star: 4583 :fork_and_knife: 369 - Vim bindings for the Jedi auto-completion library for Python. * [:octocat: python-mode](https://github.com/python-mode/python-mode) - :star: 5117 :fork_and_knife: 883 - An all in one plugin for turning Vim into a Python IDE. * [:octocat: YouCompleteMe](https://github.com/Valloric/YouCompleteMe) - :star: 22074 :fork_and_knife: 2551 - Includes [Jedi](https://github.com/davidhalter/jedi)-based completion engine for Python. * Visual Studio * [:octocat: PTVS](https://github.com/Microsoft/PTVS) - :star: 2297 :fork_and_knife: 648 - Python Tools for Visual Studio. * Visual Studio Code * [:earth_americas: Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) - The official VSCode extension with rich support for Python. * IDE * [:earth_americas: PyCharm](https://www.jetbrains.com/pycharm/) - Commercial Python IDE by JetBrains. Has free community edition available. * [:octocat: spyder](https://github.com/spyder-ide/spyder) - :star: 5761 :fork_and_knife: 1172 - Open Source Python IDE. ## Email *Libraries for sending and parsing email.* * Mail Servers * [:octocat: modoboa](https://github.com/modoboa/modoboa) - :star: 1656 :fork_and_knife: 249 - A mail hosting and management platform including a modern Web UI. * [:octocat: salmon](https://github.com/moggers87/salmon) - :star: 451 :fork_and_knife: 47 - A Python Mail Server. * Clients * [:octocat: imbox](https://github.com/martinrusev/imbox) - :star: 960 :fork_and_knife: 156 - Python IMAP for Humans. * [:octocat: yagmail](https://github.com/kootenpv/yagmail) - :star: 1886 :fork_and_knife: 212 - Yet another Gmail/SMTP client. * Others * [:octocat: flanker](https://github.com/mailgun/flanker) - :star: 1430 :fork_and_knife: 176 - An email address and Mime parsing library. * [:octocat: mailer](https://github.com/marrow/mailer) - :star: 213 :fork_and_knife: 47 - High-performance extensible mail delivery framework. ## Environment Management *Libraries for Python version and virtual environment management.* * [:octocat: pyenv](https://github.com/pyenv/pyenv) - :star: 21260 :fork_and_knife: 1849 - Simple Python version management. * [:octocat: virtualenv](https://github.com/pypa/virtualenv) - :star: 3723 :fork_and_knife: 871 - A tool to create isolated Python environments. ## Files *Libraries for file manipulation and MIME type detection.* * [:earth_americas: mimetypes](https://docs.python.org/3/library/mimetypes.html) - (Python standard library) Map filenames to MIME types. * [:octocat: path.py](https://github.com/jaraco/path.py) - :star: 922 :fork_and_knife: 124 - A module wrapper for [os.path](https://docs.python.org/3/library/os.path.html). * [:earth_americas: pathlib](https://docs.python.org/3/library/pathlib.html) - (Python standard library) An cross-platform, object-oriented path library. * [:octocat: PyFilesystem2](https://github.com/pyfilesystem/pyfilesystem2) - :star: 1148 :fork_and_knife: 120 - Python's filesystem abstraction layer. * [:octocat: python-magic](https://github.com/ahupp/python-magic) - :star: 1710 :fork_and_knife: 209 - A Python interface to the libmagic file type identification library. * [:octocat: Unipath](https://github.com/mikeorr/Unipath) - :star: 492 :fork_and_knife: 37 - An object-oriented approach to file/directory operations. * [:octocat: watchdog](https://github.com/gorakhargosh/watchdog) - :star: 4375 :fork_and_knife: 528 - API and shell utilities to monitor file system events. ## Foreign Function Interface *Libraries for providing foreign function interface.* * [:earth_americas: cffi](https://pypi.org/project/cffi/) - Foreign Function Interface for Python calling C code. * [:earth_americas: ctypes](https://docs.python.org/3/library/ctypes.html) - (Python standard library) Foreign Function Interface for Python calling C code. * [:earth_americas: PyCUDA](https://mathema.tician.de/software/pycuda/) - A Python wrapper for Nvidia's CUDA API. * [:earth_americas: SWIG](http://www.swig.org/Doc1.3/Python.html) - Simplified Wrapper and Interface Generator. ## Forms *Libraries for working with forms.* * [:octocat: Deform](https://github.com/Pylons/deform) - :star: 345 :fork_and_knife: 154 - Python HTML form generation library influenced by the formish form generation library. * [:octocat: django-bootstrap3](https://github.com/dyve/django-bootstrap3) - :star: 2210 :fork_and_knife: 698 - Bootstrap 3 integration with Django. * [:octocat: django-bootstrap4](https://github.com/zostera/django-bootstrap4) - :star: 819 :fork_and_knife: 193 - Bootstrap 4 integration with Django. * [:octocat: django-crispy-forms](https://github.com/django-crispy-forms/django-crispy-forms) - :star: 4013 :fork_and_knife: 674 - A Django app which lets you create beautiful forms in a very elegant and DRY way. * [:octocat: django-remote-forms](https://github.com/WiserTogether/django-remote-forms) - :star: 198 :fork_and_knife: 103 - A platform independent Django form serializer. * [:octocat: WTForms](https://github.com/wtforms/wtforms) - :star: 1172 :fork_and_knife: 335 - A flexible forms validation and rendering library. ## Functional Programming *Functional Programming with Python.* * [:octocat: Coconut](https://github.com/evhub/coconut) - :star: 3041 :fork_and_knife: 102 - A variant of Python built for simple, elegant, Pythonic functional programming. * [:octocat: fn.py](https://github.com/kachayev/fn.py) - :star: 3044 :fork_and_knife: 189 - Functional programming in Python: implementation of missing features to enjoy FP. * [:octocat: funcy](https://github.com/Suor/funcy) - :star: 2386 :fork_and_knife: 118 - A fancy and practical functional tools. * [:octocat: more-itertools](https://github.com/erikrose/more-itertools) - :star: 1612 :fork_and_knife: 148 - More routines for operating on iterables, beyond `itertools`. * [:octocat: returns](https://github.com/dry-python/returns) - :star: 1449 :fork_and_knife: 59 - A set of type-safe monads, tranformers, and composition utilities. * [:octocat: Toolz](https://github.com/pytoolz/toolz) - :star: 2968 :fork_and_knife: 212 - A collection of functional utilities for iterators, functions, and dictionaries. * [:octocat: CyToolz](https://github.com/pytoolz/cytoolz/) - :star: 745 :fork_and_knife: 54 - Cython implementation of `Toolz`: High performance functional utilities. ## GUI Development *Libraries for working with graphical user interface applications.* * [:earth_americas: curses](https://docs.python.org/3/library/curses.html) - Built-in wrapper for [ncurses](http://www.gnu.org/software/ncurses/) used to create terminal GUI applications. * [:octocat: Eel](https://github.com/ChrisKnott/Eel) - :star: 3919 :fork_and_knife: 367 - A library for making simple Electron-like offline HTML/JS GUI apps. * [:octocat: enaml](https://github.com/nucleic/enaml) - :star: 973 :fork_and_knife: 98 - Creating beautiful user-interfaces with Declarative Syntax like QML. * [:octocat: Flexx](https://github.com/zoofIO/flexx) - :star: 2440 :fork_and_knife: 233 - Flexx is a pure Python toolkit for creating GUI's, that uses web technology for its rendering. * [:octocat: Gooey](https://github.com/chriskiehl/Gooey) - :star: 10487 :fork_and_knife: 619 - Turn command line programs into a full GUI application with one line. * [:earth_americas: kivy](https://kivy.org/) - A library for creating NUI applications, running on Windows, Linux, Mac OS X, Android and iOS. * [:earth_americas: pyglet](https://bitbucket.org/pyglet/pyglet/wiki/Home) - A cross-platform windowing and multimedia library for Python. * [:earth_americas: PyGObject](https://wiki.gnome.org/Projects/PyGObject) - Python Bindings for GLib/GObject/GIO/GTK+ (GTK+3). * [:earth_americas: PyQt](https://riverbankcomputing.com/software/pyqt/intro) - Python bindings for the [Qt](https://www.qt.io/) cross-platform application and UI framework. * [:octocat: PySimpleGUI](https://github.com/PySimpleGUI/PySimpleGUI) - :star: 4786 :fork_and_knife: 760 - Wrapper for tkinter, Qt, WxPython and Remi. * [:octocat: pywebview](https://github.com/r0x0r/pywebview/) - :star: 2040 :fork_and_knife: 273 - A lightweight cross-platform native wrapper around a webview component. * [:earth_americas: Tkinter](https://wiki.python.org/moin/TkInter) - Tkinter is Python's de-facto standard GUI package. * [:octocat: Toga](https://github.com/pybee/toga) - :star: 2496 :fork_and_knife: 454 - A Python native, OS native GUI toolkit. * [:earth_americas: urwid](http://urwid.org/) - A library for creating terminal GUI applications with strong support for widgets, events, rich colors, etc. * [:earth_americas: wxPython](https://wxpython.org/) - A blending of the wxWidgets C++ class library with the Python. ## GraphQL *Libraries for working with GraphQL.* * [:earth_americas: tartiflette](https://tartiflette.io) - SDL-first GraphQL engine implementation for Python 3.6+ and asyncio. * [:octocat: tartiflette-aiohttp](https://github.com/tartiflette/tartiflette-aiohttp/) - :star: 51 :fork_and_knife: 5 - An `aiohttp`-based wrapper for Tartiflette to expose GraphQL APIs over HTTP. * [:octocat: tartiflette-asgi](https://github.com/tartiflette/tartiflette-asgi/) - :star: 71 :fork_and_knife: 9 - ASGI support for the Tartiflette GraphQL engine. ## Game Development *Awesome game development libraries.* * [:earth_americas: Cocos2d](http://cocos2d.org/) - cocos2d is a framework for building 2D games, demos, and other graphical/interactive applications. * [:earth_americas: Harfang3D](http://www.harfang3d.com) - Python framework for 3D, VR and game development. * [:earth_americas: Panda3D](https://www.panda3d.org/) - 3D game engine developed by Disney. * [:earth_americas: Pygame](http://www.pygame.org/news.html) - Pygame is a set of Python modules designed for writing games. * [:earth_americas: PyOgre](http://www.ogre3d.org/tikiwiki/PyOgre) - Python bindings for the Ogre 3D render engine, can be used for games, simulations, anything 3D. * [:earth_americas: PyOpenGL](http://pyopengl.sourceforge.net/) - Python ctypes bindings for OpenGL and it's related APIs. * [:earth_americas: PySDL2](https://pysdl2.readthedocs.io) - A ctypes based wrapper for the SDL2 library. * [:earth_americas: RenPy](https://www.renpy.org/) - A Visual Novel engine. ## Geolocation *Libraries for geocoding addresses and working with latitudes and longitudes.* * [:octocat: django-countries](https://github.com/SmileyChris/django-countries) - :star: 896 :fork_and_knife: 209 - A Django app that provides a country field for models and forms. * [:earth_americas: GeoDjango](https://docs.djangoproject.com/en/dev/ref/contrib/gis/) - A world-class geographic web framework. * [:octocat: GeoIP](https://github.com/maxmind/geoip-api-python) - :star: 213 :fork_and_knife: 62 - Python API for MaxMind GeoIP Legacy Database. * [:octocat: geojson](https://github.com/frewsxcv/python-geojson) - :star: 571 :fork_and_knife: 75 - Python bindings and utilities for GeoJSON. * [:octocat: geopy](https://github.com/geopy/geopy) - :star: 3049 :fork_and_knife: 519 - Python Geocoding Toolbox. * [:octocat: pygeoip](https://github.com/appliedsec/pygeoip) - :star: 481 :fork_and_knife: 110 - Pure Python GeoIP API. ## HTML Manipulation *Libraries for working with HTML and XML.* * [:earth_americas: BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/) - Providing Pythonic idioms for iterating, searching, and modifying HTML or XML. * [:octocat: bleach](https://github.com/mozilla/bleach) - :star: 2000 :fork_and_knife: 213 - A whitelist-based HTML sanitization and text linkification library. * [:earth_americas: cssutils](https://pypi.org/project/cssutils/) - A CSS library for Python. * [:octocat: html5lib](https://github.com/html5lib/html5lib-python) - :star: 872 :fork_and_knife: 254 - A standards-compliant library for parsing and serializing HTML documents and fragments. * [:earth_americas: lxml](http://lxml.de/) - A very fast, easy-to-use and versatile library for handling HTML and XML. * [:octocat: MarkupSafe](https://github.com/pallets/markupsafe) - :star: 343 :fork_and_knife: 95 - Implements a XML/HTML/XHTML Markup safe string for Python. * [:octocat: pyquery](https://github.com/gawel/pyquery) - :star: 1912 :fork_and_knife: 161 - A jQuery-like library for parsing HTML. * [:octocat: untangle](https://github.com/stchris/untangle) - :star: 483 :fork_and_knife: 68 - Converts XML documents to Python objects for easy access. * [:earth_americas: WeasyPrint](http://weasyprint.org) - A visual rendering engine for HTML and CSS that can export to PDF. * [:earth_americas: xmldataset](https://xmldataset.readthedocs.io/en/latest/) - Simple XML Parsing. * [:octocat: xmltodict](https://github.com/martinblech/xmltodict) - :star: 4154 :fork_and_knife: 401 - Working with XML feel like you are working with JSON. ## HTTP Clients *Libraries for working with HTTP.* * [:octocat: grequests](https://github.com/spyoungtech/grequests) - :star: 3565 :fork_and_knife: 316 - requests + gevent for asynchronous HTTP requests. * [:octocat: httplib2](https://github.com/httplib2/httplib2) - :star: 385 :fork_and_knife: 131 - Comprehensive HTTP client library. * [:octocat: httpx](https://github.com/encode/httpx) - :star: 5944 :fork_and_knife: 384 - A next generation HTTP client for Python. * [:octocat: requests](https://github.com/psf/requests) - :star: 43846 :fork_and_knife: 7980 - HTTP Requests for Humans. * [:octocat: treq](https://github.com/twisted/treq) - :star: 505 :fork_and_knife: 140 - Python requests like API built on top of Twisted's HTTP client. * [:octocat: urllib3](https://github.com/shazow/urllib3) - :star: 2466 :fork_and_knife: 793 - A HTTP library with thread-safe connection pooling, file post support, sanity friendly. ## Hardware *Libraries for programming with hardware.* * [:earth_americas: ino](http://inotool.org/) - Command line toolkit for working with [Arduino](https://www.arduino.cc/). * [:octocat: keyboard](https://github.com/boppreh/keyboard) - :star: 2114 :fork_and_knife: 250 - Hook and simulate global keyboard events on Windows and Linux. * [:octocat: mouse](https://github.com/boppreh/mouse) - :star: 368 :fork_and_knife: 61 - Hook and simulate global mouse events on Windows and Linux. * [:earth_americas: Pingo](http://www.pingo.io/) - Pingo provides a uniform API to program devices like the Raspberry Pi, pcDuino, Intel Galileo, etc. * [:octocat: PyUserInput](https://github.com/SavinaRoja/PyUserInput) - :star: 933 :fork_and_knife: 241 - A module for cross-platform control of the mouse and keyboard. * [:octocat: scapy](https://github.com/secdev/scapy) - :star: 5711 :fork_and_knife: 1317 - A brilliant packet manipulation library. * [:octocat: wifi](https://github.com/rockymeza/wifi) - :star: 273 :fork_and_knife: 143 - A Python library and command line tool for working with WiFi on Linux. ## Image Processing *Libraries for manipulating images.* * [:octocat: hmap](https://github.com/rossgoodwin/hmap) - :star: 179 :fork_and_knife: 21 - Image histogram remapping. * [:earth_americas: imgSeek](https://sourceforge.net/projects/imgseek/) - A project for searching a collection of images using visual similarity. * [:octocat: nude.py](https://github.com/hhatto/nude.py) - :star: 771 :fork_and_knife: 128 - Nudity detection. * [:octocat: pagan](https://github.com/daboth/pagan) - :star: 201 :fork_and_knife: 24 - Retro identicon (Avatar) generation based on input string and hash. * [:octocat: pillow](https://github.com/python-pillow/Pillow) - :star: 7859 :fork_and_knife: 1530 - Pillow is the friendly [PIL](http://www.pythonware.com/products/pil/) fork. * [:earth_americas: pyBarcode](https://pythonhosted.org/pyBarcode/) - Create barcodes in Python without needing PIL. * [:octocat: pygram](https://github.com/ajkumar25/pygram) - :star: 96 :fork_and_knife: 11 - Instagram-like image filters. * [:octocat: python-qrcode](https://github.com/lincolnloop/python-qrcode) - :star: 2280 :fork_and_knife: 414 - A pure Python QR Code generator. * [:octocat: Quads](https://github.com/fogleman/Quads) - :star: 955 :fork_and_knife: 109 - Computer art based on quadtrees. * [:earth_americas: scikit-image](http://scikit-image.org/) - A Python library for (scientific) image processing. * [:octocat: thumbor](https://github.com/thumbor/thumbor) - :star: 8039 :fork_and_knife: 693 - A smart imaging service. It enables on-demand crop, re-sizing and flipping of images. * [:octocat: wand](https://github.com/dahlia/wand) - :star: 1027 :fork_and_knife: 182 - Python bindings for [MagickWand](http://www.imagemagick.org/script/magick-wand.php), C API for ImageMagick. ## Implementations *Implementations of Python.* * [:octocat: CPython](https://github.com/python/cpython) - :star: 34380 :fork_and_knife: 16727 - **Default, most widely used implementation of the Python programming language written in C.** * [:earth_americas: Cython](http://cython.org/) - Optimizing Static Compiler for Python. * [:octocat: CLPython](https://github.com/metawilm/cl-python) - :star: 304 :fork_and_knife: 32 - Implementation of the Python programming language written in Common Lisp. * [:octocat: Grumpy](https://github.com/google/grumpy) - :star: 10196 :fork_and_knife: 650 - More compiler than interpreter as more powerful CPython2.7 replacement (alpha). * [:octocat: IronPython](https://github.com/IronLanguages/ironpython3) - :star: 1226 :fork_and_knife: 159 - Implementation of the Python programming language written in C#. * [:earth_americas: Jython](https://hg.python.org/jython) - Implementation of Python programming language written in Java for the JVM. * [:octocat: MicroPython](https://github.com/micropython/micropython) - :star: 11365 :fork_and_knife: 3770 - A lean and efficient Python programming language implementation. * [:earth_americas: Numba](http://numba.pydata.org/) - Python JIT compiler to LLVM aimed at scientific Python. * [:octocat: PeachPy](https://github.com/Maratyszcza/PeachPy) - :star: 1460 :fork_and_knife: 126 - x86-64 assembler embedded in Python. * [:octocat: Pyjion](https://github.com/Microsoft/Pyjion) - :star: 1395 :fork_and_knife: 70 - A JIT for Python based upon CoreCLR. * [:earth_americas: PyPy](https://foss.heptapod.net/pypy/pypy) - A very fast and compliant implementation of the Python language. * [:octocat: Pyston](https://github.com/dropbox/pyston) - :star: 4761 :fork_and_knife: 309 - A Python implementation using JIT techniques. * [:octocat: Stackless Python](https://github.com/stackless-dev/stackless) - :star: 651 :fork_and_knife: 47 - An enhanced version of the Python programming language. ## Interactive Interpreter *Interactive Python interpreters (REPL).* * [:octocat: bpython](https://github.com/bpython/bpython) - :star: 1623 :fork_and_knife: 183 - A fancy interface to the Python interpreter. * [:earth_americas: Jupyter Notebook (IPython)](https://jupyter.org) - A rich toolkit to help you make the most out of using Python interactively. * [:octocat: awesome-jupyter](https://github.com/markusschanta/awesome-jupyter) - :star: 1923 :fork_and_knife: 242 * [:octocat: ptpython](https://github.com/jonathanslenders/ptpython) - :star: 3796 :fork_and_knife: 216 - Advanced Python REPL built on top of the [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit). ## Internationalization *Libraries for working with i18n.* * [:earth_americas: Babel](http://babel.pocoo.org/en/latest/) - An internationalization library for Python. * [:octocat: PyICU](https://github.com/ovalhub/pyicu) - :star: 122 :fork_and_knife: 48 - A wrapper of International Components for Unicode C++ library ([ICU](http://site.icu-project.org/)). ## Job Scheduler *Libraries for scheduling jobs.* * [:earth_americas: APScheduler](http://apscheduler.readthedocs.io/en/latest/) - A light but powerful in-process task scheduler that lets you schedule functions. * [:octocat: django-schedule](https://github.com/thauber/django-schedule) - :star: 785 :fork_and_knife: 285 - A calendaring app for Django. * [:earth_americas: doit](http://pydoit.org/) - A task runner and build tool. * [:octocat: gunnery](https://github.com/gunnery/gunnery) - :star: 721 :fork_and_knife: 76 - Multipurpose task execution tool for distributed systems with web-based interface. * [:earth_americas: Joblib](https://joblib.readthedocs.io/) - A set of tools to provide lightweight pipelining in Python. * [:octocat: Plan](https://github.com/fengsp/plan) - :star: 1118 :fork_and_knife: 94 - Writing crontab file in Python like a charm. * [:octocat: schedule](https://github.com/dbader/schedule) - :star: 7872 :fork_and_knife: 730 - Python job scheduling for humans. * [:octocat: Spiff](https://github.com/knipknap/SpiffWorkflow) - :star: 914 :fork_and_knife: 226 - A powerful workflow engine implemented in pure Python. * [:earth_americas: TaskFlow](https://docs.openstack.org/developer/taskflow/) - A Python library that helps to make task execution easy, consistent and reliable. * [:earth_americas: Airflow](https://airflow.apache.org/) - Airflow is a platform to programmatically author, schedule and monitor workflows. ## Logging *Libraries for generating and working with logs.* * [:octocat: Eliot](https://github.com/ScatterHQ/eliot) - :star: 830 :fork_and_knife: 53 - Logging for complex & distributed systems. * [:earth_americas: logbook](http://logbook.readthedocs.io/en/stable/) - Logging replacement for Python. * [:earth_americas: logging](https://docs.python.org/3/library/logging.html) - (Python standard library) Logging facility for Python. * [:octocat: raven](https://github.com/getsentry/raven-python) - :star: 1674 :fork_and_knife: 799 - Python client for Sentry, a log/error tracking, crash reporting and aggregation platform for web applications. ## Machine Learning *Libraries for Machine Learning. Also see [awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning#python).* * [:octocat: H2O](https://github.com/h2oai/h2o-3) - :star: 5037 :fork_and_knife: 1788 - Open Source Fast Scalable Machine Learning Platform. * [:octocat: Metrics](https://github.com/benhamner/Metrics) - :star: 1372 :fork_and_knife: 426 - Machine learning evaluation metrics. * [:octocat: NuPIC](https://github.com/numenta/nupic) - :star: 6188 :fork_and_knife: 1584 - Numenta Platform for Intelligent Computing. * [:earth_americas: scikit-learn](http://scikit-learn.org/) - The most popular Python library for Machine Learning. * [:earth_americas: Spark ML](http://spark.apache.org/docs/latest/ml-guide.html) - [Apache Spark](http://spark.apache.org/)'s scalable Machine Learning library. * [:octocat: vowpal_porpoise](https://github.com/josephreisinger/vowpal_porpoise) - :star: 159 :fork_and_knife: 30 - A lightweight Python wrapper for [Vowpal Wabbit](https://github.com/JohnLangford/vowpal_wabbit/). * [:octocat: xgboost](https://github.com/dmlc/xgboost) - :star: 20072 :fork_and_knife: 7800 - A scalable, portable, and distributed gradient boosting library. ## Microsoft Windows *Python programming on Microsoft Windows.* * [:earth_americas: Python(x,y)](http://python-xy.github.io/) - Scientific-applications-oriented Python Distribution based on Qt and Spyder. * [:earth_americas: pythonlibs](http://www.lfd.uci.edu/~gohlke/pythonlibs/) - Unofficial Windows binaries for Python extension packages. * [:octocat: PythonNet](https://github.com/pythonnet/pythonnet) - :star: 2319 :fork_and_knife: 442 - Python Integration with the .NET Common Language Runtime (CLR). * [:octocat: PyWin32](https://github.com/mhammond/pywin32) - :star: 2624 :fork_and_knife: 528 - Python Extensions for Windows. * [:earth_americas: WinPython](https://winpython.github.io/) - Portable development environment for Windows 7/8. ## Miscellaneous *Useful libraries or tools that don't fit in the categories above.* * [:octocat: blinker](https://github.com/jek/blinker) - :star: 1130 :fork_and_knife: 146 - A fast Python in-process signal/event dispatching system. * [:octocat: boltons](https://github.com/mahmoud/boltons) - :star: 5283 :fork_and_knife: 281 - A set of pure-Python utilities. * [:octocat: itsdangerous](https://github.com/pallets/itsdangerous) - :star: 2074 :fork_and_knife: 175 - Various helpers to pass trusted data to untrusted environments. * [:octocat: pluginbase](https://github.com/mitsuhiko/pluginbase) - :star: 913 :fork_and_knife: 137 - A simple but flexible plugin system for Python. * [:earth_americas: tryton](http://www.tryton.org/) - A general purpose business framework. ## Natural Language Processing *Libraries for working with human languages.* - General * [:octocat: gensim](https://github.com/RaRe-Technologies/gensim) - :star: 11323 :fork_and_knife: 3844 - Topic Modeling for Humans. * [:octocat: langid.py](https://github.com/saffsd/langid.py) - :star: 1671 :fork_and_knife: 273 - Stand-alone language identification system. * [:earth_americas: nltk](http://www.nltk.org/) - A leading platform for building Python programs to work with human language data. * [:octocat: pattern](https://github.com/clips/pattern) - :star: 7643 :fork_and_knife: 1510 - A web mining module. * [:octocat: polyglot](https://github.com/aboSamoor/polyglot) - :star: 1703 :fork_and_knife: 293 - Natural language pipeline supporting hundreds of languages. * [:octocat: pytext](https://github.com/facebookresearch/pytext) - :star: 6046 :fork_and_knife: 766 - A natural language modeling framework based on PyTorch. * [:octocat: PyTorch-NLP](https://github.com/PetrochukM/PyTorch-NLP) - :star: 1811 :fork_and_knife: 217 - A toolkit enabling rapid deep learning NLP prototyping for research. * [:earth_americas: spacy](https://spacy.io/) - A library for industrial-strength natural language processing in Python and Cython. * [:octocat: Stanza](https://github.com/stanfordnlp/stanza) - :star: 4800 :fork_and_knife: 620 - The Stanford NLP Group's official Python library, supporting 60+ languages. - Chinese * [:octocat: jieba](https://github.com/fxsjy/jieba) - :star: 24553 :fork_and_knife: 5972 - The most popular Chinese text segmentation library. * [:octocat: pkuseg-python](https://github.com/lancopku/pkuseg-python) - :star: 5107 :fork_and_knife: 814 - A toolkit for Chinese word segmentation in various domains. * [:octocat: snownlp](https://github.com/isnowfy/snownlp) - :star: 5053 :fork_and_knife: 1224 - A library for processing Chinese text. * [:octocat: funNLP](https://github.com/fighting41love/funNLP) - :star: 25839 :fork_and_knife: 7701 - A collection of tools and datasets for Chinese NLP. ## Network Virtualization *Tools and libraries for Virtual Networking and SDN (Software Defined Networking).* * [:octocat: mininet](https://github.com/mininet/mininet) - :star: 3624 :fork_and_knife: 1437 - A popular network emulator and API written in Python. * [:octocat: napalm](https://github.com/napalm-automation/napalm) - :star: 1560 :fork_and_knife: 447 - Cross-vendor API to manipulate network devices. * [:octocat: pox](https://github.com/noxrepo/pox) - :star: 507 :fork_and_knife: 438 - A Python-based SDN control applications, such as OpenFlow SDN controllers. ## News Feed *Libraries for building user's activities.* * [:octocat: django-activity-stream](https://github.com/justquick/django-activity-stream) - :star: 1823 :fork_and_knife: 457 - Generating generic activity streams from the actions on your site. * [:octocat: Stream Framework](https://github.com/tschellenbach/Stream-Framework) - :star: 4410 :fork_and_knife: 550 - Building news feed and notification systems using Cassandra and Redis. ## ORM *Libraries that implement Object-Relational Mapping or data mapping techniques.* * Relational Databases * [:earth_americas: Django Models](https://docs.djangoproject.com/en/dev/topics/db/models/) - The Django ORM. * [:earth_americas: SQLAlchemy](https://www.sqlalchemy.org/) - The Python SQL Toolkit and Object Relational Mapper. * [:octocat: awesome-sqlalchemy](https://github.com/dahlia/awesome-sqlalchemy) - :star: 2143 :fork_and_knife: 130 * [:octocat: dataset](https://github.com/pudo/dataset) - :star: 3916 :fork_and_knife: 256 - Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL. * [:octocat: orator](https://github.com/sdispater/orator) - :star: 1148 :fork_and_knife: 142 - The Orator ORM provides a simple yet beautiful ActiveRecord implementation. * [:octocat: orm](https://github.com/encode/orm) - :star: 1101 :fork_and_knife: 57 - An async ORM. * [:octocat: peewee](https://github.com/coleifer/peewee) - :star: 7910 :fork_and_knife: 1247 - A small, expressive ORM. * [:octocat: pony](https://github.com/ponyorm/pony/) - :star: 2343 :fork_and_knife: 184 - ORM that provides a generator-oriented interface to SQL. * [:octocat: pydal](https://github.com/web2py/pydal/) - :star: 332 :fork_and_knife: 115 - A pure Python Database Abstraction Layer. * NoSQL Databases * [:octocat: hot-redis](https://github.com/stephenmcd/hot-redis) - :star: 266 :fork_and_knife: 26 - Rich Python data types for Redis. * [:octocat: mongoengine](https://github.com/MongoEngine/mongoengine) - :star: 3313 :fork_and_knife: 1118 - A Python Object-Document-Mapper for working with MongoDB. * [:octocat: PynamoDB](https://github.com/pynamodb/PynamoDB) - :star: 1385 :fork_and_knife: 342 - A Pythonic interface for [Amazon DynamoDB](https://aws.amazon.com/dynamodb/). * [:octocat: redisco](https://github.com/kiddouk/redisco) - :star: 433 :fork_and_knife: 85 - A Python Library for Simple Models and Containers Persisted in Redis. ## Package Management *Libraries for package and dependency management.* * [:earth_americas: pip](https://pip.pypa.io/en/stable/) - The package installer for Python. * [:earth_americas: PyPI](https://pypi.org/) * [:octocat: pip-tools](https://github.com/jazzband/pip-tools) - :star: 4547 :fork_and_knife: 396 - A set of tools to keep your pinned Python dependencies fresh. * [:octocat: poetry](https://github.com/sdispater/poetry) - :star: 12754 :fork_and_knife: 986 - Python dependency management and packaging made easy. * [:octocat: conda](https://github.com/conda/conda/) - :star: 3868 :fork_and_knife: 979 - Cross-platform, Python-agnostic binary package manager. ## Package Repositories *Local PyPI repository server and proxies.* * [:octocat: warehouse](https://github.com/pypa/warehouse) - :star: 2520 :fork_and_knife: 742 - Next generation Python Package Repository (PyPI). * [:octocat: bandersnatch](https://github.com/pypa/bandersnatch/) - :star: 201 :fork_and_knife: 83 - PyPI mirroring tool provided by Python Packaging Authority (PyPA). * [:octocat: devpi](https://github.com/devpi/devpi) - :star: 416 :fork_and_knife: 77 - PyPI server and packaging/testing/release tool. * [:octocat: localshop](https://github.com/jazzband/localshop) - :star: 370 :fork_and_knife: 116 - Local PyPI server (custom packages and auto-mirroring of pypi). ## Permissions *Libraries that allow or deny users access to data or functionality.* * [:octocat: django-guardian](https://github.com/django-guardian/django-guardian) - :star: 2779 :fork_and_knife: 504 - Implementation of per object permissions for Django 1.2+ * [:octocat: django-rules](https://github.com/dfunckt/django-rules) - :star: 1149 :fork_and_knife: 93 - A tiny but powerful app providing object-level permissions to Django, without requiring a database. ## Processes *Libraries for starting and communicating with OS processes.* * [:octocat: delegator.py](https://github.com/amitt001/delegator.py) - :star: 1515 :fork_and_knife: 82 - [Subprocesses](https://docs.python.org/3/library/subprocess.html) for Humans 2.0. * [:earth_americas: sarge](https://sarge.readthedocs.io/en/latest/) - Yet another wrapper for subprocess. * [:octocat: sh](https://github.com/amoffat/sh) - :star: 5484 :fork_and_knife: 432 - A full-fledged subprocess replacement for Python. ## Recommender Systems *Libraries for building recommender systems.* * [:octocat: annoy](https://github.com/spotify/annoy) - :star: 7744 :fork_and_knife: 847 - Approximate Nearest Neighbors in C++/Python optimized for memory usage. * [:octocat: fastFM](https://github.com/ibayer/fastFM) - :star: 874 :fork_and_knife: 193 - A library for Factorization Machines. * [:octocat: implicit](https://github.com/benfred/implicit) - :star: 2138 :fork_and_knife: 462 - A fast Python implementation of collaborative filtering for implicit datasets. * [:octocat: libffm](https://github.com/guestwalk/libffm) - :star: 1455 :fork_and_knife: 454 - A library for Field-aware Factorization Machine (FFM). * [:octocat: lightfm](https://github.com/lyst/lightfm) - :star: 3352 :fork_and_knife: 556 - A Python implementation of a number of popular recommendation algorithms. * [:octocat: spotlight](https://github.com/maciejkula/spotlight) - :star: 2322 :fork_and_knife: 366 - Deep recommender models using PyTorch. * [:octocat: Surprise](https://github.com/NicolasHug/Surprise) - :star: 4462 :fork_and_knife: 805 - A scikit for building and analyzing recommender systems. * [:octocat: tensorrec](https://github.com/jfkirk/tensorrec) - :star: 1101 :fork_and_knife: 204 - A Recommendation Engine Framework in TensorFlow. ## Refactoring *Refactoring tools and libraries for Python* * [:earth_americas: Bicycle Repair Man](http://bicyclerepair.sourceforge.net/) - Bicycle Repair Man, a refactoring tool for Python. * [:earth_americas: Bowler](https://pybowler.io/) - Safe code refactoring for modern Python. * [:octocat: Rope](https://github.com/python-rope/rope) - :star: 1019 :fork_and_knife: 118 - Rope is a python refactoring library. ## RESTful API *Libraries for building RESTful APIs.* * Django * [:earth_americas: django-rest-framework](http://www.django-rest-framework.org/) - A powerful and flexible toolkit to build web APIs. * [:earth_americas: django-tastypie](http://tastypieapi.org/) - Creating delicious APIs for Django apps. * Flask * [:octocat: eve](https://github.com/pyeve/eve) - :star: 6214 :fork_and_knife: 725 - REST API framework powered by Flask, MongoDB and good intentions. * [:octocat: flask-api](https://github.com/flask-api/flask-api) - :star: 1192 :fork_and_knife: 143 - Browsable Web APIs for Flask. * [:octocat: flask-restful](https://github.com/flask-restful/flask-restful) - :star: 5790 :fork_and_knife: 910 - Quickly building REST APIs for Flask. * Pyramid * [:octocat: cornice](https://github.com/Cornices/cornice) - :star: 360 :fork_and_knife: 152 - A RESTful framework for Pyramid. * Framework agnostic * [:octocat: apistar](https://github.com/encode/apistar) - :star: 5509 :fork_and_knife: 432 - A smart Web API framework, designed for Python 3. * [:octocat: falcon](https://github.com/falconry/falcon) - :star: 8075 :fork_and_knife: 804 - A high-performance framework for building cloud APIs and web app backends. * [:octocat: fastapi](https://github.com/tiangolo/fastapi) - :star: 22764 :fork_and_knife: 1564 - A modern, fast, web framework for building APIs with Python 3.6+ based on standard Python type hints. * [:octocat: hug](https://github.com/hugapi/hug) - :star: 6362 :fork_and_knife: 361 - A Python 3 framework for cleanly exposing APIs. * [:octocat: sandman2](https://github.com/jeffknupp/sandman2) - :star: 1589 :fork_and_knife: 178 - Automated REST APIs for existing database-driven systems. * [:octocat: sanic](https://github.com/huge-success/sanic) - :star: 14231 :fork_and_knife: 1293 - A Python 3.6+ web server and web framework that's written to go fast. * [:earth_americas: vibora](https://vibora.io/) - Fast, efficient and asynchronous Web framework inspired by Flask. ## Robotics *Libraries for robotics.* * [:octocat: PythonRobotics](https://github.com/AtsushiSakai/PythonRobotics) - :star: 10589 :fork_and_knife: 3442 - This is a compilation of various robotics algorithms with visualizations. * [:earth_americas: rospy](http://wiki.ros.org/rospy) - This is a library for ROS (Robot Operating System). ## RPC Servers *RPC-compatible servers.* * [:octocat: zeroRPC](https://github.com/0rpc/zerorpc-python) - :star: 2698 :fork_and_knife: 355 - zerorpc is a flexible RPC implementation based on [ZeroMQ](http://zeromq.org/) and [MessagePack](http://msgpack.org/). * [:octocat: RPyC](https://github.com/tomerfiliba/rpyc) (Remote Python Call) - :star: 930 :fork_and_knife: 190 - A transparent and symmetric RPC library for Python ## Science *Libraries for scientific computing. Also see [Python-for-Scientists](https://github.com/TomNicholas/Python-for-Scientists).* * [:earth_americas: astropy](http://www.astropy.org/) - A community Python library for Astronomy. * [:octocat: bcbio-nextgen](https://github.com/chapmanb/bcbio-nextgen) - :star: 782 :fork_and_knife: 332 - Providing best-practice pipelines for fully automated high throughput sequencing analysis. * [:octocat: bccb](https://github.com/chapmanb/bcbb) - :star: 481 :fork_and_knife: 216 - Collection of useful code related to biological analysis. * [:earth_americas: Biopython](http://biopython.org/wiki/Main_Page) - Biopython is a set of freely available tools for biological computation. * [:earth_americas: cclib](http://cclib.github.io/) - A library for parsing and interpreting the results of computational chemistry packages. * [:earth_americas: Colour](http://colour-science.org/) - Implementing a comprehensive number of colour theory transformations and algorithms. * [:octocat: Karate Club](https://github.com/benedekrozemberczki/karateclub) - :star: 1013 :fork_and_knife: 123 - Unsupervised machine learning toolbox for graph structured data. * [:earth_americas: NetworkX](https://networkx.github.io/) - A high-productivity software for complex networks. * [:earth_americas: NIPY](http://nipy.org) - A collection of neuroimaging toolkits. * [:earth_americas: NumPy](http://www.numpy.org/) - A fundamental package for scientific computing with Python. * [:earth_americas: Open Babel](http://openbabel.org/wiki/Main_Page) - A chemical toolbox designed to speak the many languages of chemical data. * [:octocat: ObsPy](https://github.com/obspy/obspy/wiki/) - A Python toolbox for seismology. * [:earth_americas: PyDy](http://www.pydy.org/) - Short for Python Dynamics, used to assist with workflow in the modeling of dynamic motion. * [:octocat: PyMC](https://github.com/pymc-devs/pymc3) - :star: 5346 :fork_and_knife: 1298 - Markov Chain Monte Carlo sampling toolkit. * [:earth_americas: QuTiP](http://qutip.org/) - Quantum Toolbox in Python. * [:earth_americas: RDKit](http://www.rdkit.org/) - Cheminformatics and Machine Learning Software. * [:earth_americas: SciPy](https://www.scipy.org/) - A Python-based ecosystem of open-source software for mathematics, science, and engineering. * [:octocat: statsmodels](https://github.com/statsmodels/statsmodels) - :star: 5670 :fork_and_knife: 2101 - Statistical modeling and econometrics in Python. * [:octocat: SymPy](https://github.com/sympy/sympy) - :star: 7496 :fork_and_knife: 3168 - A Python library for symbolic mathematics. * [:octocat: Zipline](https://github.com/quantopian/zipline) - :star: 12643 :fork_and_knife: 3590 - A Pythonic algorithmic trading library. * [:earth_americas: SimPy](https://bitbucket.org/simpy/simpy) - A process-based discrete-event simulation framework. ## Search *Libraries and software for indexing and performing search queries on data.* * [:earth_americas: elasticsearch-py](https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html) - The official low-level Python client for [Elasticsearch](https://www.elastic.co/products/elasticsearch). * [:octocat: elasticsearch-dsl-py](https://github.com/elastic/elasticsearch-dsl-py) - :star: 3079 :fork_and_knife: 656 - The official high-level Python client for Elasticsearch. * [:octocat: django-haystack](https://github.com/django-haystack/django-haystack) - :star: 3058 :fork_and_knife: 1230 - Modular search for Django. * [:octocat: pysolr](https://github.com/django-haystack/pysolr) - :star: 569 :fork_and_knife: 307 - A lightweight Python wrapper for [Apache Solr](https://lucene.apache.org/solr/). * [:earth_americas: whoosh](http://whoosh.readthedocs.io/en/latest/) - A fast, pure Python search engine library. ## Serialization *Libraries for serializing complex data types* * [:octocat: marshmallow](https://github.com/marshmallow-code/marshmallow) - :star: 5073 :fork_and_knife: 537 - A lightweight library for converting complex objects to and from simple Python datatypes. * [:octocat: pysimdjson](https://github.com/TkTech/pysimdjson) - :star: 387 :fork_and_knife: 25 - A Python bindings for [simdjson](https://github.com/lemire/simdjson). * [:octocat: python-rapidjson](https://github.com/python-rapidjson/python-rapidjson) - :star: 401 :fork_and_knife: 31 - A Python wrapper around [RapidJSON](https://github.com/Tencent/rapidjson). * [:octocat: ultrajson](https://github.com/esnme/ultrajson) - :star: 3018 :fork_and_knife: 309 - A fast JSON decoder and encoder written in C with Python bindings. ## Serverless Frameworks *Frameworks for developing serverless Python code.* * [:octocat: python-lambda](https://github.com/nficano/python-lambda) - :star: 1188 :fork_and_knife: 204 - A toolkit for developing and deploying Python code in AWS Lambda. * [:octocat: Zappa](https://github.com/Miserlou/Zappa) - :star: 11198 :fork_and_knife: 1204 - A tool for deploying WSGI applications on AWS Lambda and API Gateway. ## Shells *Python-powered shells.* * [:octocat: xonsh](https://github.com/xonsh/xonsh) - :star: 4039 :fork_and_knife: 440 - A Python-powered, cross-platform, Unix-gazing shell language and command prompt. ## Specific Formats Processing *Libraries for parsing and manipulating specific text formats.* * General * [:octocat: tablib](https://github.com/jazzband/tablib) - :star: 3792 :fork_and_knife: 550 - A module for Tabular Datasets in XLS, CSV, JSON, YAML. * Office * [:earth_americas: openpyxl](https://openpyxl.readthedocs.io/en/stable/) - A library for reading and writing Excel 2010 xlsx/xlsm/xltx/xltm files. * [:octocat: pyexcel](https://github.com/pyexcel/pyexcel) - :star: 853 :fork_and_knife: 132 - Providing one API for reading, manipulating and writing csv, ods, xls, xlsx and xlsm files. * [:octocat: python-docx](https://github.com/python-openxml/python-docx) - :star: 2397 :fork_and_knife: 675 - Reads, queries and modifies Microsoft Word 2007/2008 docx files. * [:octocat: python-pptx](https://github.com/scanny/python-pptx) - :star: 1170 :fork_and_knife: 294 - Python library for creating and updating PowerPoint (.pptx) files. * [:octocat: unoconv](https://github.com/unoconv/unoconv) - :star: 1989 :fork_and_knife: 381 - Convert between any document format supported by LibreOffice/OpenOffice. * [:octocat: XlsxWriter](https://github.com/jmcnamara/XlsxWriter) - :star: 2380 :fork_and_knife: 499 - A Python module for creating Excel .xlsx files. * [:octocat: xlwings](https://github.com/ZoomerAnalytics/xlwings) - :star: 1824 :fork_and_knife: 342 - A BSD-licensed library that makes it easy to call Python from Excel and vice versa. * [:octocat: xlwt](https://github.com/python-excel/xlwt) / [xlrd](https://github.com/python-excel/xlrd) - :star: 962 :fork_and_knife: 272 - Writing and reading data and formatting information from Excel files. * PDF * [:octocat: PDFMiner](https://github.com/euske/pdfminer) - :star: 4406 :fork_and_knife: 1024 - A tool for extracting information from PDF documents. * [:octocat: PyPDF2](https://github.com/mstamy2/PyPDF2) - :star: 3371 :fork_and_knife: 880 - A library capable of splitting, merging and transforming PDF pages. * [:earth_americas: ReportLab](https://www.reportlab.com/opensource/) - Allowing Rapid creation of rich PDF documents. * Markdown * [:octocat: Mistune](https://github.com/lepture/mistune) - :star: 1859 :fork_and_knife: 193 - Fastest and full featured pure Python parsers of Markdown. * [:octocat: Python-Markdown](https://github.com/waylan/Python-Markdown) - :star: 2310 :fork_and_knife: 552 - A Python implementation of John Gruber’s Markdown. * YAML * [:earth_americas: PyYAML](http://pyyaml.org/) - YAML implementations for Python. * CSV * [:octocat: csvkit](https://github.com/wireservice/csvkit) - :star: 4393 :fork_and_knife: 540 - Utilities for converting to and working with CSV. * Archive * [:octocat: unp](https://github.com/mitsuhiko/unp) - :star: 369 :fork_and_knife: 59 - 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.* * [:octocat: mkdocs](https://github.com/mkdocs/mkdocs/) - :star: 11005 :fork_and_knife: 1597 - Markdown friendly documentation generator. * [:octocat: pelican](https://github.com/getpelican/pelican) - :star: 10020 :fork_and_knife: 1674 - Static site generator that supports Markdown and reST syntax. * [:octocat: lektor](https://github.com/lektor/lektor) - :star: 3357 :fork_and_knife: 273 - An easy to use static CMS and blog engine. * [:octocat: nikola](https://github.com/getnikola/nikola) - :star: 1978 :fork_and_knife: 392 - A static website and blog generator. ## Tagging *Libraries for tagging items.* * [:octocat: django-taggit](https://github.com/jazzband/django-taggit) - :star: 2482 :fork_and_knife: 548 - Simple tagging for Django. ## Task Queues *Libraries for working with task queues.* * [:earth_americas: celery](http://www.celeryproject.org/) - An asynchronous task queue/job queue based on distributed message passing. * [:octocat: huey](https://github.com/coleifer/huey) - :star: 3228 :fork_and_knife: 292 - Little multi-threaded task queue. * [:octocat: mrq](https://github.com/pricingassistant/mrq) - :star: 824 :fork_and_knife: 112 - A distributed worker task queue in Python using Redis & gevent. * [:octocat: rq](https://github.com/rq/rq) - :star: 7340 :fork_and_knife: 1169 - Simple job queues for Python. ## Template Engine *Libraries and tools for templating and lexing.* * [:octocat: Jinja2](https://github.com/pallets/jinja) - :star: 7339 :fork_and_knife: 1343 - A modern and designer friendly templating language. * [:earth_americas: Genshi](https://genshi.edgewall.org/) - Python templating toolkit for generation of web-aware output. * [:earth_americas: Mako](http://www.makotemplates.org/) - Hyperfast and lightweight templating for the Python platform. ## Testing *Libraries for testing codebases and generating test data.* * Testing Frameworks * [:earth_americas: pytest](https://docs.pytest.org/en/latest/) - A mature full-featured Python testing tool. * [:octocat: hypothesis](https://github.com/HypothesisWorks/hypothesis) - :star: 4742 :fork_and_knife: 433 - Hypothesis is an advanced Quickcheck style property based testing library. * [:octocat: nose2](https://github.com/nose-devs/nose2) - :star: 655 :fork_and_knife: 129 - The successor to `nose`, based on `unittest2. * [:octocat: Robot Framework](https://github.com/robotframework/robotframework) - :star: 5195 :fork_and_knife: 1531 - A generic test automation framework. * [:earth_americas: unittest](https://docs.python.org/3/library/unittest.html) - (Python standard library) Unit testing framework. * Test Runners * [:octocat: green](https://github.com/CleanCut/green) - :star: 672 :fork_and_knife: 73 - A clean, colorful test runner. * [:earth_americas: mamba](http://nestorsalceda.github.io/mamba/) - The definitive testing tool for Python. Born under the banner of BDD. * [:earth_americas: tox](https://tox.readthedocs.io/en/latest/) - Auto builds and tests distributions in multiple Python versions * GUI / Web Testing * [:octocat: locust](https://github.com/locustio/locust) - :star: 14215 :fork_and_knife: 1951 - Scalable user load testing tool written in Python. * [:octocat: PyAutoGUI](https://github.com/asweigart/pyautogui) - :star: 4409 :fork_and_knife: 621 - PyAutoGUI is a cross-platform GUI automation Python module for human beings. * [:earth_americas: Selenium](https://pypi.org/project/selenium/) - Python bindings for [Selenium](http://www.seleniumhq.org/) WebDriver. * [:octocat: sixpack](https://github.com/seatgeek/sixpack) - :star: 1663 :fork_and_knife: 184 - A language-agnostic A/B Testing framework. * [:octocat: splinter](https://github.com/cobrateam/splinter) - :star: 2308 :fork_and_knife: 481 - Open source tool for testing web applications. * Mock * [:earth_americas: mock](https://docs.python.org/3/library/unittest.mock.html) - (Python standard library) A mocking and patching library. * [:earth_americas: doublex](https://pypi.org/project/doublex/) - Powerful test doubles framework for Python. * [:octocat: freezegun](https://github.com/spulec/freezegun) - :star: 2632 :fork_and_knife: 191 - Travel through time by mocking the datetime module. * [:octocat: httmock](https://github.com/patrys/httmock) - :star: 412 :fork_and_knife: 52 - A mocking library for requests for Python 2.6+ and 3.2+. * [:octocat: httpretty](https://github.com/gabrielfalcao/HTTPretty) - :star: 1817 :fork_and_knife: 245 - HTTP request mock tool for Python. * [:octocat: mocket](https://github.com/mindflayer/python-mocket) - :star: 202 :fork_and_knife: 32 - A socket mock framework with gevent/asyncio/SSL support. * [:octocat: responses](https://github.com/getsentry/responses) - :star: 2964 :fork_and_knife: 246 - A utility library for mocking out the requests Python library. * [:octocat: VCR.py](https://github.com/kevin1024/vcrpy) - :star: 1807 :fork_and_knife: 257 - Record and replay HTTP interactions on your tests. * Object Factories * [:octocat: factory_boy](https://github.com/FactoryBoy/factory_boy) - :star: 2315 :fork_and_knife: 305 - A test fixtures replacement for Python. * [:octocat: mixer](https://github.com/klen/mixer) - :star: 708 :fork_and_knife: 77 - Another fixtures replacement. Supported Django, Flask, SQLAlchemy, Peewee and etc. * [:octocat: model_mommy](https://github.com/vandersonmota/model_mommy) - :star: 935 :fork_and_knife: 158 - Creating random fixtures for testing in Django. * Code Coverage * [:earth_americas: coverage](https://pypi.org/project/coverage/) - Code coverage measurement. * Fake Data * [:octocat: mimesis](https://github.com/lk-geimfari/mimesis) - :star: 3129 :fork_and_knife: 263 - is a Python library that help you generate fake data. * [:octocat: fake2db](https://github.com/emirozer/fake2db) - :star: 2032 :fork_and_knife: 115 - Fake database generator. * [:octocat: faker](https://github.com/joke2k/faker) - :star: 10752 :fork_and_knife: 1277 - A Python package that generates fake data. * [:earth_americas: radar](https://pypi.org/project/radar/) - Generate random datetime / time. ## Text Processing *Libraries for parsing and manipulating plain texts.* * General * [:octocat: chardet](https://github.com/chardet/chardet) - :star: 1385 :fork_and_knife: 191 - Python 2/3 compatible character encoding detector. * [:earth_americas: difflib](https://docs.python.org/3/library/difflib.html) - (Python standard library) Helpers for computing deltas. * [:octocat: ftfy](https://github.com/LuminosoInsight/python-ftfy) - :star: 2841 :fork_and_knife: 98 - Makes Unicode text less broken and more consistent automagically. * [:octocat: fuzzywuzzy](https://github.com/seatgeek/fuzzywuzzy) - :star: 7533 :fork_and_knife: 792 - Fuzzy String Matching. * [:octocat: Levenshtein](https://github.com/ztane/python-Levenshtein/) - :star: 881 :fork_and_knife: 120 - Fast computation of Levenshtein distance and string similarity. * [:octocat: pangu.py](https://github.com/vinta/pangu.py) - :star: 155 :fork_and_knife: 22 - Paranoid text spacing. * [:octocat: pyfiglet](https://github.com/pwaller/pyfiglet) - :star: 718 :fork_and_knife: 78 - An implementation of figlet written in Python. * [:octocat: pypinyin](https://github.com/mozillazg/python-pinyin) - :star: 2923 :fork_and_knife: 465 - Convert Chinese hanzi (漢字) to pinyin (拼音). * [:octocat: textdistance](https://github.com/orsinium/textdistance) - :star: 1815 :fork_and_knife: 157 - Compute distance between sequences with 30+ algorithms. * [:earth_americas: unidecode](https://pypi.org/project/Unidecode/) - ASCII transliterations of Unicode text. * Slugify * [:octocat: awesome-slugify](https://github.com/dimka665/awesome-slugify) - :star: 450 :fork_and_knife: 39 - A Python slugify library that can preserve unicode. * [:octocat: python-slugify](https://github.com/un33k/python-slugify) - :star: 928 :fork_and_knife: 80 - A Python slugify library that translates unicode to ASCII. * [:octocat: unicode-slugify](https://github.com/mozilla/unicode-slugify) - :star: 292 :fork_and_knife: 53 - A slugifier that generates unicode slugs with Django as a dependency. * Unique identifiers * [:octocat: hashids](https://github.com/davidaurelio/hashids-python) - :star: 1141 :fork_and_knife: 84 - Implementation of [hashids](http://hashids.org) in Python. * [:octocat: shortuuid](https://github.com/skorokithakis/shortuuid) - :star: 1350 :fork_and_knife: 84 - A generator library for concise, unambiguous and URL-safe UUIDs. * Parser * [:octocat: ply](https://github.com/dabeaz/ply) - :star: 1781 :fork_and_knife: 308 - Implementation of lex and yacc parsing tools for Python. * [:earth_americas: pygments](http://pygments.org/) - A generic syntax highlighter. * [:octocat: pyparsing](https://github.com/pyparsing/pyparsing) - :star: 907 :fork_and_knife: 146 - A general purpose framework for generating parsers. * [:octocat: python-nameparser](https://github.com/derek73/python-nameparser) - :star: 434 :fork_and_knife: 77 - Parsing human names into their individual components. * [:octocat: python-phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) - :star: 2558 :fork_and_knife: 321 - Parsing, formatting, storing and validating international phone numbers. * [:octocat: python-user-agents](https://github.com/selwin/python-user-agents) - :star: 1082 :fork_and_knife: 177 - Browser user agent parser. * [:octocat: sqlparse](https://github.com/andialbrecht/sqlparse) - :star: 2224 :fork_and_knife: 465 - A non-validating SQL parser. ## Third-party APIs *Libraries for accessing third party services APIs. Also see [List of Python API Wrappers and Libraries](https://github.com/realpython/list-of-python-api-wrappers).* * [:earth_americas: apache-libcloud](https://libcloud.apache.org/) - One Python library for all clouds. * [:octocat: boto3](https://github.com/boto/boto3) - :star: 5895 :fork_and_knife: 1272 - Python interface to Amazon Web Services. * [:octocat: django-wordpress](https://github.com/istrategylabs/django-wordpress) - :star: 313 :fork_and_knife: 84 - WordPress models and views for Django. * [:octocat: facebook-sdk](https://github.com/mobolic/facebook-sdk) - :star: 2557 :fork_and_knife: 942 - Facebook Platform Python SDK. * [:octocat: google-api-python-client](https://github.com/google/google-api-python-client) - :star: 4189 :fork_and_knife: 1765 - Google APIs Client Library for Python. * [:octocat: gspread](https://github.com/burnash/gspread) - :star: 5004 :fork_and_knife: 760 - Google Spreadsheets Python API. * [:octocat: twython](https://github.com/ryanmcgrath/twython) - :star: 1749 :fork_and_knife: 395 - A Python wrapper for the Twitter API. ## URL Manipulation *Libraries for parsing URLs.* * [:octocat: furl](https://github.com/gruns/furl) - :star: 1880 :fork_and_knife: 119 - A small Python library that makes parsing and manipulating URLs easy. * [:octocat: purl](https://github.com/codeinthehole/purl) - :star: 246 :fork_and_knife: 32 - A simple, immutable URL class with a clean API for interrogation and manipulation. * [:octocat: pyshorteners](https://github.com/ellisonleao/pyshorteners) - :star: 272 :fork_and_knife: 51 - A pure Python URL shortening lib. * [:octocat: webargs](https://github.com/marshmallow-code/webargs) - :star: 1082 :fork_and_knife: 138 - A friendly library for parsing HTTP request arguments with built-in support for popular web frameworks. ## Video *Libraries for manipulating video and GIFs.* * [:octocat: vidgear](https://github.com/abhiTronix/vidgear) - :star: 1450 :fork_and_knife: 106 - Most Powerful multi-threaded Video Processing framework. * [:earth_americas: moviepy](https://zulko.github.io/moviepy/) - A module for script-based movie editing with many formats, including animated GIFs. * [:octocat: scikit-video](https://github.com/aizvorski/scikit-video) - :star: 102 :fork_and_knife: 23 - Video processing routines for SciPy. ## Web Asset Management *Tools for managing, compressing and minifying website assets.* * [:octocat: django-compressor](https://github.com/django-compressor/django-compressor) - :star: 2380 :fork_and_knife: 558 - Compresses linked and inline JavaScript or CSS into a single cached file. * [:octocat: django-pipeline](https://github.com/jazzband/django-pipeline) - :star: 1375 :fork_and_knife: 347 - An asset packaging library for Django. * [:octocat: django-storages](https://github.com/jschneier/django-storages) - :star: 1722 :fork_and_knife: 664 - A collection of custom storage back ends for Django. * [:earth_americas: fanstatic](http://www.fanstatic.org/en/latest/) - Packages, optimizes, and serves static file dependencies as Python packages. * [:earth_americas: fileconveyor](http://wimleers.com/fileconveyor) - A daemon to detect and sync files to CDNs, S3 and FTP. * [:octocat: flask-assets](https://github.com/miracle2k/flask-assets) - :star: 403 :fork_and_knife: 88 - Helps you integrate webassets into your Flask app. * [:octocat: webassets](https://github.com/miracle2k/webassets) - :star: 885 :fork_and_knife: 255 - Bundles, optimizes, and manages unique cache-busting URLs for static resources. ## Web Content Extracting *Libraries for extracting web contents.* * [:octocat: html2text](https://github.com/Alir3z4/html2text) - :star: 1012 :fork_and_knife: 176 - Convert HTML to Markdown-formatted text. * [:octocat: lassie](https://github.com/michaelhelmick/lassie) - :star: 511 :fork_and_knife: 41 - Web Content Retrieval for Humans. * [:octocat: micawber](https://github.com/coleifer/micawber) - :star: 504 :fork_and_knife: 75 - A small library for extracting rich content from URLs. * [:octocat: newspaper](https://github.com/codelucas/newspaper) - :star: 10347 :fork_and_knife: 1707 - News extraction, article extraction and content curation in Python. * [:octocat: python-readability](https://github.com/buriy/python-readability) - :star: 1885 :fork_and_knife: 316 - Fast Python port of arc90's readability tool. * [:octocat: requests-html](https://github.com/psf/requests-html) - :star: 11251 :fork_and_knife: 748 - Pythonic HTML Parsing for Humans. * [:octocat: sumy](https://github.com/miso-belica/sumy) - :star: 2407 :fork_and_knife: 435 - A module for automatic summarization of text documents and HTML pages. * [:octocat: textract](https://github.com/deanmalmgren/textract) - :star: 2897 :fork_and_knife: 413 - Extract text from any document, Word, PowerPoint, PDFs, etc. * [:octocat: toapi](https://github.com/gaojiuli/toapi) - :star: 3056 :fork_and_knife: 216 - Every web site provides APIs. ## Web Crawling *Libraries to automate web scraping.* * [:octocat: cola](https://github.com/chineking/cola) - :star: 1382 :fork_and_knife: 542 - A distributed crawling framework. * [:earth_americas: feedparser](https://pythonhosted.org/feedparser/) - Universal feed parser. * [:octocat: grab](https://github.com/lorien/grab) - :star: 1999 :fork_and_knife: 250 - Site scraping framework. * [:octocat: MechanicalSoup](https://github.com/MechanicalSoup/MechanicalSoup) - :star: 3594 :fork_and_knife: 331 - A Python library for automating interaction with websites. * [:octocat: pyspider](https://github.com/binux/pyspider) - :star: 14675 :fork_and_knife: 3538 - A powerful spider system. * [:octocat: robobrowser](https://github.com/jmcarp/robobrowser) - :star: 3495 :fork_and_knife: 328 - A simple, Pythonic library for browsing the web without a standalone web browser. * [:earth_americas: scrapy](https://scrapy.org/) - A fast high-level screen scraping and web crawling framework. * [:octocat: portia](https://github.com/scrapinghub/portia) - :star: 7952 :fork_and_knife: 1285 - Visual scraping for Scrapy. ## Web Frameworks *Traditional full stack web frameworks. Also see [RESTful API](https://github.com/vinta/awesome-python#restful-api).* * Synchronous * [:earth_americas: Django](https://www.djangoproject.com/) - The most popular web framework in Python. * [:octocat: awesome-django](https://github.com/wsvincent/awesome-django) - :star: 3118 :fork_and_knife: 562 * [:octocat: awesome-django](https://github.com/shahraizali/awesome-django) - :star: 487 :fork_and_knife: 95 * [:earth_americas: Flask](http://flask.pocoo.org/) - A microframework for Python. * [:octocat: awesome-flask](https://github.com/humiaozuzu/awesome-flask) - :star: 9329 :fork_and_knife: 1385 * [:earth_americas: Pyramid](https://pylonsproject.org/) - A small, fast, down-to-earth, open source Python web framework. * [:octocat: awesome-pyramid](https://github.com/uralbash/awesome-pyramid) - :star: 490 :fork_and_knife: 54 * [:octocat: Masonite](https://github.com/MasoniteFramework/masonite) - :star: 1479 :fork_and_knife: 92 - The modern and developer centric Python web framework. * Asynchronous * [:earth_americas: Tornado](http://www.tornadoweb.org/en/latest/) - A web framework and asynchronous networking library. ## WebSocket *Libraries for working with WebSocket.* * [:octocat: autobahn-python](https://github.com/crossbario/autobahn-python) - :star: 2223 :fork_and_knife: 620 - WebSocket & WAMP for Python on Twisted and [asyncio](https://docs.python.org/3/library/asyncio.html). * [:octocat: channels](https://github.com/django/channels) - :star: 4622 :fork_and_knife: 639 - Developer-friendly asynchrony for Django. * [:octocat: websockets](https://github.com/aaugustin/websockets) - :star: 3001 :fork_and_knife: 344 - A library for building WebSocket servers and clients with a focus on correctness and simplicity. ## WSGI Servers *WSGI-compatible web servers.* * [:octocat: bjoern](https://github.com/jonashaag/bjoern) - :star: 2449 :fork_and_knife: 176 - Asynchronous, very fast and written in C. * [:octocat: gunicorn](https://github.com/benoitc/gunicorn) - :star: 7257 :fork_and_knife: 1356 - Pre-forked, partly written in C. * [:earth_americas: uWSGI](https://uwsgi-docs.readthedocs.io/en/latest/) - A project aims at developing a full stack for building hosting services, written in C. * [:octocat: waitress](https://github.com/Pylons/waitress) - :star: 861 :fork_and_knife: 120 - Multi-threaded, powers Pyramid. * [:octocat: werkzeug](https://github.com/pallets/werkzeug) - :star: 5494 :fork_and_knife: 1486 - A WSGI utility library for Python that powers Flask and can easily be embedded into your own projects. # Resources Where to discover learning resources or new Python libraries. ## Books - [Fluent Python](https://www.oreilly.com/library/view/fluent-python/9781491946237/) ## Websites * Tutorials * [:earth_americas: Full Stack Python](https://www.fullstackpython.com/) * [:earth_americas: Python Cheatsheet](https://www.pythoncheatsheet.org/) * [:earth_americas: Real Python](https://realpython.com) * [:earth_americas: The Hitchhiker’s Guide to Python](https://docs.python-guide.org/) * Libraries * [:earth_americas: Awesome Python @LibHunt](https://python.libhunt.com/) * Others * [:earth_americas: Python ZEEF](https://python.zeef.com/alan.richmond) * [:earth_americas: Pythonic News](https://news.python.sc/) ## Newsletters * [:earth_americas: Awesome Python Newsletter](http://python.libhunt.com/newsletter) * [:earth_americas: Pycoder's Weekly](http://pycoders.com/) * [:earth_americas: Python Weekly](http://www.pythonweekly.com/) * [:earth_americas: Python Tricks](https://realpython.com/python-tricks/) ## Podcasts * [:earth_americas: Django Chat](https://djangochat.com/) * [:earth_americas: Podcast.\_\_init__](https://podcastinit.com/) * [:earth_americas: Python Bytes](https://pythonbytes.fm) * [:earth_americas: Running in Production](https://runninginproduction.com/) * [:earth_americas: Talk Python To Me](https://talkpython.fm/) * [:earth_americas: Test and Code](https://testandcode.com/) * [:earth_americas: The Real Python Podcast](https://realpython.com/podcasts/rpp/) # Contributing Your contributions are always welcome! If you find out any repo has been outdate or its link has not valid anymore, please open a pull request. I will merge it soon. If you want to add a new repo, please go to [awesome-python](https://github.com/vinta/awesome-python) and create a pull request first.