├── .gitignore ├── README.md └── sort.py /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.pyc 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Awesome Python 2 | 3 | A curated list of awesome Python frameworks, libraries and software. Inspired by [awesome-php](https://github.com/ziadoz/awesome-php). 4 | 5 | - [Awesome Python](#awesome-python) 6 | - [Environment Management](#environment-management) 7 | - [Package Management](#package-management) 8 | - [Distribution](#distribution) 9 | - [Build Tools](#build-tools) 10 | - [Files](#files) 11 | - [Date and Time](#date-and-time) 12 | - [Text Processing](#text-processing) 13 | - [Natural Language Processing](#natural-language-processing) 14 | - [Documentation](#documentation) 15 | - [Configuration](#configuration) 16 | - [Command-line Tools](#command-line-tools) 17 | - [Imagery](#imagery) 18 | - [Audio](#audio) 19 | - [Video](#video) 20 | - [Geolocation](#geolocation) 21 | - [HTTP](#http) 22 | - [Database](#database) 23 | - [Database Drivers](#database-drivers) 24 | - [ORM](#orm) 25 | - [Web Frameworks](#web-frameworks) 26 | - [Permissions](#permissions) 27 | - [CMS](#cms) 28 | - [RESTful API](#restful-api) 29 | - [Authentication and OAuth](#authentication-and-oauth) 30 | - [Template Engine](#template-engine) 31 | - [Queue](#queue) 32 | - [Search](#search) 33 | - [News Feed](#news-feed) 34 | - [Asset Management](#asset-management) 35 | - [Caching](#caching) 36 | - [Email](#email) 37 | - [Internationalization](#internationalization) 38 | - [URL Manipulation](#url-manipulation) 39 | - [HTML Manipulation](#html-manipulation) 40 | - [Web Crawling](#web-crawling) 41 | - [Web Content Extracting](#web-content-extracting) 42 | - [Downloader](#downloader) 43 | - [Forms](#forms) 44 | - [Data Validation](#data-validation) 45 | - [Anti-spam](#anti-spam) 46 | - [Tagging](#tagging) 47 | - [Admin Panels](#admin-panels) 48 | - [Processes and Threads](#processes-and-threads) 49 | - [Networking](#networking) 50 | - [WebSocket](#websocket) 51 | - [WSGI Servers](#wsgi-servers) 52 | - [Cryptography](#cryptography) 53 | - [GUI](#gui) 54 | - [Game Development](#game-development) 55 | - [Logging](#logging) 56 | - [Testing](#testing) 57 | - [Code Analysis and Linter](#code-analysis-and-linter) 58 | - [Debugging Tools](#debugging-tools) 59 | - [Science and Data Analysis](#science-and-data-analysis) 60 | - [Data Visualization](#data-visualization) 61 | - [Machine Learning](#machine-learning) 62 | - [Functional Programming](#functional-programming) 63 | - [MapReduce](#mapreduce) 64 | - [Third-party APIs](#third-party-apis) 65 | - [DevOps Tools](#devops-tools) 66 | - [Workflow Execution](#workflow-execution) 67 | - [Foreign Function Interface](#foreign-function-interface) 68 | - [High Performance](#high-performance) 69 | - [Algorithms and Design Patterns](#algorithms-and-design-patterns) 70 | - [Hardware](#hardware) 71 | - [Miscellaneous](#miscellaneous) 72 | - [Editor Plugins](#editor-plugins) 73 | - [Resources](#resources) 74 | - [Websites](#websites) 75 | - [Weekly](#weekly) 76 | - [Twitter](#twitter) 77 | 78 | ## Environment Management 79 | 80 | *Libraries for Python version and environment management.* 81 | 82 | * [pyenv](https://github.com/yyuu/pyenv) - Simple Python version management. 83 | * [virtualenv](https://pypi.python.org/pypi/virtualenv) - A tool to create isolated Python environments. 84 | * [virtualenvwrapper](https://pypi.python.org/pypi/virtualenvwrapper) - A set of extensions to virtualenv 85 | * [PyRun](https://www.egenix.com/products/python/PyRun/) - A one-file, no-installation-needed version of Python. 86 | 87 | ## Package Management 88 | 89 | *Libraries for package and dependency management.* 90 | 91 | * [pip](https://pip.pypa.io/en/latest/) / [Python Package Index](https://pypi.python.org/pypi) - The package and dependency manager. 92 | * [conda](https://github.com/conda/conda/) - Cross-platform, Python-agnostic binary package manager. 93 | * [wheel](http://pythonwheels.com/) - The new standard of Python distribution and are intended to replace eggs. 94 | 95 | ## Distribution 96 | 97 | *Libraries to create packaged executables for release distribution.* 98 | 99 | * [cx-Freeze](http://cx-freeze.readthedocs.org/) - Freezes Python scripts (cross-platform) 100 | * [py2exe](http://www.py2exe.org/) - Freezes Python scripts (Windows) 101 | * [py2app](http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html) - Freezes Python scripts (Mac OS X) 102 | * [PyInstaller](http://www.pyinstaller.org/) - A program that converts Python programs into stand-alone executables (Windows, Linux, Mac OS X, Solaris and AIX) 103 | 104 | ## Build Tools 105 | 106 | *Compile software from source code.* 107 | 108 | * [buildout](http://www.buildout.org/) - A build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based. 109 | * [SCons](http://www.scons.org/) - A software construction tool. 110 | * [PlatformIO](https://github.com/ivankravets/platformio) - A console tool to build code with different development platforms. 111 | * [BitBake](http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html) - A make-like build tool with the special focus of distributions and packages for embedded Linux. 112 | 113 | ## Files 114 | 115 | *Libraries for file manipulation and MIME type detection.* 116 | 117 | * [mimetypes](https://docs.python.org/2/library/mimetypes.html) - (Python standard library) Map filenames to MIME types. 118 | * [imghdr](https://docs.python.org/2/library/imghdr.html) - (Python standard library) Determine the type of an image. 119 | * [python-magic](https://github.com/ahupp/python-magic) - A Python interface to the libmagic file type identification library. 120 | * [path.py](https://github.com/jaraco/path.py) - A module wrapper for [os.path](https://docs.python.org/2/library/os.path.html). 121 | * [watchdog](https://github.com/gorakhargosh/watchdog) - API and shell utilities to monitor file system events. 122 | * [Unipath](https://github.com/mikeorr/Unipath) - An object-oriented approach to file/directory operations. 123 | * [pathlib](https://pathlib.readthedocs.org/en/pep428/) - An cross-platform, object-oriented path library (included in Python 3.4) 124 | 125 | ## Date and Time 126 | 127 | *Libraries for working with dates and times.* 128 | 129 | * [arrow](https://github.com/crsmithdev/arrow) - Better dates & times for Python. 130 | * [dateutil](https://pypi.python.org/pypi/python-dateutil) - Extensions to the standard Python [datetime](https://docs.python.org/2/library/datetime.html) module. 131 | * [delorean](https://github.com/myusuf3/delorean/) - A library for clearing up the inconvenient truths that arise dealing with datetimes in Python. 132 | * [when.py](https://github.com/dirn/When.py) - Providing user-friendly functions to help perform common date and time actions. 133 | * [moment](https://github.com/zachwill/moment) - A Python library for dealing with dates/times. Inspired by [Moment.js](http://momentjs.com/). 134 | 135 | ## Text Processing 136 | 137 | *Libraries for parsing and manipulating texts.* 138 | 139 | * General 140 | * [difflib](https://docs.python.org/2/library/difflib.html) - (Python standard library) Helpers for computing deltas. 141 | * [Levenshtein](https://github.com/ztane/python-Levenshtein/) - Fast computation of Levenshtein distance and string similarity. 142 | * [fuzzywuzzy](https://github.com/seatgeek/fuzzywuzzy) - Fuzzy String Matching. 143 | * [esmre](https://code.google.com/p/esmre/) - Regular expression accelerator. 144 | * [shortuuid](https://github.com/stochastic-technologies/shortuuid) - A generator library for concise, unambiguous and URL-safe UUIDs. 145 | * [python-slugify](https://github.com/un33k/python-slugify) - A Python slugify library that handles unicode. 146 | * [unicode-slugify](https://github.com/mozilla/unicode-slugify) - A slugifier that generates unicode slugs. Developed by Mozilla. 147 | * [unidecode](https://pypi.python.org/pypi/Unidecode) - ASCII transliterations of Unicode text. 148 | * [chardet](https://github.com/chardet/chardet) - Python 2/3 compatible character encoding detector. 149 | * [xpinyin](https://github.com/lxneng/xpinyin) - A library to translate Chinese hanzi (漢字) to pinyin (拼音). 150 | * [pangu.py](https://github.com/vinta/pangu.py) - Spacing texts for CJK and alphanumerics. 151 | * [pyfiglet](https://github.com/pwaller/pyfiglet) - An implementation of figlet written in Python. 152 | * Specific Formats 153 | * [tablib](https://github.com/kennethreitz/tablib) - A module for Tabular Datasets in XLS, CSV, JSON, YAML. 154 | * [python-docx](https://github.com/mikemaccana/python-docx) - Reads, queries and modifies Microsoft Word 2007/2008 docx files. 155 | * [xlwt](https://github.com/python-excel/xlwt) / [xlrd](https://github.com/python-excel/xlrd) - Packages is for writing and reading data and formatting information from Excel files. 156 | * [XlsxWriter](https://xlsxwriter.readthedocs.org/) - A Python module for creating Excel .xlsx files. 157 | * [mm](https://github.com/brianray/mm) - Python powered spreadsheets. 158 | * [PDFMiner](https://github.com/euske/pdfminer) - A tool for extracting information from PDF documents. 159 | * [PyPDF2](https://github.com/mstamy2/PyPDF2) - A pure Python PDF library capable of splitting, merging and transforming PDF pages. 160 | * [Python-Markdown](https://github.com/waylan/Python-Markdown) - A Python implementation of John Gruber’s Markdown. 161 | * [Mistune](https://github.com/lepture/mistune) - Fastest and full featured pure Python parsers of Markdown. 162 | * [PyYAML](http://pyyaml.org/) - YAML implementations for Python. 163 | * Parser 164 | * [phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) - Library for parsing, formatting, storing and validating international phone numbers. 165 | * [python-user-agents](https://github.com/selwin/python-user-agents) - Browser user agent parser. 166 | * [sqlparse](https://sqlparse.readthedocs.org/) - A non-validating SQL parser. 167 | * [Pygments](http://pygments.org/) - A generic syntax highlighter. 168 | * [python-nameparser](https://github.com/derek73/python-nameparser) - A simple Python module for parsing human names into their individual components. 169 | * [schema](https://github.com/halst/schema) - A library for validating Python data structures. 170 | 171 | ## Natural Language Processing 172 | 173 | *Libraries for working with human languages.* 174 | 175 | * [NLTK](http://www.nltk.org/) - A leading platform for building Python programs to work with human language data. 176 | * [Pattern](http://www.clips.ua.ac.be/pattern) - A web mining module for the Python programming language. It has tools for natural language processing, machine learning, among others. 177 | * [TextBlob](http://textblob.readthedocs.org/) - Providing a consistent API for diving into common natural language processing (NLP) tasks. Stands on the giant shoulders of NLTK and Pattern, and plays nicely with both. 178 | * [jieba](https://github.com/fxsjy/jieba#jieba-1) - Chinese Words Segementation Utilities. 179 | * [SnowNLP](https://github.com/isnowfy/snownlp) - A library for processing Chinese text. 180 | * [loso](https://github.com/victorlin/loso) - Another Chinese segmentation library. 181 | * [genius](https://github.com/duanhongyi/genius) - A Chinese segment base on Conditional Random Field. 182 | 183 | ## Documentation 184 | 185 | *Libraries for generating project documentation.* 186 | 187 | * [Sphinx](http://sphinx-doc.org/) - Python Documentation generator. 188 | * [reStructuredText](http://docutils.sourceforge.net/rst.html) - Markup Syntax and Parser Component of Docutils. 189 | * [MkDocs](http://www.mkdocs.org/) - Markdown friendly documentation generator. 190 | * [Pycco](http://fitzgen.github.io/pycco/) - The original quick-and-dirty, hundred-line- 191 | long, literate-programming-style documentation generator. 192 | 193 | ## Configuration 194 | 195 | *Libraries for storing configuration options.* 196 | 197 | * [ConfigParser](https://docs.python.org/2/library/configparser.html) - (Python standard library) INI file parser. 198 | * [ConfigObj](http://www.voidspace.org.uk/python/configobj.html) - INI file parser with validation. 199 | * [config](http://www.red-dove.com/config-doc/) - Hierarchical config from the author of [logging](https://docs.python.org/2/library/logging.html). 200 | * [profig](http://profig.readthedocs.org/) - Config from multiple formats with value conversion. 201 | 202 | ## Command-line Tools 203 | 204 | *Libraries for building command-line application.* 205 | 206 | * Command-line Application Development 207 | * [click](http://click.pocoo.org/) - A package for creating beautiful command line interfaces in a composable way. 208 | * [clint](https://github.com/kennethreitz/clint) - Python Command-line Application Tools. 209 | * [cliff](https://cliff.readthedocs.org/) - A framework for creating command-line programs with multi-level commands. 210 | * [Clime](http://clime.mosky.tw) – Clime lets you convert any module into a multi-command CLI program without any configuration. 211 | * [docopt](http://docopt.org/) - Pythonic command line arguments parser. 212 | * [colorama](https://pypi.python.org/pypi/colorama) - Cross-platform colored terminal text. 213 | * Productivity Tools 214 | * [httpie](https://github.com/jakubroztocil/httpie) - A command line HTTP client, a user-friendly cURL replacement. 215 | * [percol](https://github.com/mooz/percol) - Adds flavor of interactive selection to the traditional pipe concept on UNIX. 216 | 217 | ## Imagery 218 | 219 | *Libraries for manipulating images.* 220 | 221 | * [pillow](http://pillow.readthedocs.org/) - Pillow is the **friendly** PIL fork. PIL is the [Python Imaging Library](http://www.pythonware.com/products/pil/). 222 | * [wand](https://github.com/dahlia/wand) - Python bindings for [MagickWand](http://www.imagemagick.org/script/magick-wand.php), C API for ImageMagick. 223 | * [thumbor](https://github.com/thumbor/thumbor) - A smart imaging service. It enables on-demand crop, resizing and flipping of images. 224 | * [imgSeek](http://www.imgseek.net/) - A project for searching a collection of images using visual similarity. 225 | * [python-qrcode](https://github.com/lincolnloop/python-qrcode) - A pure Python QR Code generator. 226 | * [pyBarcode](https://pythonhosted.org/pyBarcode/) - Create barcodes in Python without needing PIL. 227 | * [pygram](https://github.com/ajkumar25/pygram) - Instagram-like image filters. 228 | * [Quads](https://github.com/fogleman/Quads) - Computer art based on quadtrees. 229 | * [nude.py](https://github.com/hhatto/nude.py) - Nudity detection. 230 | * [scikit-image](http://scikit-image.org/) - A Python library for (scientific) image processing. 231 | * [hmap](https://github.com/rossgoodwin/hmap) - Image histogram remapping. 232 | 233 | ## Audio 234 | 235 | *Libraries for manipulating audio.* 236 | 237 | * [django-elastic-transcoder](https://github.com/StreetVoice/django-elastic-transcoder) - Django + AWS Elastic Transcoder. 238 | * [beets](http://beets.radbox.org/) - A music library manager and [MusicBrainz](https://musicbrainz.org/) tagger. 239 | * [pyechonest](https://github.com/echonest/pyechonest) - Python client for the [Echo Nest](http://developer.echonest.com/docs/) API. 240 | * [dejavu](https://github.com/worldveil/dejavu) - Audio fingerprinting and recognition. 241 | * [pydub](https://github.com/jiaaro/pydub) - Manipulate audio with a simple and easy high level interface. 242 | * [audioread](https://github.com/sampsyo/audioread) - Cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding. 243 | * [mutagen](https://code.google.com/p/mutagen/) - A Python module to handle audio metadata. 244 | * [tinytag](https://github.com/devsnd/tinytag) - A library for reading music meta data of MP3, OGG, FLAC and Wave files. 245 | * [audiolazy](https://github.com/danilobellini/audiolazy) - Expressive Digital Signal Processing (DSP) package for Python. 246 | * [talkbox](http://scikits.appspot.com/talkbox) - A Python library for speech/signal processing. 247 | * [TimeSide](https://github.com/yomguy/TimeSide) - Open web audio processing framework. 248 | 249 | ## Video 250 | 251 | *Libraries for manipulating video and GIFs.* 252 | 253 | * [moviepy](http://zulko.github.io/moviepy/) - A module for script-based movie editing with many formats, including animated GIFs. 254 | * [shorten.tv](http://www.shorten.tv/) - Video summarization. 255 | * [scikit-video](https://github.com/aizvorski/scikit-video) - Video processing routines for SciPy. 256 | 257 | ## Geolocation 258 | 259 | *Libraries for geocoding addresses and working with latitudes and longitudes.* 260 | 261 | * [GeoDjango](https://docs.djangoproject.com/en/dev/ref/contrib/gis/) - A world-class geographic web framework. 262 | * [geopy](https://github.com/geopy/geopy) - Python Geocoding Toolbox. 263 | * [pygeoip](https://github.com/appliedsec/pygeoip) - Pure Python GeoIP API. 264 | * [GeoIP](https://github.com/maxmind/geoip-api-python) - Python API for MaxMind GeoIP Legacy Database. 265 | * [geojson](https://github.com/frewsxcv/python-geojson) - Python bindings and utlities for GeoJSON. 266 | 267 | ## HTTP 268 | 269 | *Libraries for working with HTTP.* 270 | 271 | * [requests](http://docs.python-requests.org/) - HTTP Requests for Humans™. 272 | * [urllib3](https://github.com/shazow/urllib3) - HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more. 273 | * [treq](https://github.com/dreid/treq) - Python requests like API built on top of Twisted's HTTP client. 274 | 275 | ## Database 276 | 277 | *Databases implemented in Python.* 278 | 279 | * [ZODB](http://www.zodb.org/) - A native object database for Python. A key-value and object graph database. 280 | 281 | ## Database Drivers 282 | 283 | *Libraties for connecting and operating databases.* 284 | 285 | * Relational Databases 286 | * [mysql-python](http://sourceforge.net/projects/mysql-python/) - The MySQL database connector for Python. 287 | * [mysql-connector-python](https://pypi.python.org/pypi/mysql-connector-python) - A pure Python MySQL driver from Oracle (in case you don't want or can't install system MySQL library) 288 | * [oursql](https://pythonhosted.org/oursql/) - A better MySQL connector for Python with support for native prepared statements and BLOBs. 289 | * [psycopg2](http://initd.org/psycopg/) - The most popular PostgreSQL adapter for the Python. 290 | * NoSQL Databases 291 | * [cassandra-python-driver](https://github.com/datastax/python-driver) - Python driver for Cassandra by Datastax. 292 | * [pycassa](https://github.com/pycassa/pycassa) - Python Thrift driver for Cassandra. 293 | * [PyMongo](http://docs.mongodb.org/ecosystem/drivers/python/) - The official Python client for MongoDB. 294 | * [redis-py](https://github.com/andymccurdy/redis-py) - The Redis Python Client. 295 | 296 | ## ORM 297 | 298 | *Libraries that implement Object-Relational Mapping or datamapping techniques.* 299 | 300 | * Relational Databases 301 | * [Django Models](https://docs.djangoproject.com/en/dev/topics/db/models/) - A part of Django. 302 | * [SQLAlchemy](http://www.sqlalchemy.org/) - The Python SQL Toolkit and Object Relational Mapper. 303 | * [peewee](https://github.com/coleifer/peewee) - A small, expressive ORM. 304 | * [PonyORM](http://ponyorm.com) - ORM that provides a generator-oriented interface to SQL. 305 | * NoSQL Databases 306 | * [MongoEngine](http://mongoengine.org/) - A Python Object-Document-Mapper for working with MongoDB. 307 | * [django-mongodb-engine](https://github.com/django-nonrel/mongodb-engine) - Django MongoDB Backend. 308 | * [redisco](https://github.com/kiddouk/redisco) - A Python Library for Simple Models and Containers Persisted in Redis. 309 | 310 | ## Web Frameworks 311 | 312 | *Full stack web frameworks.* 313 | 314 | * [Django](https://www.djangoproject.com/) - The most popular web framework in Python. 315 | * [Flask](http://flask.pocoo.org/) - A microframework for Python. 316 | * [Bottle](http://bottlepy.org/) - A fast, simple and lightweight WSGI micro web-framework. 317 | * [Pyramid](http://www.pylonsproject.org/) - A small, fast, down-to-earth, open source Python web framework. 318 | * [web2py](http://www.web2py.com) - A full stack web framework and platform focused in the ease of use. 319 | * [web.py](http://webpy.org/) - A web framework for Python that is as simple as it is powerful. 320 | * [TurboGears](http://www.turbogears.org/) - The Web Framework that scales with you. Starts as a microframework and scales up to a fullstack solution. 321 | * [CherryPy](http://www.cherrypy.org/) - A Minimalist Python Web Framework, HTTP/1.1-compliant and WSGI thread-pooled. 322 | * [Grok](http://grok.zope.org/) - A framework built on the existing Zope 3 libraries, offers a lot of building blocks for web development. 323 | * [Bluebream](http://bluebream.zope.org/) - An open-source web application server, framework and library, created by the Zope community and formerly known as Zope 3. 324 | * [guava](https://github.com/flatpeach/guava) - A lightweight and high performance web framework for Python written in C. 325 | 326 | ## Permissions 327 | 328 | *Libraries that allow or deny users access to data or functionality.* 329 | 330 | * [Django Guardian](https://github.com/lukaszb/django-guardian) - Implementation of per object permissions for Django 1.2+ 331 | * [Carteblanche](http://www.github.com/neuman/python-carteblanche/) - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions. 332 | 333 | ## CMS 334 | 335 | *Content management systems* 336 | 337 | * [Mezzanine](http://mezzanine.jupo.org/) - A powerful, consistent, and flexible content management platform. 338 | * [Wagtail](http://wagtail.io/) - A Django content management system. 339 | * [django-oscar](http://oscarcommerce.com/) - An open-source ecommerce framework for Django. 340 | * [Quokka CMS](http://quokkaproject.org) - Flexible, extensible, small CMS powered by Flask and MongoDB. 341 | * [Opps CMS](http://oppsproject.org/) - A Django-based CMS for magazines, newspapers websites and portals with high-traffic. 342 | * [Plone](http://plone.org/) - Content Management System built on top of the open source application server Zope and the accompanying Content Management Framework. 343 | * [django-cms](https://www.django-cms.org/en/) - An Open source enterprise content management system based on the django framework. 344 | 345 | ## RESTful API 346 | 347 | *Libraries for developing RESTful APIs.* 348 | 349 | * [cornice](https://cornice.readthedocs.org/) - A REST framework for Pyramid. 350 | * [django-rest-framework](http://www.django-rest-framework.org/) - A powerful and flexible toolkit that makes it easy to build Web APIs. 351 | * [django-tastypie](http://tastypieapi.org/) - Creating delicious APIs for Django apps. 352 | * [flask-api](http://www.flaskapi.org/) - An implementation of the same web browsable APIs that django-rest-framework provides. 353 | * [flask-restful](http://flask-restful.readthedocs.org/) - An extension for Flask that adds support for quickly building REST APIs. 354 | * [flask-api-utils](https://github.com/marselester/flask-api-utils) - Flask extension that takes care of API representation and authentication. 355 | * [falcon](http://falconframework.org/) - A high-performance Python framework for building cloud APIs and web app backends. 356 | * [eve](https://github.com/nicolaiarocci/eve) - REST API framework powered by Flask, MongoDB and good intentions. 357 | * [sandman](https://github.com/jeffknupp/sandman) - Automated REST APIs for existing database-driven systems. 358 | 359 | ## Authentication and OAuth 360 | 361 | *Libraries for implementing authentications schemes.* 362 | 363 | * [OAuthLib](https://github.com/idan/oauthlib) - A generic, spec-compliant, thorough implementation of the OAuth request-signing logic. 364 | * [rauth](https://github.com/litl/rauth) - A Python library for OAuth 1.0/a, 2.0, and Ofly. 365 | * [python-oauth2](https://github.com/simplegeo/python-oauth2) - A fully tested, abstract interface to creating OAuth clients and servers. 366 | * [python-social-auth](https://github.com/omab/python-social-auth) - An easy-to-setup social authentication mechanism. 367 | * [django-oauth-toolkit](https://github.com/evonove/django-oauth-toolkit) - OAuth2 goodies for the Djangonauts. 368 | * [django-oauth2-provider](https://github.com/caffeinehit/django-oauth2-provider) - Providing OAuth2 access to Django app. 369 | * [django-allauth](https://github.com/pennersr/django-allauth) - Authentication app for Django that "just works." 370 | * [Flask-OAuthlib](https://github.com/lepture/flask-oauthlib) - OAuth 1.0/a, 2.0 implementation of client and provider for Flask. 371 | * [sanction](https://github.com/demianbrecht/sanction) - A dead simple OAuth2 client implementation. 372 | * [jose](https://github.com/demonware/jose) - JavaScript Object Signing and Encryption (JOSE) draft implementation, useful for stateful tokens. 373 | 374 | ## Template Engine 375 | 376 | *Libraries and tools for templating and lexing.* 377 | 378 | * [Jinja2](https://github.com/mitsuhiko/jinja2) - A modern and designer friendly templating language. 379 | * [Genshi](http://genshi.edgewall.org/) - Python templating toolkit for generation of web-aware output. 380 | * [Mako](http://www.makotemplates.org/) - Hyperfast and lightweight templating for the Python platform. 381 | * [Chameleon](https://chameleon.readthedocs.org/) - Chameleon is an HTML/XML template engine for Python. Modeled after ZPT, optimized for speed. 382 | * [Spitfire](https://code.google.com/p/spitfire/) - A very fast Python template compiler. 383 | 384 | ## Queue 385 | 386 | *Libraries for working with event and task queues.* 387 | 388 | * [celery](http://www.celeryproject.org/) - An asynchronous task queue/job queue based on distributed message passing. 389 | * [huey](https://github.com/coleifer/huey) - Little multi-threaded task queue. 390 | * [mrq](https://github.com/pricingassistant/mrq) - Mr. Queue - A distributed worker task queue in Python using Redis & gevent. 391 | * [rq](http://python-rq.org/) - Simple job queues for Python. 392 | 393 | ## Search 394 | 395 | *Libraries and software for indexing and performing search queries on data.* 396 | 397 | * [django-haystack](https://github.com/toastdriven/django-haystack) - Modular search for Django. 398 | * [elasticsearch-py](http://www.elasticsearch.org/guide/en/elasticsearch/client/python-api/current/) - The official low-level Python client for [Elasticsearch](http://www.elasticsearch.org/). 399 | * [solrpy](https://code.google.com/p/solrpy/) - A Python client for [solr](http://lucene.apache.org/solr/). 400 | * [Whoosh](http://whoosh.readthedocs.org/) - A fast, pure Python search engine library. 401 | 402 | ## News Feed 403 | 404 | *Libraries for building user's activities.* 405 | 406 | * [Feedly](https://github.com/tschellenbach/Feedly) - A library which allows you to build newsfeed and notification systems using Cassandra and/or Redis. 407 | * [django-activity-stream](https://github.com/justquick/django-activity-stream) - Generate generic activity streams from the actions on your site. 408 | 409 | ## Asset Management 410 | 411 | *Tools for managing, compressing and minifying website assets.* 412 | 413 | * [django-compressor](https://github.com/django-compressor/django-compressor) - Compresses linked and inline javascript or CSS into a single cached file. 414 | * [webassets](http://webassets.readthedocs.org/en/latest/) - Bundles, optimizes, and manages unique cache-busting URLs for static resources. 415 | * [fanstatic](http://www.fanstatic.org/en/latest/) - Packages, optimizes, and serves static file dependencies as Python packages. 416 | * [fileconveyor](http://fileconveyor.org/) - Monitors changes, processes, and transports assets to CDNs and file storage systems. 417 | * [django-storages](http://code.larlet.fr/django-storages/) - A collection of custom storage backends for Django. 418 | * [glue](http://gluecss.com) - Glue is a simple command line tool to generate CSS sprites. 419 | 420 | ## Caching 421 | 422 | *Libraries for caching data.* 423 | 424 | * [Beaker Caching & Sessions](http://beaker.readthedocs.org/en/latest/) - Beaker is a library for caching and sessions for use with web applications and stand-alone Python scripts and applications. 425 | * [Dogpile Cache](http://dogpilecache.readthedocs.org/en/latest/) - Dogpile Cache is next generation replacement for Beaker made by same authors. 426 | * [HermesCache](https://pypi.python.org/pypi/HermesCache) - Python caching library with tag-based invalidation and dogpile effect prevention. 427 | 428 | ## Email 429 | 430 | *Libraries for sending and parsing email.* 431 | 432 | * [inbox.py](https://github.com/kennethreitz/inbox.py) - Python SMTP Server for Humans. 433 | * [imbox](https://github.com/martinrusev/imbox) - Python IMAP for Humans. 434 | * [inbox](https://github.com/inboxapp/inbox) - The open source email toolkit. 435 | * [lamson](https://github.com/zedshaw/lamson) - Pythonic SMTP Application Server. 436 | * [flanker](https://github.com/mailgun/flanker) - A email address and Mime parsing library. 437 | * [marrow.mailer](https://github.com/marrow/marrow.mailer) - High-performance extensible mail delivery framework. 438 | * [django-celery-ses](https://github.com/StreetVoice/django-celery-ses) - Django email backend with AWS SES and Celery. 439 | * [modoboa](https://github.com/tonioo/modoboa) - A mail hosting and management platform including a modern and simplified Web User Interface. 440 | * [envelopes](http://tomekwojcik.github.io/envelopes/) - Mailing for human beings. 441 | 442 | ## Internationalization 443 | 444 | *Libraries for woking with i18n.* 445 | 446 | * [Babel](http://babel.pocoo.org/) - An internationalization library for Python. 447 | 448 | ## URL Manipulation 449 | 450 | *Libraries for parsing URLs.* 451 | 452 | * [furl](https://github.com/gruns/furl) - A small Python library that makes manipulating URLs simple. 453 | * [purl](https://github.com/codeinthehole/purl) - A simple, immutable URL class with a clean API for interrogation and manipulation. 454 | * [pyshorteners](https://github.com/ellisonleao/pyshorteners) - A pure Python URL shortening lib. 455 | 456 | ## HTML Manipulation 457 | 458 | *Libraries for working with HTML and XML.* 459 | 460 | * [BeautifulSoup](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) - Providing Pythonic idioms for iterating, searching, and modifying HTML or XML. 461 | * [lxml](http://lxml.de/) - A very fast, easy-to-use and versatile library for handling HTML and XML. 462 | * [html5lib](https://github.com/html5lib/html5lib-python) - A standards-compliant library for parsing and serializing HTML documents and fragments. 463 | * [pyquery](https://github.com/gawel/pyquery) - A jQuery-like library for parsing HTML. 464 | * [cssutils](https://pypi.python.org/pypi/cssutils/) - A CSS library for Python. 465 | * [MarkupSafe](https://github.com/mitsuhiko/markupsafe) - Implements a XML/HTML/XHTML Markup safe string for Python. 466 | * [bleach](http://bleach.readthedocs.org/) - A whitelist-based HTML sanitization and text linkification library. 467 | * [xmltodict](https://github.com/martinblech/xmltodict) - Working with XML feel like you are working with JSON. 468 | * [xhtml2pdf](https://github.com/chrisglass/xhtml2pdf) - HTML/CSS to PDF converter. 469 | * [untangle](https://github.com/stchris/untangle) - Converts XML documents to Python objects for easy access. 470 | 471 | ## Web Crawling 472 | 473 | *Libraries for scraping websites.* 474 | 475 | * [Scrapy](http://scrapy.org/) - A fast high-level screen scraping and web crawling framework. 476 | * [portia](https://github.com/scrapinghub/portia) - Visual scraping for Scrapy. 477 | * [feedparser](http://pythonhosted.org/feedparser/) - Universal feed parser. 478 | * [RoboBrowser](https://github.com/jmcarp/robobrowser) - A simple, Pythonic library for browsing the web without a standalone web browser. 479 | 480 | ## Web Content Extracting 481 | 482 | *Libraries for extracting web contents.* 483 | 484 | * [newspaper](https://github.com/codelucas/newspaper) - News extraction, article extraction and content curation in Python. 485 | * [html2text](https://github.com/aaronsw/html2text) - Convert HTML to Markdown-formatted text. 486 | * [python-goose](https://github.com/grangier/python-goose) - HTML Content/Article Extractor. 487 | * [lassie](https://github.com/michaelhelmick/lassie) - Web Content Retrieval for Humans. 488 | * [micawber](https://github.com/coleifer/micawber) - A small library for extracting rich content from URLs. 489 | * [sumy](https://github.com/miso-belica/sumy) - A module for automatic summarization of text documents and HTML pages. 490 | * [Haul](https://github.com/vinta/Haul) - An Extensible Image Crawler. 491 | * [python-readability](https://github.com/buriy/python-readability) - Fast Python port of arc90's readability tool. 492 | * [opengraph](https://github.com/erikriver/opengraph) - A Python module to parse the Open Graph Protocol 493 | 494 | ## Downloader 495 | 496 | *Libraries for downloading.* 497 | 498 | * [s3cmd](https://github.com/s3tools/s3cmd) - A command line tool for managing Amazon S3 and CloudFront. 499 | * [youtube-dl](http://rg3.github.io/youtube-dl/) - A small command-line program to download videos from YouTube. 500 | * [you-get](http://www.soimort.org/you-get/) - A YouTube/Youku/Niconico video downloader written in Python 3. 501 | * [coursera](https://github.com/coursera-dl/coursera) - Script for downloading Coursera.org videos and naming them. 502 | * [WikiTeam](https://github.com/WikiTeam/wikiteam) - Tools for downloading and preserving wikis. 503 | 504 | ## Forms 505 | 506 | *Libraries for working with forms.* 507 | 508 | * [WTForms](http://wtforms.readthedocs.org/) - A flexible forms validation and rendering library. 509 | * [Deform](http://deform.readthedocs.org/) - Python HTML form generation library influenced by the formish form generation library. 510 | * [django-crispy-forms](http://django-crispy-forms.readthedocs.org/) - A Django app which lets you create beautiful forms in a very elegant and DRY way. 511 | * [django-remote-forms](https://github.com/WiserTogether/django-remote-forms) - A platform independent Django form serializer. 512 | 513 | ## Data Validation 514 | 515 | *Libraries for validating data. Used for forms in many cases.* 516 | 517 | * [voluptuous](https://github.com/alecthomas/voluptuous) - A Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc. 518 | * [dictshield](https://github.com/exfm/dictshield) - A fast way to validate and trim the values in a dictionary. 519 | * [colander](http://docs.pylonsproject.org/projects/colander/en/latest/index.html) - A system for validating and deserializing data obtained via XML, JSON, an HTML form post or any other equally simple data serialization. 520 | 521 | ## Anti-spam 522 | 523 | *Libraries for fighting spam.* 524 | 525 | * [Stopspam](https://github.com/phalt/stopspam) - Intelligent spam detection for Python. 526 | * [django-simple-spam-blocker](https://github.com/moqada/django-simple-spam-blocker) - Simple spam blocker for Django. 527 | * [django-simple-captcha](https://github.com/mbi/django-simple-captcha) - A simple and highly customizable Django app to add captcha images to any Django form. 528 | 529 | ## Tagging 530 | 531 | *Libraries for tagging items.* 532 | 533 | * [django-taggit](https://github.com/alex/django-taggit) - Simple tagging for Django. 534 | 535 | ## Admin Panels 536 | 537 | *Libraries for administrative interfaces.* 538 | 539 | * [Ajenti](https://github.com/Eugeny/ajenti) - The admin panel your servers deserve. 540 | * [Grappelli](http://grappelliproject.com) – A jazzy skin for the Django Admin-Interface. 541 | * [django-suit](http://djangosuit.com/) - Alternative Django Admin-Interface (free only for Non-commercial use). 542 | * [django-xadmin](https://github.com/sshwsfc/django-xadmin) - Drop-in replacement of Django admin comes with lots of goodies. 543 | * [flask-admin](https://github.com/mrjoes/flask-admin) - Simple and extensible administrative interface framework for Flask. 544 | * [flower](https://github.com/mher/flower) - Real-time monitor and web admin for Celery. 545 | 546 | ## Processes and Threads 547 | 548 | *Libraries for woking with processes or threads* 549 | 550 | * [multiprocessing](https://docs.python.org/2/library/multiprocessing.html) - (Python standard library) - Process-based "threading" interface. 551 | * [threading](https://docs.python.org/2/library/threading.html) - (Python standard library) Higher-level threading interface. 552 | * [envoy](https://github.com/kennethreitz/envoy) - Python Subprocesses for Humans™. 553 | * [sh](https://github.com/amoffat/sh) - A full-fledged [subprocess](https://docs.python.org/2/library/subprocess.html) replacement for Python. 554 | 555 | ## Networking 556 | 557 | *Libraries for network programming.* 558 | 559 | * [gevent](http://www.gevent.org/) - A coroutine-based Python networking library that uses [greenlet](https://github.com/python-greenlet/greenlet). 560 | * [Twisted](https://twistedmatrix.com/trac/) - An event-driven networking engine. 561 | * [Tornado](http://www.tornadoweb.org/) - A Web framework and asynchronous networking library. 562 | * [pulsar](https://github.com/quantmind/pulsar) - Event-driven concurrent framework for Python. 563 | * [diesel](https://github.com/jamwt/diesel) - Greenlet-based event I/O Framework for Python. 564 | * [eventlet](http://eventlet.net/) - Asynchronous framework with WSGI support. 565 | * [pyzmq](http://zeromq.github.io/pyzmq/) - A Python wrapper for the 0MQ message library. 566 | 567 | ## WebSocket 568 | 569 | *Libraries for woking with WebSocket.* 570 | 571 | * [AutobahnPython](https://github.com/tavendo/AutobahnPython) - WebSocket & WAMP for Python on Twisted and [asyncio](https://docs.python.org/3/library/asyncio.html). 572 | * [WebSocket-for-Python](https://github.com/Lawouach/WebSocket-for-Python) - WebSocket client and server library for Python 2 and 3 as well as PyPy. 573 | 574 | ## WSGI Servers 575 | 576 | *WSGI-compatible web servers.* 577 | 578 | * [wsgiref](http://docs.python.org/library/wsgiref.html) - (Python standard library) WSGI reference implementation, single-threaded. 579 | * [Werkzeug](http://werkzeug.pocoo.org/) - A WSGI utility library for Python that powers Flask and can easily be embedded into your own projects. 580 | * [paste](http://pythonpaste.org/) - Multi-threaded, stable, tried and tested. 581 | * [rocket](http://pypi.python.org/pypi/rocket) - Multi-threaded. 582 | * [waitress](https://waitress.readthedocs.org/en/latest/) - Multi-threaded, poweres Pyramid. 583 | * [gunicorn](http://pypi.python.org/pypi/gunicorn) - Pre-forked, partly written in C. 584 | * [fapws3](http://www.fapws.org/) - Asynchronous (network side only), written in C. 585 | * [meinheld](http://pypi.python.org/pypi/meinheld) - Asynchronous, partly written in C. 586 | * [bjoern](http://pypi.python.org/pypi/bjoern) - Asynchronous, very fast and written in C. 587 | 588 | ## Cryptography 589 | 590 | * [PyCA's Cryptography](https://cryptography.io/en/latest/) - cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. 591 | 592 | ## GUI 593 | 594 | *Libraries for working with graphical user interface applications.* 595 | 596 | * [PyQt](http://www.riverbankcomputing.co.uk/software/pyqt/intro) - Python bindings for the [Qt](http://qt-project.org/) cross-platform application and UI framework, with support for both Qt v4 and Qt v5 frameworks. 597 | * [PySide](http://qt-project.org/wiki/pyside) - Python bindings for the [Qt](http://qt-project.org/) cross-platform application and UI framework, supporting the Qt v4 framework. 598 | * [wxPython](http://wxpython.org/) - A blending of the wxWidgets C++ class library with the Python. 599 | * [kivy](http://kivy.org/) - A library for creating NUI applications, running on Windows, Linux, Mac OS X, Android and iOS. 600 | * [curses](https://docs.python.org/2/library/curses.html#module-curses) - Built-in wrapper for [ncurses](http://www.gnu.org/software/ncurses/) used to create terminal GUI applications. 601 | * [urwid](http://urwid.org/) - A library for creating terminal GUI applications with strong support for widgets, events, rich colors, etc. 602 | * [pyglet](http://www.pyglet.org/) - A cross-platform windowing and multimedia library for Python. 603 | * [Tkinter](https://wiki.python.org/moin/TkInter) - Tkinter is Python's de-facto standard GUI package. 604 | 605 | ## Game Development 606 | 607 | *Awesome game development libraries.* 608 | 609 | * [Pygame](http://www.pygame.org/news.html) - Pygame is a set of Python modules designed for writing games. 610 | * [Cocos2d](http://cocos2d.org/) - cocos2d is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on pyglet. 611 | * [PySDL2](http://pysdl2.readthedocs.org/en/latest/) - A ctypes based wrapper for the SDL2 library. 612 | * [Panda3D](https://www.panda3d.org/) - 3D game engine developed by Disney and maintained by Carnegie Mellon's Entertainment Technology Center. Written in C++, completely wrapped in Python. 613 | * [PyOgre](http://www.ogre3d.org/tikiwiki/PyOgre) - Python bindings for the Ogre 3D render engine, can be used for games, simulations, anything 3D. 614 | * [PyOpenGL](http://pyopengl.sourceforge.net/) - Python ctypes bindings for OpenGL and it's related APIs. 615 | 616 | ## Logging 617 | 618 | *Libraries for generating and working with log files.* 619 | 620 | * [logging](https://docs.python.org/2/library/logging.html) - (Python standard library) Logging facility for Python. 621 | * [logbook](http://pythonhosted.org/Logbook/) - Logging replacement for Python. 622 | * [Sentry](https://pypi.python.org/pypi/sentry) - A realtime logging and aggregation server. 623 | * [Raven](http://raven.readthedocs.org/) - The Python client for Sentry. 624 | 625 | ## Testing 626 | 627 | *Libraries for testing codebases and generating test data.* 628 | 629 | * Testing Frameworks 630 | * [unittest](https://docs.python.org/2/library/unittest.html) - (Python standard library) Unit testing framework. 631 | * [nose](https://nose.readthedocs.org/) - nose extends unittest. 632 | * [pytest](http://pytest.org/) - A mature full-featured Python testing tool. 633 | * [mamba](https://nestorsalceda.github.io/mamba) - The definitive testing tool for Python. Born under the banner of Behavior Driven Development (BDD). 634 | * [contexts](https://github.com/benjamin-hodgson/Contexts) - A modern and flexible _Behaviour-Driven-Development_ framework for Python 3.3 and above, inspired by C#'s `Machine.Specifications`. 635 | * Mock 636 | * [mock](https://pypi.python.org/pypi/mock) - A Python Mocking and Patching Library for Testing. 637 | * [responses](https://github.com/dropbox/responses) - A utility library for mocking out the requests Python library. 638 | * [doublex](https://pypi.python.org/pypi/doublex) - Powerful test doubles framework for Python. 639 | * Fake Data 640 | * [faker](http://www.joke2k.net/faker/) - A Python package that generates fake data. 641 | * [mixer](https://mixer.readthedocs.org) - Generating fake data and creating random fixtures for testing in Django ORM, SQLAlchemy, Peewee, MongoEngine, Pony ORM and etc. 642 | * [model_mommy](https://model-mommy.readthedocs.org/) - Creating random fixtures for testing in Django. 643 | * Code Coverage 644 | * [coverage](https://pypi.python.org/pypi/coverage) - Code coverage measurement. 645 | * Load Testing 646 | * [locust](https://github.com/locustio/locust) - Scalable user load testing tool written in Python. 647 | * Error Handler 648 | * [FuckIt.py](https://github.com/ajalt/fuckitpy) - FuckIt.py uses state-of-the-art technology to make sure your Python code runs whether it has any right to or not. 649 | 650 | ## Code Analysis and Linter 651 | 652 | *Libraries and tools for analysing, parsing and manipulation codebases.* 653 | 654 | * [pysonar2](https://github.com/yinwang0/pysonar2) - A type inferencer and indexer for Python. 655 | * [Flake8](https://pypi.python.org/pypi/flake8) - The modular source code checker: pep8, pyflakes and co. 656 | * [Pylint](http://www.pylint.org/) - A source code analyzer. 657 | * [pycallgraph](https://github.com/gak/pycallgraph) - Creates call graph visualizations for Python applications. 658 | * [pylama](https://pylama.readthedocs.org/) - The modular source code checker: pep8, pyflakes, pylint and co. 659 | 660 | ## Debugging Tools 661 | 662 | *Libraries for dubugging and developing.* 663 | 664 | * [pdb](https://docs.python.org/2/library/pdb.html) - (Python standard library) The Python Debugger. 665 | * [ipdb](https://pypi.python.org/pypi/ipdb) - IPython-enabled pdb. 666 | * [winpdb](http://winpdb.org/) - A Platform Independent Python Debugger with GUI. 667 | * [pudb](https://pypi.python.org/pypi/pudb) – A full-screen, console-based Python debugger. 668 | * [pyringe](https://github.com/google/pyringe) - Debugger capable of attaching to and injecting code into Python processes. 669 | * [memory_profiler](https://github.com/fabianp/memory_profiler) - Monitor Memory usage of Python code. 670 | * [django-debug-toolbar](https://github.com/django-debug-toolbar/django-debug-toolbar) - Display various debug information about the current request/response. 671 | * [django-devserver](https://github.com/dcramer/django-devserver) - A drop-in replacement for Django's runserver. 672 | 673 | ## Science and Data Analysis 674 | 675 | *Libraries for scientific computing and data analyzing.* 676 | 677 | * [SciPy](http://www.scipy.org/) - A Python-based ecosystem of open-source software for mathematics, science, and engineering. 678 | * [NumPy](http://www.numpy.org/) - A fundamental package for scientific computing with Python. 679 | * [Numba](http://numba.pydata.org/) - Python JIT (just in time) complier to LLVM aimed at scientific Python by the developers of Cython and NumPy. 680 | * [NetworkX](https://networkx.github.io/) - A high-productivity software for complex networks. 681 | * [Pandas](http://pandas.pydata.org/) - A library providing high-performance, easy-to-use data structures and data analysis tools. 682 | * [Open Mining](https://github.com/avelino/mining) - Business Intelligence (BI) in Python (Pandas web interface) 683 | * [PyMC](https://github.com/pymc-devs/pymc) - Markov Chain Monte Carlo sampling toolkit. 684 | * [zipline](https://github.com/quantopian/zipline) - A Pythonic algorithmic trading library. 685 | * [PyDy](https://pydy.org/) - Short for Python Dynamics, used to assist with workflow in the modeling of dynamic motion based around NumPy, SciPy, IPython, and matplotlib. 686 | * [SymPy](https://github.com/sympy/sympy) - A Python library for symbolic mathematics. 687 | * [statsmodels](https://github.com/statsmodels/statsmodels) - Statistical modeling and econometrics in Python. 688 | * [astropy](http://www.astropy.org/) - A community Python library for Astronomy. 689 | 690 | ## Data Visualization 691 | 692 | *Libraries for visualizing data.* 693 | 694 | * [matplotlib](http://matplotlib.org/) - A Python 2D plotting library. 695 | * [bokeh](https://github.com/ContinuumIO/bokeh) - Interactive Web Plotting for Python. 696 | * [plotly](https://plot.ly/python) - Collaborative web plotting for Python and matplotlib. 697 | * [vincent](https://github.com/wrobstory/vincent) - A Python to Vega translator. 698 | * [d3py](https://github.com/mikedewar/d3py) - A plottling library for Python, based on [D3.js](http://d3js.org/). 699 | * [ggplot](https://github.com/yhat/ggplot) - Same API as ggplot2 for R. 700 | * [Kartograph.py](https://github.com/kartograph/kartograph.py) - Rendering beautiful SVG maps in Python. 701 | 702 | ## Machine Learning 703 | 704 | *Libraries for Machine Learning.* 705 | 706 | * [scikit-learn](http://scikit-learn.org/) - A Python module for machine learning built on top of SciPy. 707 | * [pattern](https://github.com/clips/pattern) - Web mining module for Python. 708 | * [NuPIC](https://github.com/numenta/nupic) - Numenta Platform for Intelligent Computing. 709 | * [Pylearn2](https://github.com/lisa-lab/pylearn2) - A Machine Learning library based on [Theano](https://github.com/Theano/Theano). 710 | * [hebel](https://github.com/hannes-brt/hebel) - GPU-Accelerated Deep Learning Library in Python. 711 | * [gensim](https://github.com/piskvorky/gensim) - Topic Modelling for Humans. 712 | * [PyBrain](https://github.com/pybrain/pybrain) - Another Python Machine Learning Library. 713 | * [Crab](https://github.com/muricoca/crab) - A flexible, fast recommender engine. 714 | * [python-recsys](https://github.com/ocelma/python-recsys) - A Python library for implementing a Recommender System. 715 | 716 | ## MapReduce 717 | 718 | *Framworks and libraries for MapReduce.* 719 | 720 | * [PySpark](http://spark.apache.org/docs/latest/programming-guide.html) - The Spark Python API. 721 | * [dpark](https://github.com/douban/dpark) - Python clone of Spark, a MapReduce alike framework in Python. 722 | * [luigi](https://github.com/spotify/luigi) - A module that helps you build complex pipelines of batch jobs. 723 | * [mrjob](https://github.com/Yelp/mrjob) - Run MapReduce jobs on Hadoop or Amazon Web Services. 724 | * [dumbo](https://github.com/klbostee/dumbo) - Python module that allows one to easily write and run Hadoop programs. 725 | * [streamparse](https://github.com/Parsely/streamparse) - Run Python code against real-time streams of data. Integrates with [Apache Storm](https://storm.incubator.apache.org/). 726 | 727 | ## Functional Programming 728 | 729 | * [fn.py](https://github.com/kachayev/fn.py) - Functional programming in Python: implementation of missing features to enjoy FP. 730 | * [funcy](https://github.com/Suor/funcy) - A fancy and practical functional tools. 731 | 732 | ## Third-party APIs 733 | 734 | *Libraries for accessing third party APIs.* 735 | 736 | * [apache-libcloud](https://libcloud.apache.org/) - One Python library for all clouds. 737 | * [boto](https://github.com/boto/boto) - Python interface to Amazon Web Services. 738 | * [twython](https://github.com/ryanmcgrath/twython) - A Python wrapper for the Twitter API. 739 | * [soundcloud-python](https://github.com/soundcloud/soundcloud-python) - A Python wrapper around the Soundcloud API. 740 | * [google-api-python-client](https://github.com/google/google-api-python-client) - Google APIs Client Library for Python. 741 | * [facebook-sdk](https://github.com/pythonforfacebook/facebook-sdk) - Facebook Platform Python SDK. 742 | * [facepy](https://github.com/jgorset/facepy) - Facepy makes it really easy to interact with Facebook's Graph API 743 | * [Wikipedia](https://wikipedia.readthedocs.org/en/latest/) - A Pythonic wrapper for the Wikipedia API. 744 | * [python-instagram](https://github.com/Instagram/python-instagram) - A Python Client for Instagram API. 745 | * [gmail](https://github.com/charlierguo/gmail) - A Pythonic interface for Gmail. 746 | * [praw](https://github.com/praw-dev/praw) - A Python wrapper for the Reddit API. 747 | * [linkedin](https://github.com/ozgur/python-linkedin) - A Python interface for LinkedIn. 748 | 749 | ## DevOps Tools 750 | 751 | *Software and libraries for DevOps.* 752 | 753 | * [OpenStack](http://www.openstack.org/) - Open source software for building private and public clouds. 754 | * [Ansible](http://www.ansible.com/) - An IT automation tool. 755 | * [SaltStack](http://www.saltstack.com/community/) - Infrastructure automation and management system. 756 | * [Fabric](http://www.fabfile.org/) - Tool for streamlining the use of SSH for application deployment or systems administration tasks. 757 | * [Fabtools](https://github.com/ronnix/fabtools) - Tools for writing awesome Fabric files. 758 | * [Plan](https://github.com/fengsp/plan) - Writing crontab file in Python like a charm. 759 | * [cuisine](https://github.com/sebastien/cuisine) - Chef-like functionality for Fabric. 760 | * [doit](http://pydoit.org/) - A task runner/build tool. 761 | * [psutil](https://github.com/giampaolo/psutil) - A cross-platform process and system utilities module. 762 | * [pexpect](https://github.com/pexpect/pexpect) - A Python module for controlling interactive programs in a pseudo-terminal like GNU expect. 763 | * [provy](https://github.com/python-provy/provy) - An easy-to-use provisioning system in Python. 764 | 765 | ## Workflow Execution 766 | 767 | *Libraries that enable workflows to be executed (remotely or locally).* 768 | 769 | * [TaskFlow](http://docs.openstack.org/developer/taskflow/) - A Python library that helps to make task execution easy, consistent and reliable. 770 | * [Joblib](http://pythonhosted.org/joblib/index.html) - A set of tools to provide lightweight pipelining in Python. 771 | * [Luigi](https://github.com/spotify/luigi) - A Python module that helps you build complex pipelines of batch jobs. 772 | * [Spiff](https://github.com/knipknap/SpiffWorkflow) - A powerful workflow engine implemented in pure Python. 773 | 774 | ## Foreign Function Interface 775 | 776 | *Libraries for providing foreign function interface.* 777 | 778 | * [ctypes](https://docs.python.org/2/library/ctypes.html) - (Python standard library) Foreign Function Interface for Python calling C code. 779 | * [cffi](https://pypi.python.org/pypi/cffi) - Foreign Function Interface for Python calling C code. 780 | * [SWIG](http://www.swig.org/Doc1.3/Python.html) - Simplified Wrapper and Interface Generator. 781 | 782 | ## High Performance 783 | 784 | *Libraries for making Python faster.* 785 | 786 | * [Cython](http://cython.org/) - Optimizing Static Complier for Python. Uses type mixins to compile Python into C or C++ modules resulting in large performance gains. 787 | * [PyPy](http://pypy.org/) - An implementation of Python in Python. The interpreter uses black magic to make Python very fast without having to add in additional type information. 788 | * [Stackless Python](http://www.stackless.com/) - An enhanced version of the Python. 789 | * [Pyston](https://github.com/dropbox/pyston) - A Python implementation built using LLVM and modern JIT techniques with the goal of achieving good performance. 790 | 791 | ## Algorithms and Design Patterns 792 | 793 | *Collections of algorithms and design patterns.* 794 | 795 | * [python-patterns](https://github.com/faif/python-patterns) - A collection of design patterns in Python. 796 | * [algorithms](https://github.com/nryoung/algorithms) - module of algorithms for Python. 797 | 798 | ## Hardware 799 | 800 | *Libraries for programming with hardware.* 801 | 802 | * [wifi](https://wifi.readthedocs.org/) - A Python library and command line tool for working with WiFi on Linux. 803 | 804 | ## Miscellaneous 805 | 806 | *Useful libraries or tools that don't fit in the categories above.* 807 | 808 | * [IPython](https://github.com/ipython/ipython) - IPython provides a rich toolkit to help you make the most out of using Python interactively. 809 | * [bpython](http://bpython-interpreter.org) – A fancy interface to the Python interpreter for Linux, BSD, OS X and Windows (with some work). 810 | * [pluginbase](https://github.com/mitsuhiko/pluginbase) - A simple but flexible plugin system for Python. 811 | * [itsdangerous](https://github.com/mitsuhiko/itsdangerous) - Various helpers to pass trusted data to untrusted environments. 812 | * [blinker](https://github.com/jek/blinker) - A fast Python in-process signal/event dispatching system. 813 | 814 | ## Editor Plugins 815 | 816 | *Plugins for various editors.* 817 | 818 | * Vim 819 | * [Python-mode](https://github.com/klen/python-mode) - An all in one plugin for turning Vim into a Python IDE. 820 | * [Jedi-vim](https://github.com/davidhalter/jedi-vim) - Vim bindings for the [Jedi](https://github.com/davidhalter/jedi) autocompletion library for Python. 821 | * Emacs 822 | * [Elpy](https://github.com/jorgenschaefer/elpy) - Emacs Python Development Environment. 823 | * Sublime Text 824 | * [SublimeJEDI](https://github.com/srusskih/SublimeJEDI) - A Sublime Text plugin to the awesome autocomplete library [Jedi](https://github.com/davidhalter/jedi). 825 | * [Anaconda](https://github.com/DamnWidget/anaconda) - Anaconda turns your Sublime Text 3 in a full featured Python development IDE. 826 | * [Djaneiro](https://github.com/squ1b3r/Djaneiro) - Django support for Sublime Text. 827 | 828 | # Resources 829 | 830 | Where to discover new Python libraries. 831 | 832 | ## Websites 833 | 834 | * [r/Python](http://www.reddit.com/r/python) - News about Python. 835 | * [Python 3 Wall of Superpowers](http://python3wos.appspot.com/) - Too many popular Python packages don't support Python 3. 836 | * [Trending Python repositories on GitHub today](https://github.com/trending?l=python) - Good place to find new Python libraries. 837 | * [Django Packages](https://www.djangopackages.com/) - A directory of reusable apps, sites, tools, and more for Django projects. 838 | 839 | ## Weekly 840 | 841 | * [Pycoder's Weekly](http://pycoders.com/) - A free weekly newsletter, on Fridays, for those interested in Python development and various topics around Python. 842 | * [Python Weekly](http://www.pythonweekly.com/) - A free weekly newsletter featuring curated news, articles, new releases, jobs etc related to Python. 843 | 844 | ## Twitter 845 | 846 | * [@pypi](https://twitter.com/pypi) 847 | * [@planetpython](https://twitter.com/planetpython) 848 | * [@getpy](https://twitter.com/getpy) 849 | * [@pycoders](https://twitter.com/pycoders) 850 | * [@PythonWeekly](https://twitter.com/PythonWeekly) 851 | * [@pythontrending](https://twitter.com/pythontrending) 852 | 853 | # Contributing 854 | 855 | Your contributions are always welcome! 856 | -------------------------------------------------------------------------------- /sort.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | The approach taken is explained below. I decided to do it simply. 5 | Initially I was considering parsing the data into some sort of 6 | structure and then generating an appropriate README. I am still 7 | considering doing it - but for now this should work. The only issue 8 | I see is that it only sorts the entries at the lowest level, and that 9 | the order of the top-level contents do not match the order of the actual 10 | entries. 11 | 12 | This could be extended by having nested blocks, sorting them recursively 13 | and flattening the end structure into a list of lines. Revision 2 maybe ^.^. 14 | """ 15 | 16 | 17 | def main(): 18 | # First, we load the current README into memory as an array of lines 19 | with open('README.md', 'r') as read_me_file: 20 | read_me = read_me_file.readlines() 21 | 22 | # Then we cluster the lines together as blocks 23 | # Each block represents a collection of lines that should be sorted 24 | # This was done by assuming only links ([...](...)) are meant to be sorted 25 | # Clustering is done by indentation 26 | blocks = [] 27 | last_indent = None 28 | for line in read_me: 29 | s_line = line.lstrip() 30 | indent = len(line) - len(s_line) 31 | 32 | if any([s_line.startswith(s) for s in ['* [', '- [']]): 33 | if indent == last_indent: 34 | blocks[-1].append(line) 35 | else: 36 | blocks.append([line]) 37 | last_indent = indent 38 | else: 39 | blocks.append([line]) 40 | last_indent = None 41 | 42 | with open('README.md', 'w+') as sorted_file: 43 | # Then all of the blocks are sorted individually 44 | blocks = [''.join(sorted(block, key=lambda s: s.lower())) for block in blocks] 45 | # And the result is written back to README.md 46 | sorted_file.write(''.join(blocks)) 47 | 48 | 49 | if __name__ == "__main__": 50 | main() 51 | --------------------------------------------------------------------------------