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