A curated list with Github stars and forks stats based on awesome awesome-python Inspired by fucking-awesome-go.
Go to file
2015-09-20 00:15:11 +07:00
LICENSE add cat 2015-09-20 00:15:11 +07:00
README.md add cat 2015-09-20 00:15:11 +07:00

Fucking Awesome Python

A curated list with Github stars and forks stats based on awesome awesome-python

Awesome Python Awesome

A curated list of awesome Python frameworks, libraries and software. Inspired by awesome-php.


Environment Management

Libraries for Python version and environment management.

Package Management

Libraries for package and dependency management.

Package Repositories

Local PyPI repository server and proxies.

Distribution

Libraries to create packaged executables for release distribution.

Build Tools

Compile software from source code.

Interactive Interpreter

Interactive Python interpreters (REPL).

Files

Libraries for file manipulation and MIME type detection.

Date and Time

Libraries for working with dates and times.

Text Processing

Libraries for parsing and manipulating plain texts.

  • General
    • chardet - Python 2/3 compatible character encoding detector.
    • difflib - (Python standard library) Helpers for computing deltas.
    • esmre - Regular expression accelerator.
    • ftfy - Makes Unicode text less broken and more consistent automagically.
    • fuzzywuzzy - Fuzzy String Matching.
    • Levenshtein - Fast computation of Levenshtein distance and string similarity.
    • pangu.py - Spacing texts for CJK and alphanumerics.
    • pyfiglet - An implementation of figlet written in Python.
    • shortuuid - A generator library for concise, unambiguous and URL-safe UUIDs.
    • unidecode - ASCII transliterations of Unicode text.
    • uniout - Print readable chars instead of the escaped string.
    • xpinyin - A library to translate Chinese hanzi (漢字) to pinyin (拼音).
  • Slugify
    • awesome-slugify - A Python slugify library that can preserve unicode.
    • python-slugify - A Python slugify library that translates unicode to ASCII.
    • unicode-slugify - A slugifier that generates unicode slugs with Django as a dependency.
  • Parser
    • phonenumbers - Parsing, formatting, storing and validating international phone numbers.
    • PLY - Implementation of lex and yacc parsing tools for Python
    • Pygments - A generic syntax highlighter.
    • pyparsing - A general purpose framework for generating parsers.
    • python-nameparser - Parsing human names into their individual components.
    • python-user-agents - Browser user agent parser.
    • sqlparse - A non-validating SQL parser.

Specific Formats Processing

Libraries for parsing and manipulating specific text formats.

  • General
    • tablib - A module for Tabular Datasets in XLS, CSV, JSON, YAML.
  • Office
    • Marmir - Takes Python data structures and turns them into spreadsheets.
    • openpyxl - A library for reading and writing Excel 2010 xlsx/xlsm/xltx/xltm files.
    • python-docx - Reads, queries and modifies Microsoft Word 2007/2008 docx files.
    • unoconv - Convert between any document format supported by LibreOffice/OpenOffice.
    • XlsxWriter - A Python module for creating Excel .xlsx files.
    • xlwings - A BSD-licensed library that makes it easy to call Python from Excel and vice versa.
    • xlwt / xlrd - Writing and reading data and formatting information from Excel files.
  • PDF
    • PDFMiner - A tool for extracting information from PDF documents.
    • PyPDF2 - A library capable of splitting, merging and transforming PDF pages.
    • ReportLab - Allowing Rapid creation of rich PDF documents.
  • Markdown
    • Mistune - Fastest and full featured pure Python parsers of Markdown.
    • Python-Markdown - A Python implementation of John Grubers Markdown.
  • YAML
    • PyYAML - YAML implementations for Python.
  • CSV
    • csvkit - Utilities for converting to and working with CSV.
  • Archive
    • unp - A command line tool that can unpack archives easily.

Natural Language Processing

Libraries for working with human languages.

Documentation

Libraries for generating project documentation.

Configuration

Libraries for storing configuration options.

Command-line Tools

Libraries for building command-line application.

  • Command-line Application Development
    • cement - Providing a light-weight and fully featured foundation to build anything from single file scripts to complex and intricately designed applications.
    • click - A package for creating beautiful command line interfaces in a composable way.
    • cliff - A framework for creating command-line programs with multi-level commands.
    • Clime Clime lets you convert any module into a multi-command CLI program without any configuration.
    • clint - Python Command-line Application Tools.
    • colorama - Cross-platform colored terminal text.
    • docopt - Pythonic command line arguments parser.
    • Gooey - Turn command line programs into a full GUI application with one line
    • pyCLI - Command-line applications supporting standard command line parsing, logging, unit and functional testing.
    • python-prompt-toolkit - A Library for building powerful interactive command lines.
  • Productivity Tools
    • bashplotlib - Making basic plots in the terminal. It's a quick way to visualize data without GUI.
    • caniusepython3 - Determine what projects are blocking you from porting to Python 3.
    • cookiecutter - A command-line utility that creates projects from cookiecutters (project templates). E.g. Python package projects, jQuery plugin projects.
    • doitlive - A tool for live presentations in the terminal.
    • httpie - A command line HTTP client, a user-friendly cURL replacement.
    • PathPicker - Select files out of bash output.
    • percol - Adds flavor of interactive selection to the traditional pipe concept on UNIX.
    • RainbowStream - Smart and nice Twitter client on terminal.
    • thefuck - Correcting your previous console command.

Downloader

Libraries for downloading.

Imagery

Libraries for manipulating images.

OCR

Libraries for Optical Character Recognition.

Audio

Libraries for manipulating audio.

Video

Libraries for manipulating video and GIFs.

Geolocation

Libraries for geocoding addresses and working with latitudes and longitudes.

HTTP

Libraries for working with HTTP.

Database

Databases implemented in Python.

Database Drivers

Libraries for connecting and operating databases.

  • Relational Databases
    • apsw - Another Python SQLite wrapper.
    • dataset - Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL.
    • mysql-connector-python - A pure Python MySQL driver from Oracle.
    • mysql-python - The MySQL database connector for Python.
    • mysqlclient - mysql-python fork supporting Python 3.
    • oursql - A better MySQL connector with support for native prepared statements and BLOBs.
    • psycopg2 - The most popular PostgreSQL adapter for Python.
    • PyMySQL - Pure Python MySQL driver compatible to mysql-python.
    • queries - A wrapper of the psycopg2 library for interacting with PostgreSQL.
    • txpostgres - Twisted based asynchronous driver for PostgreSQL.
  • NoSQL Databases
    • cassandra-python-driver - Python driver for Cassandra.
    • HappyBase - A developer-friendly library for Apache HBase.
    • Plyvel - A fast and feature-rich Python interface to LevelDB.
    • py2neo - Python wrapper client for Neo4j's restful interface.
    • pycassa - Python Thrift driver for Cassandra.
    • PyMongo - The official Python client for MongoDB.
    • redis-py - The Redis Python Client.
    • telephus - Twisted based client for Cassandra.
    • txRedis - Twisted based client for Redis.

ORM

Libraries that implement Object-Relational Mapping or data mapping techniques.

Web Frameworks

Full stack web frameworks.

Permissions

Libraries that allow or deny users access to data or functionality.

  • :octocat: Carteblanche - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.
  • :octocat: django-guardian - Implementation of per object permissions for Django 1.2+
  • :octocat: django-rules - A tiny but powerful app providing object-level permissions to Django, without requiring a database.

CMS

Content Management Systems.

E-commerce

Frameworks and libraries for e-commerce and payments.

RESTful API

Libraries for developing RESTful APIs.

Authentication

Libraries for implementing authentications schemes.

  • OAuth
    • Authomatic - Simple but powerful framework agnostic authentication/authorization client.
    • django-allauth - Authentication app for Django that "just works."
    • django-oauth-toolkit - OAuth2 goodies for the Djangonauts.
    • django-oauth2-provider - Providing OAuth2 access to Django app.
    • Flask-OAuthlib - OAuth 1.0/a, 2.0 implementation of client and provider for Flask.
    • OAuthLib - A generic and thorough implementation of the OAuth request-signing logic.
    • python-oauth2 - A fully tested, abstract interface to creating OAuth clients and servers.
    • python-social-auth - An easy-to-setup social authentication mechanism.
    • rauth - A Python library for OAuth 1.0/a, 2.0, and Ofly.
    • sanction - A dead simple OAuth2 client implementation.
  • Others
    • jose - JavaScript Object Signing and Encryption draft implementation.
    • PyJWT - Implementation of the JSON Web Token draft 01.
    • python-jws - Implementation of JSON Web Signatures draft 02.
    • python-jwt - Module for generating and verifying JSON Web Tokens.

Template Engine

Libraries and tools for templating and lexing.

Queue

Libraries for working with event and task queues.

Libraries and software for indexing and performing search queries on data.

News Feed

Libraries for building user's activities.

Asset Management

Tools for managing, compressing and minifying website assets.

Caching

Libraries for caching data.

Email

Libraries for sending and parsing email.

Internationalization

Libraries for working with i18n.

URL Manipulation

Libraries for parsing URLs.

  • :octocat: furl - A small Python library that makes manipulating URLs simple.
  • :octocat: purl - A simple, immutable URL class with a clean API for interrogation and manipulation.
  • :octocat: pyshorteners - A pure Python URL shortening lib.
  • :octocat: short_url - Python implementation for generating Tiny URL and bit.ly-like URLs.
  • :octocat: webargs - A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, and Pyramid.

HTML Manipulation

Libraries for working with HTML and XML.

Web Crawling

Libraries for scraping websites.

Web Content Extracting

Libraries for extracting web contents.

Forms

Libraries for working with forms.

Data Validation

Libraries for validating data. Used for forms in many cases.

  • :octocat: Cerberus - A mappings-validator with a variety of rules, normalization-features and simple customization that uses a pythonic schema-definition.
  • :octocat: colander - A system for validating and deserializing data obtained via XML, JSON, an HTML form post or any other equally simple data serialization.
  • :octocat: kmatch - A language for matching/validating/filtering Python dictionaries.
  • :octocat: schema - A library for validating Python data structures.
  • :octocat: Schematics - Data Structure Validation.
  • :octocat: valideer - Lightweight extensible data validation and adaptation library.
  • :octocat: voluptuous - A Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc.

Anti-spam

Libraries for fighting spam.

Tagging

Libraries for tagging items.

Admin Panels

Libraries for administrative interfaces.

Static Site Generator

Static site generator is a software that takes some text + templates as input and produces HTML files on the output.

Processes

Libraries for starting and communicating with OS processes.

Concurrency and Parallelism

Libraries for concurrent and parallel execution.

Networking

Libraries for networking programming.

WebSocket

Libraries for working with WebSocket.

WSGI Servers

WSGI-compatible web servers.

RPC Servers

RPC-compatible servers.

Cryptography

GUI

Libraries for working with graphical user interface applications.

  • :octocat: curses - Built-in wrapper for ncurses used to create terminal GUI applications.
  • :octocat: enaml - Creating beautiful user-interfaces with Declaratic Syntax like QML.
  • :octocat: kivy - A library for creating NUI applications, running on Windows, Linux, Mac OS X, Android and iOS.
  • :octocat: pyglet - A cross-platform windowing and multimedia library for Python.
  • :octocat: PyQt - Python bindings for the Qt cross-platform application and UI framework, with support for both Qt v4 and Qt v5 frameworks.
  • :octocat: PySide - Python bindings for the Qt cross-platform application and UI framework, supporting the Qt v4 framework.
  • :octocat: Tkinter - Tkinter is Python's de-facto standard GUI package.
  • :octocat: Toga - A Python native, OS native GUI toolkit.
  • :octocat: urwid - A library for creating terminal GUI applications with strong support for widgets, events, rich colors, etc.
  • :octocat: wxPython - A blending of the wxWidgets C++ class library with the Python.

Game Development

Awesome game development libraries.

  • :octocat: Cocos2d - cocos2d is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on pyglet.
  • :octocat: Panda3D - 3D game engine developed by Disney and maintained by Carnegie Mellon's Entertainment Technology Center. Written in C++, completely wrapped in Python.
  • :octocat: Pygame - Pygame is a set of Python modules designed for writing games.
  • :octocat: PyOgre - Python bindings for the Ogre 3D render engine, can be used for games, simulations, anything 3D.
  • :octocat: PyOpenGL - Python ctypes bindings for OpenGL and it's related APIs.
  • :octocat: PySDL2 - A ctypes based wrapper for the SDL2 library.
  • :octocat: PySFML - Python bindings for SFML
  • :octocat: RenPy - A Visual Novel engine.

Logging

Libraries for generating and working with logs.

Testing

Libraries for testing codebases and generating test data.

  • Testing Frameworks
    • unittest - (Python standard library) Unit testing framework.
    • nose - nose extends unittest.
    • contexts - A BDD framework for Python 3.3+. Inspired by C#'s Machine.Specifications.
    • hypothesis - Hypothesis is an advanced Quickcheck style property based testing library.
    • mamba - The definitive testing tool for Python. Born under the banner of BDD.
    • PyAutoGUI - PyAutoGUI is a cross-platform GUI automation Python module for human beings.
    • pyshould - Should style asserts based on PyHamcrest.
    • pytest - A mature full-featured Python testing tool.
    • pyvows - BDD style testing for Python. Inspired by Vows.js.
    • Robot Framework - A generic test automation framework.
  • Web Testing
    • Selenium - Python bindings for Selenium WebDriver.
    • locust - Scalable user load testing tool written in Python.
    • sixpack - A language-agnostic A/B Testing framework.
    • splinter - Open source tool for testing web applications.
  • Mock
    • mock - (Python standard library) A mocking and patching library.
    • doublex - Powerful test doubles framework for Python.
    • freezegun - Travel through time by mocking the datetime module.
    • httmock - A mocking library for requests for Python 2.6+ and 3.2+.
    • httpretty - HTTP request mock tool for Python.
    • responses - A utility library for mocking out the requests Python library.
    • VCR.py - Record and replay HTTP interactions on your tests.
  • Object Factories
    • factory_boy - A test fixtures replacement for Python.
    • mixer - Another fixtures replacement. Supported Django, Flask, SQLAlchemy, Peewee and etc.
    • model_mommy - Creating random fixtures for testing in Django.
  • Code Coverage
  • Fake Data
    • faker - A Python package that generates fake data.
    • fake2db - Fake database generator.
    • radar - Generate random datetime / time.
  • Error Handler
    • FuckIt.py - FuckIt.py uses state-of-the-art technology to make sure your Python code runs whether it has any right to or not.

Code Analysis and Linter

Libraries and tools for analysing, parsing and manipulation codebases.

  • Code Analysis
    • code2flow - Turn your Python and JavaScript code into DOT flowcharts.
    • pycallgraph - A library that visualises the flow (call graph) of your Python application.
    • pysonar2 - A type inferencer and indexer for Python.
  • Linter
    • Flake8 - The modular source code checker: pep8, pyflakes and co.
    • Pylint - A source code analyzer.
    • pylama - Code audit tool for Python and JavaScript.

Debugging Tools

Libraries for debugging code.

  • Debugger
    • ipdb - IPython-enabled pdb.
    • pudb A full-screen, console-based Python debugger.
    • pyringe - Debugger capable of attaching to and injecting code into Python processes.
    • wdb - An improbable web debugger through WebSockets.
    • winpdb - A Platform Independent Python Debugger with GUI, capable of remote debugging based on rpdb2.
    • django-debug-toolbar - Display various debug information about the current request/response.
    • django-devserver - A drop-in replacement for Django's runserver.
    • flask-debugtoolbar - A port of the django-debug-toolbar to flask.
  • Profiler
  • Others
    • pyelftools - A pure-Python library for parsing and analyzing ELF files and DWARF debugging information.
    • python-statsd - Python Client for the statsd server.

Science and Data Analysis

Libraries for scientific computing and data analyzing.

  • :octocat: astropy - A community Python library for Astronomy.
  • :octocat: bcbio-nextgen - A toolkit providing best-practice pipelines for fully automated high throughput sequencing analysis.
  • :octocat: bccb - Collection of useful code related to biological analysis.
  • :octocat: Biopython - Biopython is a set of freely available tools for biological computation.
  • :octocat: blaze - NumPy and Pandas interface to Big Data.
  • :octocat: cclib - A library for parsing and interpreting the results of computational chemistry packages.
  • :octocat: NetworkX - A high-productivity software for complex networks.
  • :octocat: Numba - Python JIT (just in time) complier to LLVM aimed at scientific Python by the developers of Cython and NumPy.
  • :octocat: NumPy - A fundamental package for scientific computing with Python.
  • :octocat: Open Babel - A chemical toolbox designed to speak the many languages of chemical data.
  • :octocat: Open Mining - Business Intelligence (BI) in Python (Pandas web interface)
  • :octocat: orange - Data mining, data visualization, analysis and machine learning through visual programming or Python scripting.
  • :octocat: Pandas - A library providing high-performance, easy-to-use data structures and data analysis tools.
  • :octocat: PyDy - Short for Python Dynamics, used to assist with workflow in the modeling of dynamic motion based around NumPy, SciPy, IPython, and matplotlib.
  • :octocat: PyMC - Markov Chain Monte Carlo sampling toolkit.
  • :octocat: RDKit - Cheminformatics and Machine Learning Software.
  • :octocat: SciPy - A Python-based ecosystem of open-source software for mathematics, science, and engineering.
  • :octocat: statsmodels - Statistical modeling and econometrics in Python.
  • :octocat: SymPy - A Python library for symbolic mathematics.
  • :octocat: zipline - A Pythonic algorithmic trading library.

Data Visualization

Libraries for visualizing data. See: awesome-javascript.

Computer Vision

Libraries for computer vision.

Machine Learning

Libraries for Machine Learning. See: awesome-machine-learning.

MapReduce

Framworks and libraries for MapReduce.

Functional Programming

Functional Programming with Python.

  • :octocat: CyToolz - Cython implementation of Toolz: High performance functional utilities.
  • :octocat: fn.py - Functional programming in Python: implementation of missing features to enjoy FP.
  • :octocat: funcy - A fancy and practical functional tools.
  • :octocat: Toolz - A collection of functional utilities for iterators, functions, and dictionaries.

Third-party APIs

Libraries for accessing third party services APIs. See: List of Python API Wrappers and Libraries.

DevOps Tools

Software and libraries for DevOps.

Job Scheduler

Libraries for scheduling jobs.

Foreign Function Interface

Libraries for providing foreign function interface.

High Performance

Libraries for making Python faster.

  • :octocat: Cython - Optimizing Static Compiler for Python. Uses type mixins to compile Python into C or C++ modules resulting in large performance gains.
  • :octocat: PyPy - An implementation of Python in Python. The interpreter uses black magic to make Python very fast without having to add in additional type information.
  • :octocat: Pyston - A Python implementation built using LLVM and modern JIT techniques with the goal of achieving good performance.
  • :octocat: Stackless Python - An enhanced version of the Python.

Microsoft Windows

Python programming on Microsoft Windows.

Network Virtualization and SDN

Tools and libraries for Virtual Networking and SDN (Software Defined Networking).

  • :octocat: Mininet - A popular network emulator and API written in Python.
  • :octocat: POX - An open source development platform for Python-based Software Defined Networking (SDN) control applications, such as OpenFlow SDN controllers.
  • :octocat: Pyretic - A member of the Frenetic family of SDN programming languages that provides powerful abstractions over network switches or emulators.
  • :octocat: SDX Platform - SDN based IXP implementation that leverages Mininet, POX and Pyretic.

Hardware

Libraries for programming with hardware.

Compatibility

Libraries for migrating from Python 2 to 3.

Miscellaneous

Useful libraries or tools that don't fit in the categories above.

Algorithms and Design Patterns

Python implementation of algorithms and design patterns.

Editor Plugins

Plugins for editors and IDEs.

  • Emacs
    • Elpy - Emacs Python Development Environment.
  • Sublime Text
    • SublimeJEDI - A Sublime Text plugin to the awesome auto-complete library Jedi.
    • Anaconda - Anaconda turns your Sublime Text 3 in a full featured Python development IDE.
  • Vim
    • YouCompleteMe - Includes Jedi-based completion engine for Python.
    • Jedi-vim - Vim bindings for the Jedi auto-completion library for Python.
    • Python-mode - An all in one plugin for turning Vim into a Python IDE.
  • Visual Studio
    • PTVS - Python Tools for Visual Studio.

IDEs

Popular Python IDEs.

Services

Online tools and APIs to simplify development.

Continuous Integration

See: awesome-CIandCD.

  • :octocat: Travis CI - A popular CI service for your open source and private projects. (GitHub only)
  • :octocat: CircleCI - A CI service that can run very fast parallel testing. (GitHub only)
  • :octocat: Vexor CI - A continuous integration tool for private apps with pay-per-minute billing model.
  • :octocat: Wercker - A Docker-based platform for building and deploying applications and microservices.

Code Quality

Resources

Where to discover new Python libraries.

Websites

Weekly

Twitter

Other Awesome Lists

List of lists.

Contributing

Your contributions are always welcome!