├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md └── sort.py /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.py[co] 3 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Your contributions are always welcome! 4 | 5 | ## Guidelines 6 | 7 | * Add section if needed. 8 | * Add section description. 9 | * Add section title to Table of contents. 10 | * Search previous suggestions before making a new one, as yours may be a duplicate. 11 | * Add your links: `* [project-name](http://example.com/) - A short description ends with a dot.` 12 | * Don't mention `Python` in the description as it's implied. 13 | * Check your spelling and grammar. 14 | * Make sure your text editor is set to remove trailing whitespace. 15 | * Send a Pull Request. 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution 4.0 International License (CC BY 4.0) 2 | 3 | http://creativecommons.org/licenses/by/4.0/ 4 | -------------------------------------------------------------------------------- /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 | - [Package Repositories](#package-repositories) 9 | - [Distribution](#distribution) 10 | - [Build Tools](#build-tools) 11 | - [Interactive Interpreter](#interactive-interpreter) 12 | - [Files](#files) 13 | - [Date and Time](#date-and-time) 14 | - [Text Processing](#text-processing) 15 | - [Specific Formats Processing](#specific-formats-processing) 16 | - [Natural Language Processing](#natural-language-processing) 17 | - [Documentation](#documentation) 18 | - [Configuration](#configuration) 19 | - [Command-line Tools](#command-line-tools) 20 | - [Downloader](#downloader) 21 | - [Imagery](#imagery) 22 | - [OCR](#ocr) 23 | - [Audio](#audio) 24 | - [Video](#video) 25 | - [Geolocation](#geolocation) 26 | - [HTTP](#http) 27 | - [Database](#database) 28 | - [Database Drivers](#database-drivers) 29 | - [ORM](#orm) 30 | - [Web Frameworks](#web-frameworks) 31 | - [Permissions](#permissions) 32 | - [CMS](#cms) 33 | - [E-commerce](#e-commerce) 34 | - [RESTful API](#restful-api) 35 | - [Authentication](#authentication) 36 | - [Template Engine](#template-engine) 37 | - [Queue](#queue) 38 | - [Search](#search) 39 | - [News Feed](#news-feed) 40 | - [Asset Management](#asset-management) 41 | - [Caching](#caching) 42 | - [Email](#email) 43 | - [Internationalization](#internationalization) 44 | - [URL Manipulation](#url-manipulation) 45 | - [HTML Manipulation](#html-manipulation) 46 | - [Web Crawling](#web-crawling) 47 | - [Web Content Extracting](#web-content-extracting) 48 | - [Forms](#forms) 49 | - [Data Validation](#data-validation) 50 | - [Anti-spam](#anti-spam) 51 | - [Tagging](#tagging) 52 | - [Admin Panels](#admin-panels) 53 | - [Static Site Generator](#static-site-generator) 54 | - [Processes and Threads](#processes-and-threads) 55 | - [Concurrency and Networking](#concurrency-and-networking) 56 | - [WebSocket](#websocket) 57 | - [WSGI Servers](#wsgi-servers) 58 | - [RPC Servers](#rpc-servers) 59 | - [Cryptography](#cryptography) 60 | - [GUI](#gui) 61 | - [Game Development](#game-development) 62 | - [Logging](#logging) 63 | - [Testing](#testing) 64 | - [Code Analysis and Linter](#code-analysis-and-linter) 65 | - [Debugging Tools](#debugging-tools) 66 | - [Science and Data Analysis](#science-and-data-analysis) 67 | - [Data Visualization](#data-visualization) 68 | - [Computer Vision](#computer-vision) 69 | - [Machine Learning](#machine-learning) 70 | - [Functional Programming](#functional-programming) 71 | - [MapReduce](#mapreduce) 72 | - [Third-party APIs](#third-party-apis) 73 | - [DevOps Tools](#devops-tools) 74 | - [Job Scheduler](#job-scheduler) 75 | - [Foreign Function Interface](#foreign-function-interface) 76 | - [High Performance](#high-performance) 77 | - [Network Virtualization and SDN](#network-virtualization-and-sdn) 78 | - [Hardware](#hardware) 79 | - [Compatibility](#compatibility) 80 | - [Miscellaneous](#miscellaneous) 81 | - [Algorithms and Design Patterns](#algorithms-and-design-patterns) 82 | - [Editor Plugins](#editor-plugins) 83 | - [Resources](#resources) 84 | - [Websites](#websites) 85 | - [Weekly](#weekly) 86 | - [Twitter](#twitter) 87 | - [Other Awesome Lists](#other-awesome-lists) 88 | - [Contributing](#contributing) 89 | 90 | --- 91 | 92 | ## Environment Management 93 | 94 | *Libraries for Python version and environment management.* 95 | 96 | * [pyenv](https://github.com/yyuu/pyenv) - Simple Python version management. 97 | * [virtualenv](https://pypi.python.org/pypi/virtualenv) - A tool to create isolated Python environments. 98 | * [virtualenvwrapper](https://pypi.python.org/pypi/virtualenvwrapper) - A set of extensions to virtualenv. 99 | * [virtualenv-api](https://github.com/sjkingo/virtualenv-api) - An API for virtualenv and pip. 100 | * [pew](https://pypi.python.org/pypi/pew/) - A set of tools to manage multiple virtual environments. 101 | * [Vex](https://github.com/sashahart/vex) - Run a command in the named virtualenv. 102 | * [PyRun](https://www.egenix.com/products/python/PyRun/) - A one-file, no-installation-needed version of Python. 103 | 104 | ## Package Management 105 | 106 | *Libraries for package and dependency management.* 107 | 108 | * [pip](https://pip.pypa.io/) - The Python package and dependency manager. 109 | * [Python Package Index](https://pypi.python.org/pypi) 110 | * [conda](https://github.com/conda/conda/) - Cross-platform, Python-agnostic binary package manager. 111 | * [Curdling](http://clarete.li/curdling/) - Curdling is a command line tool for managing Python packages. 112 | * [wheel](http://pythonwheels.com/) - The new standard of Python distribution and are intended to replace eggs. 113 | 114 | ## Package Repositories 115 | 116 | *Local PyPI repository server and proxies.* 117 | 118 | * [warehouse](https://github.com/pypa/warehouse) - Next generation Python Package Repository (PyPI). 119 | * [Warehouse](https://warehouse.python.org/) 120 | * [devpi](http://doc.devpi.net/) - PyPI server and packaging/testing/release tool. 121 | * [localshop](https://github.com/mvantellingen/localshop) - PyPI server which mirrors official packages on-demand, and also supports local (private) package uploads. 122 | 123 | ## Distribution 124 | 125 | *Libraries to create packaged executables for release distribution.* 126 | 127 | * [cx-Freeze](http://cx-freeze.readthedocs.org/) - Freezes Python scripts (cross-platform). 128 | * [py2exe](http://www.py2exe.org/) - Freezes Python scripts (Windows). 129 | * [pynsist](http://pynsist.readthedocs.org/) - A tool to build Windows installers, installers bundle Python itself. 130 | * [py2app](http://pythonhosted.org/py2app/) - Freezes Python scripts (Mac OS X). 131 | * [PyInstaller](http://www.pyinstaller.org/) - Converts Python programs into stand-alone executables (cross-platform). 132 | * [dh-virtualenv](http://dh-virtualenv.readthedocs.org/) - Build and distribute a virtualenv as a Debian package. 133 | * [Nuitka](http://nuitka.net/) - Compile scripts, modules, packages to an executable or extension module. 134 | 135 | ## Build Tools 136 | 137 | *Compile software from source code.* 138 | 139 | * [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. 140 | * [SCons](http://www.scons.org/) - A software construction tool. 141 | * [PlatformIO](https://github.com/ivankravets/platformio) - A console tool to build code with different development platforms. 142 | * [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. 143 | * [fabricate](https://code.google.com/p/fabricate/) - A build tool that finds dependencies automatically for any language. 144 | 145 | ## Interactive Interpreter 146 | 147 | *Interactive Python interpreters (REPL).* 148 | 149 | * [IPython](https://github.com/ipython/ipython) - A rich toolkit to help you make the most out of using Python interactively. 150 | * [bpython](http://bpython-interpreter.org) – A fancy interface to the Python interpreter. 151 | * [ptpython](https://github.com/jonathanslenders/ptpython) - Advanced Python REPL built on top of the [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit). 152 | 153 | ## Files 154 | 155 | *Libraries for file manipulation and MIME type detection.* 156 | 157 | * [mimetypes](https://docs.python.org/2/library/mimetypes.html) - (Python standard library) Map filenames to MIME types. 158 | * [imghdr](https://docs.python.org/2/library/imghdr.html) - (Python standard library) Determine the type of an image. 159 | * [python-magic](https://github.com/ahupp/python-magic) - A Python interface to the libmagic file type identification library. 160 | * [path.py](https://github.com/jaraco/path.py) - A module wrapper for [os.path](https://docs.python.org/2/library/os.path.html). 161 | * [watchdog](https://github.com/gorakhargosh/watchdog) - API and shell utilities to monitor file system events. 162 | * [Unipath](https://github.com/mikeorr/Unipath) - An object-oriented approach to file/directory operations. 163 | * [pathlib](https://pathlib.readthedocs.org/en/pep428/) - (Python standard library in Python 3.4+) An cross-platform, object-oriented path library. 164 | 165 | ## Date and Time 166 | 167 | *Libraries for working with dates and times.* 168 | 169 | * [arrow](https://github.com/crsmithdev/arrow) - Better dates & times for Python. 170 | * [Chronyk](https://github.com/KoffeinFlummi/Chronyk) - A Python 3 library for parsing human-written times and dates. 171 | * [dateutil](https://pypi.python.org/pypi/python-dateutil) - Extensions to the standard Python [datetime](https://docs.python.org/2/library/datetime.html) module. 172 | * [delorean](https://github.com/myusuf3/delorean/) - A library for clearing up the inconvenient truths that arise dealing with datetimes. 173 | * [when.py](https://github.com/dirn/When.py) - Providing user-friendly functions to help perform common date and time actions. 174 | * [moment](https://github.com/zachwill/moment) - A Python library for dealing with dates/times. Inspired by [Moment.js](http://momentjs.com/). 175 | * [pytz](https://launchpad.net/pytz) - World timezone definitions, modern and historical. Brings the [tz database](http://en.wikipedia.org/wiki/Tz_database) into Python. 176 | 177 | ## Text Processing 178 | 179 | *Libraries for parsing and manipulating plain texts.* 180 | 181 | * General 182 | * [difflib](https://docs.python.org/2/library/difflib.html) - (Python standard library) Helpers for computing deltas. 183 | * [Levenshtein](https://github.com/ztane/python-Levenshtein/) - Fast computation of Levenshtein distance and string similarity. 184 | * [fuzzywuzzy](https://github.com/seatgeek/fuzzywuzzy) - Fuzzy String Matching. 185 | * [esmre](https://code.google.com/p/esmre/) - Regular expression accelerator. 186 | * [shortuuid](https://github.com/stochastic-technologies/shortuuid) - A generator library for concise, unambiguous and URL-safe UUIDs. 187 | * [ftfy](https://github.com/LuminosoInsight/python-ftfy) - Makes Unicode text less broken and more consistent automagically. 188 | * [unidecode](https://pypi.python.org/pypi/Unidecode) - ASCII transliterations of Unicode text. 189 | * [chardet](https://github.com/chardet/chardet) - Python 2/3 compatible character encoding detector. 190 | * [xpinyin](https://github.com/lxneng/xpinyin) - A library to translate Chinese hanzi (漢字) to pinyin (拼音). 191 | * [pangu.py](https://github.com/vinta/pangu.py) - Spacing texts for CJK and alphanumerics. 192 | * [pyfiglet](https://github.com/pwaller/pyfiglet) - An implementation of figlet written in Python. 193 | * [uniout](https://github.com/moskytw/uniout) - Print readable chars instead of the escaped string. 194 | * Slugify 195 | * [awesome-slugify](https://github.com/dimka665/awesome-slugify) - A Python slugify library that can preserve unicode. 196 | * [python-slugify](https://github.com/un33k/python-slugify) - A Python slugify library that translates unicode to ASCII. 197 | * [unicode-slugify](https://github.com/mozilla/unicode-slugify) - A slugifier that generates unicode slugs with Django as a dependency. 198 | * Parser 199 | * [PLY](http://www.dabeaz.com/ply/) - Implementation of lex and yacc parsing tools for Python 200 | * [phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) - Parsing, formatting, storing and validating international phone numbers. 201 | * [python-user-agents](https://github.com/selwin/python-user-agents) - Browser user agent parser. 202 | * [sqlparse](https://sqlparse.readthedocs.org/) - A non-validating SQL parser. 203 | * [Pygments](http://pygments.org/) - A generic syntax highlighter. 204 | * [python-nameparser](https://github.com/derek73/python-nameparser) - Parsing human names into their individual components. 205 | * [pyparsing](http://pyparsing.wikispaces.com/) - A general purpose framework for generating parsers. 206 | 207 | ## Specific Formats Processing 208 | 209 | *Libraries for parsing and manipulating specific text formats.* 210 | 211 | * General 212 | * [tablib](https://github.com/kennethreitz/tablib) - A module for Tabular Datasets in XLS, CSV, JSON, YAML. 213 | * Office 214 | * [python-docx](https://github.com/python-openxml/python-docx) - Reads, queries and modifies Microsoft Word 2007/2008 docx files. 215 | * [xlwt](https://github.com/python-excel/xlwt) / [xlrd](https://github.com/python-excel/xlrd) - Writing and reading data and formatting information from Excel files. 216 | * [XlsxWriter](https://xlsxwriter.readthedocs.org/) - A Python module for creating Excel .xlsx files. 217 | * [xlwings](http://xlwings.org/) - A BSD-licensed library that makes it easy to call Python from Excel and vice versa. 218 | * [Marmir](https://github.com/brianray/mm) - Takes Python data structures and turns them into spreadsheets. 219 | * [unoconv](https://github.com/dagwieers/unoconv) - Convert between any document format supported by LibreOffice/OpenOffice. 220 | * PDF 221 | * [PDFMiner](https://github.com/euske/pdfminer) - A tool for extracting information from PDF documents. 222 | * [PyPDF2](https://github.com/mstamy2/PyPDF2) - A library capable of splitting, merging and transforming PDF pages. 223 | * [ReportLab](http://www.reportlab.com/opensource/) - Allowing Rapid creation of rich PDF documents. 224 | * Markdown 225 | * [Python-Markdown](https://github.com/waylan/Python-Markdown) - A Python implementation of John Gruber’s Markdown. 226 | * [Mistune](https://github.com/lepture/mistune) - Fastest and full featured pure Python parsers of Markdown. 227 | * YAML 228 | * [PyYAML](http://pyyaml.org/) - YAML implementations for Python. 229 | * CSV 230 | * [csvkit](https://github.com/onyxfish/csvkit) - Utilities for converting to and working with CSV. 231 | * Archive 232 | * [unp](https://github.com/mitsuhiko/unp) - A command line tool that can unpack archives easily. 233 | 234 | ## Natural Language Processing 235 | 236 | *Libraries for working with human languages.* 237 | 238 | * [NLTK](http://www.nltk.org/) - A leading platform for building Python programs to work with human language data. 239 | * [Pattern](http://www.clips.ua.ac.be/pattern) - A web mining module for the Python. It has tools for natural language processing, machine learning, among others. 240 | * [TextBlob](http://textblob.readthedocs.org/) - Providing a consistent API for diving into common NLP tasks. Stands on the giant shoulders of NLTK and Pattern. 241 | * [jieba](https://github.com/fxsjy/jieba) - Chinese Words Segmentation Utilities. 242 | * [SnowNLP](https://github.com/isnowfy/snownlp) - A library for processing Chinese text. 243 | * [loso](https://github.com/victorlin/loso) - Another Chinese segmentation library. 244 | * [genius](https://github.com/duanhongyi/genius) - A Chinese segment base on Conditional Random Field. 245 | 246 | ## Documentation 247 | 248 | *Libraries for generating project documentation.* 249 | 250 | * [Sphinx](http://sphinx-doc.org/) - Python Documentation generator. 251 | * [awesome-sphinxdoc](https://github.com/yoloseem/awesome-sphinxdoc) 252 | * [reStructuredText](http://docutils.sourceforge.net/rst.html) - Markup Syntax and Parser Component of Docutils. 253 | * [MkDocs](http://www.mkdocs.org/) - Markdown friendly documentation generator. 254 | * [Pycco](http://fitzgen.github.io/pycco/) - The original quick-and-dirty, hundred-line-long, literate-programming-style documentation generator. 255 | * [pdoc](https://github.com/BurntSushi/pdoc) - Epydoc replacement to auto generate API documentation for Python libraries. 256 | 257 | ## Configuration 258 | 259 | *Libraries for storing configuration options.* 260 | 261 | * [ConfigParser](https://docs.python.org/2/library/configparser.html) - (Python standard library) INI file parser. 262 | * [ConfigObj](http://www.voidspace.org.uk/python/configobj.html) - INI file parser with validation. 263 | * [config](http://www.red-dove.com/config-doc/) - Hierarchical config from the author of [logging](https://docs.python.org/2/library/logging.html). 264 | * [profig](http://profig.readthedocs.org/) - Config from multiple formats with value conversion. 265 | 266 | ## Command-line Tools 267 | 268 | *Libraries for building command-line application.* 269 | 270 | * Command-line Application Development 271 | * [cement](http://builtoncement.com/) - Cement provides a light-weight and fully featured foundation to build anything from single file scripts to complex and intricately designed applications. 272 | * [click](http://click.pocoo.org/) - A package for creating beautiful command line interfaces in a composable way. 273 | * [clint](https://github.com/kennethreitz/clint) - Python Command-line Application Tools. 274 | * [cliff](https://cliff.readthedocs.org/) - A framework for creating command-line programs with multi-level commands. 275 | * [Clime](http://clime.mosky.tw) – Clime lets you convert any module into a multi-command CLI program without any configuration. 276 | * [docopt](http://docopt.org/) - Pythonic command line arguments parser. 277 | * [colorama](https://pypi.python.org/pypi/colorama) - Cross-platform colored terminal text. 278 | * [pyCLI](https://pythonhosted.org/pyCLI/) - Command-line applications supporting standard command line parsing, logging, unit and functional testing. 279 | * [Gooey](https://github.com/chriskiehl/Gooey) - Turn command line programs into a full GUI application with one line 280 | * [python-prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit) - A Library for building powerful interactive command lines. 281 | * Productivity Tools 282 | * [cookiecutter](https://github.com/audreyr/cookiecutter) - A command-line utility that creates projects from cookiecutters (project templates). E.g. Python package projects, jQuery plugin projects. 283 | * [httpie](https://github.com/jakubroztocil/httpie) - A command line HTTP client, a user-friendly cURL replacement. 284 | * [percol](https://github.com/mooz/percol) - Adds flavor of interactive selection to the traditional pipe concept on UNIX. 285 | * [RainbowStream](http://www.rainbowstream.org/) - Smart and nice Twitter client on terminal. 286 | * [caniusepython3](https://github.com/brettcannon/caniusepython3) - Determine what projects are blocking you from porting to Python 3. 287 | 288 | ## Downloader 289 | 290 | *Libraries for downloading.* 291 | 292 | * [s3cmd](https://github.com/s3tools/s3cmd) - A command line tool for managing Amazon S3 and CloudFront. 293 | * [youtube-dl](http://rg3.github.io/youtube-dl/) - A small command-line program to download videos from YouTube. 294 | * [you-get](http://www.soimort.org/you-get/) - A YouTube/Youku/Niconico video downloader written in Python 3. 295 | * [coursera](https://github.com/coursera-dl/coursera) - Script for downloading Coursera.org videos and naming them. 296 | * [WikiTeam](https://github.com/WikiTeam/wikiteam) - Tools for downloading and preserving wikis. 297 | * [subliminal](https://github.com/Diaoul/subliminal) - Library and command line tool to search and download subtitles. 298 | 299 | ## Imagery 300 | 301 | *Libraries for manipulating images.* 302 | 303 | * [pillow](http://pillow.readthedocs.org/) - Pillow is the friendly [PIL](http://www.pythonware.com/products/pil/) fork. 304 | * [wand](https://github.com/dahlia/wand) - Python bindings for [MagickWand](http://www.imagemagick.org/script/magick-wand.php), C API for ImageMagick. 305 | * [thumbor](https://github.com/thumbor/thumbor) - A smart imaging service. It enables on-demand crop, resizing and flipping of images. 306 | * [imgSeek](http://www.imgseek.net/) - A project for searching a collection of images using visual similarity. 307 | * [python-qrcode](https://github.com/lincolnloop/python-qrcode) - A pure Python QR Code generator. 308 | * [pyBarcode](https://pythonhosted.org/pyBarcode/) - Create barcodes in Python without needing PIL. 309 | * [pygram](https://github.com/ajkumar25/pygram) - Instagram-like image filters. 310 | * [Quads](https://github.com/fogleman/Quads) - Computer art based on quadtrees. 311 | * [nude.py](https://github.com/hhatto/nude.py) - Nudity detection. 312 | * [scikit-image](http://scikit-image.org/) - A Python library for (scientific) image processing. 313 | * [hmap](https://github.com/rossgoodwin/hmap) - Image histogram remapping. 314 | 315 | ## OCR 316 | 317 | *Libraries for Optical Character Recognition.* 318 | 319 | * [python-tesseract](https://code.google.com/p/python-tesseract) - A wrapper class for [Google Tesseract OCR](https://code.google.com/p/tesseract-ocr/). 320 | * [pytesseract](https://github.com/madmaze/pytesseract) - Another wrapper for Google Tesseract OCR. 321 | * [pyocr](https://github.com/jflesch/pyocr) - A wrapper for Tesseract and Cuneiform. 322 | 323 | ## Audio 324 | 325 | *Libraries for manipulating audio.* 326 | 327 | * [audiolazy](https://github.com/danilobellini/audiolazy) - Expressive Digital Signal Processing (DSP) package for Python. 328 | * [audioread](https://github.com/sampsyo/audioread) - Cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding. 329 | * [beets](http://beets.radbox.org/) - A music library manager and [MusicBrainz](https://musicbrainz.org/) tagger. 330 | * [dejavu](https://github.com/worldveil/dejavu) - Audio fingerprinting and recognition. 331 | * [django-elastic-transcoder](https://github.com/StreetVoice/django-elastic-transcoder) - Django + [Amazon Elastic Transcoder](http://aws.amazon.com/elastictranscoder/). 332 | * [eyeD3](http://eyed3.nicfit.net/) - A tool for working with audio files, specifically MP3 files containing ID3 metadata. 333 | * [id3reader](http://nedbatchelder.com/code/modules/id3reader.py) - A Python module for reading MP3 meta data. 334 | * [mutagen](https://code.google.com/p/mutagen/) - A Python module to handle audio metadata. 335 | * [pydub](https://github.com/jiaaro/pydub) - Manipulate audio with a simple and easy high level interface. 336 | * [pyechonest](https://github.com/echonest/pyechonest) - Python client for the [Echo Nest](http://developer.echonest.com/docs/) API. 337 | * [talkbox](http://scikits.appspot.com/talkbox) - A Python library for speech/signal processing. 338 | * [TimeSide](https://github.com/yomguy/TimeSide) - Open web audio processing framework. 339 | * [tinytag](https://github.com/devsnd/tinytag) - A library for reading music meta data of MP3, OGG, FLAC and Wave files. 340 | * [m3u8](https://github.com/globocom/m3u8) - A module for parsing m3u8 file. 341 | 342 | ## Video 343 | 344 | *Libraries for manipulating video and GIFs.* 345 | 346 | * [moviepy](http://zulko.github.io/moviepy/) - A module for script-based movie editing with many formats, including animated GIFs. 347 | * [shorten.tv](http://www.shorten.tv/) - Video summarization. 348 | * [scikit-video](https://github.com/aizvorski/scikit-video) - Video processing routines for SciPy. 349 | 350 | ## Geolocation 351 | 352 | *Libraries for geocoding addresses and working with latitudes and longitudes.* 353 | 354 | * [GeoDjango](https://docs.djangoproject.com/en/dev/ref/contrib/gis/) - A world-class geographic web framework. 355 | * [geopy](https://github.com/geopy/geopy) - Python Geocoding Toolbox. 356 | * [pygeoip](https://github.com/appliedsec/pygeoip) - Pure Python GeoIP API. 357 | * [GeoIP](https://github.com/maxmind/geoip-api-python) - Python API for MaxMind GeoIP Legacy Database. 358 | * [geojson](https://github.com/frewsxcv/python-geojson) - Python bindings and utlities for GeoJSON. 359 | * [django-countries](https://github.com/SmileyChris/django-countries) - A Django app that provides country choices for use with forms, flag icons static files, and a country field for models. 360 | 361 | ## HTTP 362 | 363 | *Libraries for working with HTTP.* 364 | 365 | * [requests](http://docs.python-requests.org/) - HTTP Requests for Humans™. 366 | * [grequests](https://github.com/kennethreitz/grequests) - requests + gevent for asynchronous HTTP requests. 367 | * [urllib3](https://github.com/shazow/urllib3) - A HTTP library with thread-safe connection pooling, file post support, sanity friendly. 368 | * [httplib2](https://github.com/jcgregorio/httplib2) - Comprehensive HTTP client library. 369 | * [treq](https://github.com/dreid/treq) - Python requests like API built on top of Twisted's HTTP client. 370 | 371 | ## Database 372 | 373 | *Databases implemented in Python.* 374 | 375 | * [ZODB](http://www.zodb.org/) - A native object database for Python. A key-value and object graph database. 376 | * [pickleDB](https://pythonhosted.org/pickleDB/) - A simple and lightweight key-value store for Python. 377 | * [TinyDB](https://github.com/msiemens/tinydb) - A tiny, document-oriented database. 378 | 379 | ## Database Drivers 380 | 381 | *Libraries for connecting and operating databases.* 382 | 383 | * Relational Databases 384 | * [mysql-python](http://sourceforge.net/projects/mysql-python/) - The MySQL database connector for Python. 385 | * [mysqlclient](https://github.com/PyMySQL/mysqlclient-python) - mysql-python fork supporting Python 3. 386 | * [PyMySQL](https://github.com/PyMySQL/PyMySQL) - Pure Python MySQL driver compatible to mysql-python. 387 | * [mysql-connector-python](https://pypi.python.org/pypi/mysql-connector-python) - A pure Python MySQL driver from Oracle. 388 | * [oursql](https://pythonhosted.org/oursql/) - A better MySQL connector with support for native prepared statements and BLOBs. 389 | * [psycopg2](http://initd.org/psycopg/) - The most popular PostgreSQL adapter for Python. 390 | * [txpostgres](http://txpostgres.readthedocs.org/) - Twisted based asynchronous driver for PostgreSQL. 391 | * [queries](https://github.com/gmr/queries) - A wrapper of the psycopg2 library for interacting with PostgreSQL. 392 | * [dataset](https://github.com/pudo/dataset) - Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL. 393 | * NoSQL Databases 394 | * [cassandra-python-driver](https://github.com/datastax/python-driver) - Python driver for Cassandra. 395 | * [pycassa](https://github.com/pycassa/pycassa) - Python Thrift driver for Cassandra. 396 | * [HappyBase](http://happybase.readthedocs.org/) - A developer-friendly library for Apache HBase. 397 | * [PyMongo](http://docs.mongodb.org/ecosystem/drivers/python/) - The official Python client for MongoDB. 398 | * [Plyvel](https://plyvel.readthedocs.org/) - A fast and feature-rich Python interface to LevelDB. 399 | * [redis-py](https://github.com/andymccurdy/redis-py) - The Redis Python Client. 400 | * [py2neo](http://book.py2neo.org/) - Python wrapper client for Neo4j's restful interface. 401 | * [telephus](https://github.com/driftx/Telephus) - Twisted based client for Cassandra. 402 | * [txRedis](https://github.com/deldotdr/txRedis) - Twisted based client for Redis. 403 | 404 | ## ORM 405 | 406 | *Libraries that implement Object-Relational Mapping or datamapping techniques.* 407 | 408 | * Relational Databases 409 | * [Django Models](https://docs.djangoproject.com/en/dev/topics/db/models/) - A part of Django. 410 | * [SQLAlchemy](http://www.sqlalchemy.org/) - The Python SQL Toolkit and Object Relational Mapper. 411 | * [awesome-sqlalchemy](https://github.com/dahlia/awesome-sqlalchemy) 412 | * [peewee](https://github.com/coleifer/peewee) - A small, expressive ORM. 413 | * [PonyORM](http://ponyorm.com) - ORM that provides a generator-oriented interface to SQL. 414 | * NoSQL Databases 415 | * [MongoEngine](http://mongoengine.org/) - A Python Object-Document-Mapper for working with MongoDB. 416 | * [django-mongodb-engine](https://github.com/django-nonrel/mongodb-engine) - Django MongoDB Backend. 417 | * [redisco](https://github.com/kiddouk/redisco) - A Python Library for Simple Models and Containers Persisted in Redis. 418 | * [flywheel](https://github.com/mathcamp/flywheel) - Object mapper for Amazon DynamoDB. 419 | * Others 420 | * [butterdb](https://github.com/Widdershin/butterdb) - A Python ORM for Google Drive Spreadsheets. 421 | 422 | ## Web Frameworks 423 | 424 | *Full stack web frameworks.* 425 | 426 | * [Django](https://www.djangoproject.com/) - The most popular web framework in Python. 427 | * [awesome-django](https://github.com/rosarior/awesome-django) 428 | * [Flask](http://flask.pocoo.org/) - A microframework for Python. 429 | * [awesome-flask](https://github.com/humiaozuzu/awesome-flask) 430 | * [Bottle](http://bottlepy.org/) - A fast, simple and lightweight WSGI micro web-framework. 431 | * [Pyramid](http://www.pylonsproject.org/) - A small, fast, down-to-earth, open source Python web framework. 432 | * [awesome-pyramid](https://github.com/ITCase/awesome-pyramid) 433 | * [web2py](http://www.web2py.com) - A full stack web framework and platform focused in the ease of use. 434 | * [web.py](http://webpy.org/) - A web framework for Python that is as simple as it is powerful. 435 | * [TurboGears](http://www.turbogears.org/) - The Web Framework that starts as a microframework and scales up to a fullstack solution. 436 | * [CherryPy](http://www.cherrypy.org/) - A Minimalist Python Web Framework, HTTP/1.1-compliant and WSGI thread-pooled. 437 | * [Grok](http://grok.zope.org/) - A framework built on the existing Zope 3 libraries. 438 | * [Bluebream](http://bluebream.zope.org/) - An open-source web application server, framework and library, formerly known as Zope 3. 439 | * [guava](https://github.com/flatpeach/guava) - A lightweight and high performance web framework for Python written in C. 440 | 441 | ## Permissions 442 | 443 | *Libraries that allow or deny users access to data or functionality.* 444 | 445 | * [django-guardian](https://github.com/lukaszb/django-guardian) - Implementation of per object permissions for Django 1.2+ 446 | * [Carteblanche](http://www.github.com/neuman/python-carteblanche/) - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions. 447 | 448 | ## CMS 449 | 450 | *Content Management Systems.* 451 | 452 | * [django-cms](https://www.django-cms.org/en/) - An Open source enterprise CMS based on the Django. 453 | * [djedi-cms](http://djedi-cms.org/) - A lightweight but yet powerful Django CMS with plugins, inline editing and performance in mind. 454 | * [FeinCMS](http://www.feincms.org/) - One of the most advanced Content Management Systems built on Django. 455 | * [Kotte](http://kotti.pylonsproject.org/) - A high-level, Pythonic web application framework built on Pyramid. 456 | * [Mezzanine](http://mezzanine.jupo.org/) - A powerful, consistent, and flexible content management platform. 457 | * [Opps](http://oppsproject.org/) - A Django-based CMS for magazines, newspapers websites and portals with high-traffic. 458 | * [Plone](http://plone.org/) - A CMS built on top of the open source application server Zope. 459 | * [Quokka](http://quokkaproject.org/) - Flexible, extensible, small CMS powered by Flask and MongoDB. 460 | * [Wagtail](http://wagtail.io/) - A Django content management system. 461 | * [Widgy](http://wid.gy/) - Last CMS framework, based on Django. 462 | 463 | ## E-commerce 464 | 465 | *Frameworks and libraries for e-commerce and payments.* 466 | 467 | * [django-oscar](http://oscarcommerce.com/) - An open-source e-commerce framework for Django. 468 | * [django-shop](https://www.django-cms.org/) - A Django based shop system. 469 | * [merchant](https://github.com/agiliq/merchant) - A Django app to accept payments from various payment processors. 470 | * [money](https://github.com/carlospalol/money) - Money class with optional CLDR-backed locale-aware formatting and an extensible currency exchange solution. 471 | * [python-currencies](https://github.com/Alir3z4/python-currencies) - Display money format and its filthy currencies. 472 | 473 | ## RESTful API 474 | 475 | *Libraries for developing RESTful APIs.* 476 | 477 | * [cornice](https://cornice.readthedocs.org/) - A REST framework for Pyramid. 478 | * [django-rest-framework](http://www.django-rest-framework.org/) - A powerful and flexible toolkit that makes it easy to build Web APIs. 479 | * [django-tastypie](http://tastypieapi.org/) - Creating delicious APIs for Django apps. 480 | * [django-formapi](https://github.com/5monkeys/django-formapi) - Create JSON APIs with HMAC authentication and Django form-validation. 481 | * [flask-api](http://www.flaskapi.org/) - An implementation of the same web browsable APIs that django-rest-framework provides. 482 | * [flask-restful](http://flask-restful.readthedocs.org/) - An extension for Flask that adds support for quickly building REST APIs. 483 | * [flask-restless](https://flask-restless.readthedocs.org/en/latest/) - A Flask extension for generating ReSTful APIs for database models defined with SQLAlchemy (or Flask-SQLAlchemy). 484 | * [flask-api-utils](https://github.com/marselester/flask-api-utils) - Flask extension that takes care of API representation and authentication. 485 | * [falcon](http://falconframework.org/) - A high-performance Python framework for building cloud APIs and web app backends. 486 | * [eve](https://github.com/nicolaiarocci/eve) - REST API framework powered by Flask, MongoDB and good intentions. 487 | * [sandman](https://github.com/jeffknupp/sandman) - Automated REST APIs for existing database-driven systems. 488 | * [restless](http://restless.readthedocs.org/en/latest/) - Framework agnostic REST framework based on lessons learned from TastyPie. 489 | * [savory-pie](https://github.com/RueLaLa/savory-pie/) - REST API building library (django, and others) 490 | 491 | ## Authentication 492 | 493 | *Libraries for implementing authentications schemes.* 494 | 495 | * OAuth 496 | * [Authomatic](http://peterhudec.github.io/authomatic/) - Simple but powerful framework agnostic authentication/authorization client package. 497 | * [OAuthLib](https://github.com/idan/oauthlib) - A generic, spec-compliant, thorough implementation of the OAuth request-signing logic. 498 | * [rauth](https://github.com/litl/rauth) - A Python library for OAuth 1.0/a, 2.0, and Ofly. 499 | * [python-oauth2](https://github.com/simplegeo/python-oauth2) - A fully tested, abstract interface to creating OAuth clients and servers. 500 | * [python-social-auth](https://github.com/omab/python-social-auth) - An easy-to-setup social authentication mechanism. 501 | * [django-oauth-toolkit](https://github.com/evonove/django-oauth-toolkit) - OAuth2 goodies for the Djangonauts. 502 | * [django-oauth2-provider](https://github.com/caffeinehit/django-oauth2-provider) - Providing OAuth2 access to Django app. 503 | * [django-allauth](https://github.com/pennersr/django-allauth) - Authentication app for Django that "just works." 504 | * [Flask-OAuthlib](https://github.com/lepture/flask-oauthlib) - OAuth 1.0/a, 2.0 implementation of client and provider for Flask. 505 | * [sanction](https://github.com/demianbrecht/sanction) - A dead simple OAuth2 client implementation. 506 | * Others 507 | * [PyJWT](https://github.com/progrium/pyjwt) - Implementation of the JSON Web Token draft 01. 508 | * [python-jwt](https://github.com/davedoesdev/python-jwt) - Module for generating and verifying JSON Web Tokens. 509 | * [python-jws](https://github.com/brianloveswords/python-jws) - Implementation of JSON Web Signatures draft 02. 510 | * [jose](https://github.com/demonware/jose) - JavaScript Object Signing and Encryption draft implementation. 511 | 512 | ## Template Engine 513 | 514 | *Libraries and tools for templating and lexing.* 515 | 516 | * [Jinja2](https://github.com/mitsuhiko/jinja2) - A modern and designer friendly templating language. 517 | * [Genshi](http://genshi.edgewall.org/) - Python templating toolkit for generation of web-aware output. 518 | * [Mako](http://www.makotemplates.org/) - Hyperfast and lightweight templating for the Python platform. 519 | * [Chameleon](https://chameleon.readthedocs.org/) - An HTML/XML template engine. Modeled after ZPT, optimized for speed. 520 | * [Spitfire](https://code.google.com/p/spitfire/) - A very fast Python template compiler. 521 | 522 | ## Queue 523 | 524 | *Libraries for working with event and task queues.* 525 | 526 | * [celery](http://www.celeryproject.org/) - An asynchronous task queue/job queue based on distributed message passing. 527 | * [huey](https://github.com/coleifer/huey) - Little multi-threaded task queue. 528 | * [mrq](https://github.com/pricingassistant/mrq) - Mr. Queue - A distributed worker task queue in Python using Redis & gevent. 529 | * [rq](http://python-rq.org/) - Simple job queues for Python. 530 | * [simpleq](https://github.com/rdegges/simpleq) - A simple, infinitely scalable, Amazon SQS based queue. 531 | 532 | ## Search 533 | 534 | *Libraries and software for indexing and performing search queries on data.* 535 | 536 | * [django-haystack](https://github.com/toastdriven/django-haystack) - Modular search for Django. 537 | * [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/). 538 | * [solrpy](https://code.google.com/p/solrpy/) - A Python client for [solr](http://lucene.apache.org/solr/). 539 | * [Whoosh](http://whoosh.readthedocs.org/) - A fast, pure Python search engine library. 540 | 541 | ## News Feed 542 | 543 | *Libraries for building user's activities.* 544 | 545 | * [Feedly](https://github.com/tschellenbach/Feedly) - A library to build newsfeed and notification systems using Cassandra and Redis. 546 | * [django-activity-stream](https://github.com/justquick/django-activity-stream) - Generate generic activity streams from the actions on your site. 547 | 548 | ## Asset Management 549 | 550 | *Tools for managing, compressing and minifying website assets.* 551 | 552 | * [django-compressor](https://github.com/django-compressor/django-compressor) - Compresses linked and inline javascript or CSS into a single cached file. 553 | * [jinja-assets-compressor](https://github.com/jaysonsantos/jinja-assets-compressor) - A Jinja extension to compile and compress your assets. 554 | * [webassets](http://webassets.readthedocs.org/) - Bundles, optimizes, and manages unique cache-busting URLs for static resources. 555 | * [fanstatic](http://www.fanstatic.org/) - Packages, optimizes, and serves static file dependencies as Python packages. 556 | * [fileconveyor](http://fileconveyor.org/) - Monitors changes, processes, and transports assets to CDNs and file storage systems. 557 | * [django-storages](http://code.larlet.fr/django-storages/) - A collection of custom storage backends for Django. 558 | * [glue](http://gluecss.com) - Glue is a simple command line tool to generate CSS sprites. 559 | * [libsass-python](http://hongminhee.org/libsass-python/) - A Python binding of [libsass](https://github.com/hcatlin/libsass), the reference implementation of SASS/SCSS. 560 | * [Flask-Assets](http://flask-assets.readthedocs.org/) - Helps you integrate webassets into your Flask app. 561 | 562 | ## Caching 563 | 564 | *Libraries for caching data.* 565 | 566 | * [Beaker](http://beaker.readthedocs.org/) - A library for caching and sessions for use with web applications and stand-alone Python scripts and applications. 567 | * [dogpile.cache](http://dogpilecache.readthedocs.org/) - dogpile.cache is next generation replacement for Beaker made by same authors. 568 | * [HermesCache](https://pypi.python.org/pypi/HermesCache) - Python caching library with tag-based invalidation and dogpile effect prevention. 569 | * [django-cache-machine](https://github.com/jbalogh/django-cache-machine) - Automatic caching and invalidation for Django models through the ORM. 570 | * [django-cacheops](https://github.com/Suor/django-cacheops) - A slick ORM cache with automatic granular event-driven invalidation. 571 | * [johnny-cache](https://github.com/jmoiron/johnny-cache) - A caching framework for django applications. 572 | * [django-viewlet](https://github.com/5monkeys/django-viewlet) - Render template parts with extended cache control. 573 | * [pylibmc](https://github.com/lericson/pylibmc) - A Python wrapper around the [libmemcached](http://libmemcached.org/libMemcached.html) interface. 574 | 575 | ## Email 576 | 577 | *Libraries for sending and parsing email.* 578 | 579 | * [inbox.py](https://github.com/kennethreitz/inbox.py) - Python SMTP Server for Humans. 580 | * [imbox](https://github.com/martinrusev/imbox) - Python IMAP for Humans. 581 | * [inbox](https://github.com/inboxapp/inbox) - The open source email toolkit. 582 | * [lamson](https://github.com/zedshaw/lamson) - Pythonic SMTP Application Server. 583 | * [flanker](https://github.com/mailgun/flanker) - A email address and Mime parsing library. 584 | * [marrow.mailer](https://github.com/marrow/marrow.mailer) - High-performance extensible mail delivery framework. 585 | * [django-celery-ses](https://github.com/StreetVoice/django-celery-ses) - Django email backend with AWS SES and Celery. 586 | * [modoboa](https://github.com/tonioo/modoboa) - A mail hosting and management platform including a modern and simplified Web UI. 587 | * [envelopes](http://tomekwojcik.github.io/envelopes/) - Mailing for human beings. 588 | * [mailjet](https://github.com/WoLpH/mailjet) - Mailjet API implementation for batch mailing, statistics and more. 589 | * [Talon](https://github.com/mailgun/talon) - Mailgun library to extract message quotations and signatures. 590 | * [pyzmail](http://www.magiksys.net/pyzmail/) - Compose, send and parse emails. 591 | 592 | ## Internationalization 593 | 594 | *Libraries for working with i18n.* 595 | 596 | * [Babel](http://babel.pocoo.org/) - An internationalization library for Python. 597 | * [Korean](https://korean.readthedocs.org/) - A library for [Korean](http://en.wikipedia.org/wiki/Korean_language) morphology. 598 | 599 | ## URL Manipulation 600 | 601 | *Libraries for parsing URLs.* 602 | 603 | * [furl](https://github.com/gruns/furl) - A small Python library that makes manipulating URLs simple. 604 | * [purl](https://github.com/codeinthehole/purl) - A simple, immutable URL class with a clean API for interrogation and manipulation. 605 | * [pyshorteners](https://github.com/ellisonleao/pyshorteners) - A pure Python URL shortening lib. 606 | * [short_url](https://github.com/Alir3z4/python-short_url) - Python implementation for generating Tiny URL and bit.ly-like URLs. 607 | * [webargs](https://github.com/sloria/webargs) - A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, and Pyramid. 608 | 609 | ## HTML Manipulation 610 | 611 | *Libraries for working with HTML and XML.* 612 | 613 | * [BeautifulSoup](http://www.crummy.com/software/BeautifulSoup/bs4/doc/) - Providing Pythonic idioms for iterating, searching, and modifying HTML or XML. 614 | * [lxml](http://lxml.de/) - A very fast, easy-to-use and versatile library for handling HTML and XML. 615 | * [html5lib](https://github.com/html5lib/html5lib-python) - A standards-compliant library for parsing and serializing HTML documents and fragments. 616 | * [pyquery](https://github.com/gawel/pyquery) - A jQuery-like library for parsing HTML. 617 | * [cssutils](https://pypi.python.org/pypi/cssutils/) - A CSS library for Python. 618 | * [MarkupSafe](https://github.com/mitsuhiko/markupsafe) - Implements a XML/HTML/XHTML Markup safe string for Python. 619 | * [bleach](http://bleach.readthedocs.org/) - A whitelist-based HTML sanitization and text linkification library. 620 | * [xmltodict](https://github.com/martinblech/xmltodict) - Working with XML feel like you are working with JSON. 621 | * [xhtml2pdf](https://github.com/chrisglass/xhtml2pdf) - HTML/CSS to PDF converter. 622 | * [untangle](https://github.com/stchris/untangle) - Converts XML documents to Python objects for easy access. 623 | 624 | ## Web Crawling 625 | 626 | *Libraries for scraping websites.* 627 | 628 | * [Scrapy](http://scrapy.org/) - A fast high-level screen scraping and web crawling framework. 629 | * [portia](https://github.com/scrapinghub/portia) - Visual scraping for Scrapy. 630 | * [feedparser](http://pythonhosted.org/feedparser/) - Universal feed parser. 631 | * [RoboBrowser](https://github.com/jmcarp/robobrowser) - A simple, Pythonic library for browsing the web without a standalone web browser. 632 | * [MechanicalSoup](https://github.com/hickford/MechanicalSoup) - A Python library for automating interaction with websites. 633 | * [mechanize](http://wwwsearch.sourceforge.net/mechanize/) - Stateful programmatic web browsing. 634 | * [Demiurge](https://github.com/matiasb/demiurge) - PyQuery-based scraping micro-framework. 635 | * [cola](https://github.com/chineking/cola) - A distributed crawling framework. 636 | * [pyspider](https://github.com/binux/pyspider) - A powerful spider system. 637 | * [Grab](http://grablib.org/) - Site scraping framework. 638 | 639 | ## Web Content Extracting 640 | 641 | *Libraries for extracting web contents.* 642 | 643 | * [newspaper](https://github.com/codelucas/newspaper) - News extraction, article extraction and content curation in Python. 644 | * [html2text](https://github.com/Alir3z4/html2text) - Convert HTML to Markdown-formatted text. 645 | * [python-goose](https://github.com/grangier/python-goose) - HTML Content/Article Extractor. 646 | * [lassie](https://github.com/michaelhelmick/lassie) - Web Content Retrieval for Humans. 647 | * [micawber](https://github.com/coleifer/micawber) - A small library for extracting rich content from URLs. 648 | * [sumy](https://github.com/miso-belica/sumy) - A module for automatic summarization of text documents and HTML pages. 649 | * [Haul](https://github.com/vinta/Haul) - An Extensible Image Crawler. 650 | * [python-readability](https://github.com/buriy/python-readability) - Fast Python port of arc90's readability tool. 651 | * [opengraph](https://github.com/erikriver/opengraph) - A Python module to parse the Open Graph Protocol 652 | * [textract](https://github.com/deanmalmgren/textract) - Extract text from any document, Word, PowerPoint, PDFs, etc. 653 | * [sanitize](https://github.com/Alir3z4/sanitize) - Bringing sanity to world of messed-up data. 654 | 655 | ## Forms 656 | 657 | *Libraries for working with forms.* 658 | 659 | * [WTForms](http://wtforms.readthedocs.org/) - A flexible forms validation and rendering library. 660 | * [WTForms-JSON](http://wtforms-json.readthedocs.org/) - A WTForms extension for JSON data handling. 661 | * [Deform](http://deform.readthedocs.org/) - Python HTML form generation library influenced by the formish form generation library. 662 | * [django-bootstrap3](https://github.com/dyve/django-bootstrap3) - Bootstrap 3 integration with Django. 663 | * [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. 664 | * [django-remote-forms](https://github.com/WiserTogether/django-remote-forms) - A platform independent Django form serializer. 665 | 666 | ## Data Validation 667 | 668 | *Libraries for validating data. Used for forms in many cases.* 669 | 670 | * [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. 671 | * [colander](http://docs.pylonsproject.org/projects/colander/) - A system for validating and deserializing data obtained via XML, JSON, an HTML form post or any other equally simple data serialization. 672 | * [schema](https://github.com/halst/schema) - A library for validating Python data structures. 673 | * [Schematics](https://github.com/schematics/schematics) - Data Structure Validation. 674 | * [kmatch](https://github.com/ambitioninc/kmatch) - A language for matching/validating/filtering Python dictionaries. 675 | * [valideer](https://github.com/podio/valideer) - Lightweight extensible data validation and adaptation library. 676 | 677 | ## Anti-spam 678 | 679 | *Libraries for fighting spam.* 680 | 681 | * [django-simple-spam-blocker](https://github.com/moqada/django-simple-spam-blocker) - Simple spam blocker for Django. 682 | * [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. 683 | 684 | ## Tagging 685 | 686 | *Libraries for tagging items.* 687 | 688 | * [django-taggit](https://github.com/alex/django-taggit) - Simple tagging for Django. 689 | 690 | ## Admin Panels 691 | 692 | *Libraries for administrative interfaces.* 693 | 694 | * [Ajenti](https://github.com/Eugeny/ajenti) - The admin panel your servers deserve. 695 | * [Grappelli](http://grappelliproject.com) – A jazzy skin for the Django Admin-Interface. 696 | * [django-suit](http://djangosuit.com/) - Alternative Django Admin-Interface (free only for Non-commercial use). 697 | * [django-xadmin](https://github.com/sshwsfc/django-xadmin) - Drop-in replacement of Django admin comes with lots of goodies. 698 | * [flask-admin](https://github.com/mrjoes/flask-admin) - Simple and extensible administrative interface framework for Flask. 699 | * [flower](https://github.com/mher/flower) - Real-time monitor and web admin for Celery. 700 | 701 | ## Static Site Generator 702 | 703 | *Static site generator is a software that takes some text + templates as input and produces html files on the output.* 704 | 705 | * [Pelican](http://blog.getpelican.com/) - Uses Markdown or ReST for content and Jinja 2 for themes. Supports DVCS, Disqus. AGPL. 706 | * [Cactus](http://github.com/koenbok/Cactus/) – Static site generator for designers. 707 | * [Hyde](https://hyde.github.com/) - Jinja2-based static web site generator. 708 | * [Nikola](http://www.getnikola.com/) - A static website and blog generator. 709 | * [Tinkerer](http://tinkerer.me/) - Tinkerer is a blogging engine/.static website generator powered by Sphinx. 710 | 711 | ## Processes and Threads 712 | 713 | *Libraries for working with processes or threads* 714 | 715 | * [multiprocessing](https://docs.python.org/2/library/multiprocessing.html) - (Python standard library) Process-based "threading" interface. 716 | * [threading](https://docs.python.org/2/library/threading.html) - (Python standard library) Higher-level threading interface. 717 | * [envoy](https://github.com/kennethreitz/envoy) - Python Subprocesses for Humans™. 718 | * [sh](https://github.com/amoffat/sh) - A full-fledged [subprocess](https://docs.python.org/2/library/subprocess.html) replacement for Python. 719 | * [sarge](http://sarge.readthedocs.org/) - A wrapper for subprocess. 720 | 721 | ## Concurrency and Networking 722 | 723 | *Libraries for concurrency and network programming.* 724 | 725 | * [asyncio](https://docs.python.org/3/library/asyncio.html) - (Python standard library in Python 3.4+) Asynchronous I/O, event loop, coroutines and tasks. 726 | * [gevent](http://www.gevent.org/) - A coroutine-based Python networking library that uses [greenlet](https://github.com/python-greenlet/greenlet). 727 | * [Twisted](https://twistedmatrix.com/trac/) - An event-driven networking engine. 728 | * [Tornado](http://www.tornadoweb.org/) - A Web framework and asynchronous networking library. 729 | * [pulsar](https://github.com/quantmind/pulsar) - Event-driven concurrent framework for Python. 730 | * [diesel](https://github.com/jamwt/diesel) - Greenlet-based event I/O Framework for Python. 731 | * [eventlet](http://eventlet.net/) - Asynchronous framework with WSGI support. 732 | * [pyzmq](http://zeromq.github.io/pyzmq/) - A Python wrapper for the 0MQ message library. 733 | * [txZMQ](https://github.com/smira/txZMQ) - Twisted based wrapper for the 0MQ message library. 734 | * [Crossbar](http://crossbar.io) - Open-source Unified Application Router (Websocket & WAMP for Python on Autobahn). 735 | 736 | ## WebSocket 737 | 738 | *Libraries for working with WebSocket.* 739 | 740 | * [AutobahnPython](https://github.com/tavendo/AutobahnPython) - WebSocket & WAMP for Python on Twisted and [asyncio](https://docs.python.org/3/library/asyncio.html). 741 | * [WebSocket-for-Python](https://github.com/Lawouach/WebSocket-for-Python) - WebSocket client and server library for Python 2 and 3 as well as PyPy. 742 | 743 | ## WSGI Servers 744 | 745 | *WSGI-compatible web servers.* 746 | 747 | * [wsgiref](http://docs.python.org/library/wsgiref.html) - (Python standard library) WSGI reference implementation, single-threaded. 748 | * [Werkzeug](http://werkzeug.pocoo.org/) - A WSGI utility library for Python that powers Flask and can easily be embedded into your own projects. 749 | * [paste](http://pythonpaste.org/) - Multi-threaded, stable, tried and tested. 750 | * [rocket](http://pypi.python.org/pypi/rocket) - Multi-threaded. 751 | * [waitress](https://waitress.readthedocs.org/) - Multi-threaded, poweres Pyramid. 752 | * [netius](https://github.com/hivesolutions/netius) - Asynchronous, very fast. 753 | * [gunicorn](http://pypi.python.org/pypi/gunicorn) - Pre-forked, partly written in C. 754 | * [fapws3](http://www.fapws.org/) - Asynchronous (network side only), written in C. 755 | * [meinheld](http://pypi.python.org/pypi/meinheld) - Asynchronous, partly written in C. 756 | * [bjoern](http://pypi.python.org/pypi/bjoern) - Asynchronous, very fast and written in C. 757 | 758 | ## RPC Servers 759 | 760 | *RPC-compatible servers.* 761 | 762 | * [SimpleXMLRPCServer](https://docs.python.org/2/library/simplexmlrpcserver.html) - (Python standard library) Simple XML-RPC server implementation, single-threaded. 763 | * [SimpleJSONRPCServer](https://github.com/joshmarshall/jsonrpclib/) - This library is an implementation of the JSON-RPC specification. 764 | * [zeroRPC](https://github.com/dotcloud/zerorpc-python) - zerorpc is a flexible RPC implementation based on [ZeroMQ](http://zeromq.org/) and [MessagePack](http://msgpack.org/). 765 | 766 | ## Cryptography 767 | 768 | * [PyCrypto](https://www.dlitz.net/software/pycrypto/) - The Python Cryptography Toolkit. 769 | * [Paramiko](http://www.paramiko.org/) - A Python (2.6+, 3.3+) implementation of the SSHv2 protocol, providing both client and server functionality. 770 | * [cryptography](https://cryptography.io/) - A package designed to expose cryptographic primitives and recipes to Python developers. 771 | * [PyNacl](https://github.com/pyca/pynacl) - Python binding to the Networking and Cryptography (NaCl) library. 772 | * [hashids](https://github.com/davidaurelio/hashids-python) - Implementation of [hashids](http://hashids.org) in Python. 773 | * [Passlib](https://pythonhosted.org/passlib/) - Secure password storage/hashing library, very high level. 774 | 775 | ## GUI 776 | 777 | *Libraries for working with graphical user interface applications.* 778 | 779 | * [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. 780 | * [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. 781 | * [wxPython](http://wxpython.org/) - A blending of the wxWidgets C++ class library with the Python. 782 | * [kivy](http://kivy.org/) - A library for creating NUI applications, running on Windows, Linux, Mac OS X, Android and iOS. 783 | * [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. 784 | * [urwid](http://urwid.org/) - A library for creating terminal GUI applications with strong support for widgets, events, rich colors, etc. 785 | * [pyglet](http://www.pyglet.org/) - A cross-platform windowing and multimedia library for Python. 786 | * [Tkinter](https://wiki.python.org/moin/TkInter) - Tkinter is Python's de-facto standard GUI package. 787 | * [enaml](https://github.com/nucleic/enaml) - Creating beautiful user-interfaces with Declaratic Syntax like QML. 788 | * [Toga](https://github.com/pybee/toga) - A Python native, OS native GUI toolkit. 789 | 790 | ## Game Development 791 | 792 | *Awesome game development libraries.* 793 | 794 | * [Pygame](http://www.pygame.org/news.html) - Pygame is a set of Python modules designed for writing games. 795 | * [Cocos2d](http://cocos2d.org/) - cocos2d is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on pyglet. 796 | * [PySDL2](http://pysdl2.readthedocs.org/) - A ctypes based wrapper for the SDL2 library. 797 | * [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. 798 | * [PyOgre](http://www.ogre3d.org/tikiwiki/PyOgre) - Python bindings for the Ogre 3D render engine, can be used for games, simulations, anything 3D. 799 | * [PyOpenGL](http://pyopengl.sourceforge.net/) - Python ctypes bindings for OpenGL and it's related APIs. 800 | * [PySFML](http://www.python-sfml.org/) - Python bindings for [SFML](http://www.sfml-dev.org/) 801 | * [RenPy](http://www.renpy.org/) - A Visual Novel engine. 802 | 803 | ## Logging 804 | 805 | *Libraries for generating and working with log files.* 806 | 807 | * [logging](https://docs.python.org/2/library/logging.html) - (Python standard library) Logging facility for Python. 808 | * [logbook](http://pythonhosted.org/Logbook/) - Logging replacement for Python. 809 | * [Sentry](https://pypi.python.org/pypi/sentry) - A realtime logging and aggregation server. 810 | * [Raven](http://raven.readthedocs.org/) - The Python client for Sentry. 811 | 812 | ## Testing 813 | 814 | *Libraries for testing codebases and generating test data.* 815 | 816 | * Testing Frameworks 817 | * [unittest](https://docs.python.org/2/library/unittest.html) - (Python standard library) Unit testing framework. 818 | * [nose](https://nose.readthedocs.org/) - nose extends unittest. 819 | * [pytest](http://pytest.org/) - A mature full-featured Python testing tool. 820 | * [mamba](https://nestorsalceda.github.io/mamba) - The definitive testing tool for Python. Born under the banner of BDD. 821 | * [contexts](https://github.com/benjamin-hodgson/Contexts) - A BDD framework for Python 3.3+. Inspired by C#'s `Machine.Specifications`. 822 | * [pyshould](https://github.com/drslump/pyshould) - Should style asserts based on [PyHamcrest](https://github.com/hamcrest/PyHamcrest). 823 | * [pyvows](http://heynemann.github.io/pyvows/) - BDD style testing for Python. Inspired by [Vows.js](http://vowsjs.org/). 824 | * Web Testing 825 | * [Selenium](https://pypi.python.org/pypi/selenium) - Python bindings for [Selenium](http://www.seleniumhq.org/) WebDriver. 826 | * [splinter](http://splinter.cobrateam.info/) - Open source tool for testing web applications. 827 | * [locust](https://github.com/locustio/locust) - Scalable user load testing tool written in Python. 828 | * [sixpack](https://github.com/seatgeek/sixpack) - A language-agnostic A/B Testing framework. 829 | * Mock 830 | * [mock](https://pypi.python.org/pypi/mock) - A Python Mocking and Patching Library for Testing. 831 | * [responses](https://github.com/dropbox/responses) - A utility library for mocking out the requests Python library. 832 | * [doublex](https://pypi.python.org/pypi/doublex) - Powerful test doubles framework for Python. 833 | * [freezegun](https://github.com/spulec/freezegun) - Travel through time by mocking the datetime module. 834 | * [httpretty](http://falcao.it/HTTPretty/) - HTTP request mock tool for Python. 835 | * [httmock](https://github.com/patrys/httmock) - A mocking library for requests for Python 2.6+ and 3.2+. 836 | * Code Coverage 837 | * [coverage](https://pypi.python.org/pypi/coverage) - Code coverage measurement. 838 | * Fake Data 839 | * [faker](http://www.joke2k.net/faker/) - A Python package that generates fake data. 840 | * [fake2db](https://github.com/emirozer/fake2db) - Fake database generator. 841 | * [mixer](https://mixer.readthedocs.org) - Generating fake data and creating random fixtures for testing in Django ORM, SQLAlchemy, Peewee, MongoEngine, Pony ORM and etc. 842 | * [model_mommy](https://model-mommy.readthedocs.org/) - Creating random fixtures for testing in Django. 843 | * [ForgeryPy](https://pypi.python.org/pypi/ForgeryPy) - An easy to use forged data generator for Python. It's a port of [forgery](http://rubygems.org/gems/forgery). 844 | * [radar](https://pypi.python.org/pypi/radar) - Generate random datetime / time. 845 | * Error Handler 846 | * [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. 847 | 848 | ## Code Analysis and Linter 849 | 850 | *Libraries and tools for analysing, parsing and manipulation codebases.* 851 | 852 | * Code Analysis 853 | * [pysonar2](https://github.com/yinwang0/pysonar2) - A type inferencer and indexer for Python. 854 | * [pycallgraph](https://github.com/gak/pycallgraph) - A library that visualises the flow (call graph) of your Python application. 855 | * [code2flow](https://github.com/scottrogowski/code2flow) - Turn your Python and JavaScript code into DOT flowcharts. 856 | * Linter 857 | * [Flake8](https://pypi.python.org/pypi/flake8) - The modular source code checker: pep8, pyflakes and co. 858 | * [pylama](https://pylama.readthedocs.org/) - Code audit tool for Python and JavaScript. 859 | * [Pylint](http://www.pylint.org/) - A source code analyzer. 860 | 861 | ## Debugging Tools 862 | 863 | *Libraries for debugging code.* 864 | 865 | * [pdb](https://docs.python.org/2/library/pdb.html) - (Python standard library) The Python Debugger. 866 | * [ipdb](https://pypi.python.org/pypi/ipdb) - IPython-enabled pdb. 867 | * [winpdb](http://winpdb.org/) - A Platform Independent Python Debugger with GUI. 868 | * [pudb](https://pypi.python.org/pypi/pudb) – A full-screen, console-based Python debugger. 869 | * [pyringe](https://github.com/google/pyringe) - Debugger capable of attaching to and injecting code into Python processes. 870 | * [python-statsd](https://github.com/WoLpH/python-statsd) - Python Client for the [statsd](https://github.com/etsy/statsd/) server. 871 | * [memory_profiler](https://github.com/fabianp/memory_profiler) - Monitor Memory usage of Python code. 872 | * [profiling](https://github.com/what-studio/profiling) - An interactive Python profiler. 873 | * [django-debug-toolbar](https://github.com/django-debug-toolbar/django-debug-toolbar) - Display various debug information about the current request/response. 874 | * [django-devserver](https://github.com/dcramer/django-devserver) - A drop-in replacement for Django's runserver. 875 | * [flask-debugtoolbar](https://github.com/mgood/flask-debugtoolbar) - A port of the django-debug-toolbar to flask. 876 | * [pyelftools](https://github.com/eliben/pyelftools) - A pure-Python library for parsing and analyzing ELF files and DWARF debugging information. 877 | 878 | ## Science and Data Analysis 879 | 880 | *Libraries for scientific computing and data analyzing.* 881 | 882 | * [SciPy](http://www.scipy.org/) - A Python-based ecosystem of open-source software for mathematics, science, and engineering. 883 | * [NumPy](http://www.numpy.org/) - A fundamental package for scientific computing with Python. 884 | * [Numba](http://numba.pydata.org/) - Python JIT (just in time) complier to LLVM aimed at scientific Python by the developers of Cython and NumPy. 885 | * [NetworkX](https://networkx.github.io/) - A high-productivity software for complex networks. 886 | * [Pandas](http://pandas.pydata.org/) - A library providing high-performance, easy-to-use data structures and data analysis tools. 887 | * [Open Mining](https://github.com/avelino/mining) - Business Intelligence (BI) in Python (Pandas web interface) 888 | * [PyMC](https://github.com/pymc-devs/pymc) - Markov Chain Monte Carlo sampling toolkit. 889 | * [zipline](https://github.com/quantopian/zipline) - A Pythonic algorithmic trading library. 890 | * [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. 891 | * [SymPy](https://github.com/sympy/sympy) - A Python library for symbolic mathematics. 892 | * [statsmodels](https://github.com/statsmodels/statsmodels) - Statistical modeling and econometrics in Python. 893 | * [astropy](http://www.astropy.org/) - A community Python library for Astronomy. 894 | * [orange](http://orange.biolab.si/) - Data mining, data visualization, analysis and machine learning through visual programming or Python scripting. 895 | * [RDKit](http://www.rdkit.org/) - Cheminformatics and Machine Learning Software. 896 | * [Open Babel](http://openbabel.org/wiki/Main_Page) - A chemical toolbox designed to speak the many languages of chemical data. 897 | * [cclib](http://cclib.github.io/) - A library for parsing and interpreting the results of computational chemistry packages. 898 | * [Biopython](http://biopython.org/wiki/Main_Page) - Biopython is a set of freely available tools for biological computation. 899 | * [bccb](https://github.com/chapmanb/bcbb) - Collection of useful code related to biological analysis. 900 | * [bcbio-nextgen](https://github.com/chapmanb/bcbio-nextgen) - A toolkit providing best-practice pipelines for fully automated high throughput sequencing analysis. 901 | * [blaze](http://blaze.pydata.org/en/latest/) - NumPy and Pandas interface to Big Data. 902 | 903 | ## Data Visualization 904 | 905 | *Libraries for visualizing data. See: [awesome-javascript](https://github.com/sorrycc/awesome-javascript#data-visualization).* 906 | 907 | * [matplotlib](http://matplotlib.org/) - A Python 2D plotting library. 908 | * [bokeh](https://github.com/ContinuumIO/bokeh) - Interactive Web Plotting for Python. 909 | * [plotly](https://plot.ly/python) - Collaborative web plotting for Python and matplotlib. 910 | * [vincent](https://github.com/wrobstory/vincent) - A Python to Vega translator. 911 | * [d3py](https://github.com/mikedewar/d3py) - A plottling library for Python, based on [D3.js](http://d3js.org/). 912 | * [ggplot](https://github.com/yhat/ggplot) - Same API as ggplot2 for R. 913 | * [Kartograph.py](https://github.com/kartograph/kartograph.py) - Rendering beautiful SVG maps in Python. 914 | * [pygal](http://pygal.org/) - A Python SVG Charts Creator. 915 | * [pygraphviz](https://pypi.python.org/pypi/pygraphviz) - Python interface to [Graphviz](http://www.graphviz.org/). 916 | * [PyQtGraph](http://www.pyqtgraph.org/) - Interactive and realtime 2D/3D/Image plotting and science/engineering widgets. 917 | 918 | ## Computer Vision 919 | 920 | *Libraries for computer vision.* 921 | 922 | * [OpenCV](http://opencv.org/) - Open Source Computer Vision Library. 923 | * [SimpleCV](http://simplecv.org/) - An open source framework for building computer vision applications. 924 | 925 | ## Machine Learning 926 | 927 | *Libraries for Machine Learning. See: [awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning#python).* 928 | 929 | * [scikit-learn](http://scikit-learn.org/) - A Python module for machine learning built on top of SciPy. 930 | * [pattern](https://github.com/clips/pattern) - Web mining module for Python. 931 | * [NuPIC](https://github.com/numenta/nupic) - Numenta Platform for Intelligent Computing. 932 | * [Pylearn2](https://github.com/lisa-lab/pylearn2) - A Machine Learning library based on [Theano](https://github.com/Theano/Theano). 933 | * [hebel](https://github.com/hannes-brt/hebel) - GPU-Accelerated Deep Learning Library in Python. 934 | * [gensim](https://github.com/piskvorky/gensim) - Topic Modelling for Humans. 935 | * [PyBrain](https://github.com/pybrain/pybrain) - Another Python Machine Learning Library. 936 | * [Crab](https://github.com/muricoca/crab) - A flexible, fast recommender engine. 937 | * [python-recsys](https://github.com/ocelma/python-recsys) - A Python library for implementing a Recommender System. 938 | * [vowpal_porpoise](https://github.com/josephreisinger/vowpal_porpoise) - A lightweight Python wrapper for [Vowpal Wabbit](https://github.com/JohnLangford/vowpal_wabbit/). 939 | 940 | ## MapReduce 941 | 942 | *Framworks and libraries for MapReduce.* 943 | 944 | * [PySpark](http://spark.apache.org/docs/latest/programming-guide.html) - The Spark Python API. 945 | * [dpark](https://github.com/douban/dpark) - Python clone of Spark, a MapReduce alike framework in Python. 946 | * [luigi](https://github.com/spotify/luigi) - A module that helps you build complex pipelines of batch jobs. 947 | * [mrjob](https://github.com/Yelp/mrjob) - Run MapReduce jobs on Hadoop or Amazon Web Services. 948 | * [dumbo](https://github.com/klbostee/dumbo) - Python module that allows one to easily write and run Hadoop programs. 949 | * [streamparse](https://github.com/Parsely/streamparse) - Run Python code against real-time streams of data. Integrates with [Apache Storm](https://storm.incubator.apache.org/). 950 | 951 | ## Functional Programming 952 | 953 | *Functional Programming with Python.* 954 | 955 | * [fn.py](https://github.com/kachayev/fn.py) - Functional programming in Python: implementation of missing features to enjoy FP. 956 | * [funcy](https://github.com/Suor/funcy) - A fancy and practical functional tools. 957 | * [Toolz](https://github.com/pytoolz/toolz) - A collection of functional utilities for iterators, functions, and dictionaries. 958 | * [CyToolz](https://github.com/pytoolz/cytoolz/) - Cython implementation of Toolz: High performance functional utilities. 959 | 960 | ## Third-party APIs 961 | 962 | *Libraries for accessing third party services APIs. See: [List of Python API Wrappers and Libraries](https://github.com/realpython/list-of-python-api-wrappers).* 963 | 964 | * [apache-libcloud](https://libcloud.apache.org/) - One Python library for all clouds. 965 | * [boto](https://github.com/boto/boto) - Python interface to Amazon Web Services. 966 | * [twython](https://github.com/ryanmcgrath/twython) - A Python wrapper for the Twitter API. 967 | * [google-api-python-client](https://github.com/google/google-api-python-client) - Google APIs Client Library for Python. 968 | * [gspread](https://github.com/burnash/gspread) - Google Spreadsheets Python API. 969 | * [facebook-sdk](https://github.com/pythonforfacebook/facebook-sdk) - Facebook Platform Python SDK. 970 | * [facepy](https://github.com/jgorset/facepy) - Facepy makes it really easy to interact with Facebook's Graph API 971 | * [gmail](https://github.com/charlierguo/gmail) - A Pythonic interface for Gmail. 972 | * [django-wordpress](https://github.com/sunlightlabs/django-wordpress/) - WordPress models and views for Django. 973 | 974 | ## DevOps Tools 975 | 976 | *Software and libraries for DevOps.* 977 | 978 | * [OpenStack](http://www.openstack.org/) - Open source software for building private and public clouds. 979 | * [Ansible](https://github.com/ansible/ansible) - A radically simple IT automation platform. 980 | * [SaltStack](https://github.com/saltstack/salt) - Infrastructure automation and management system. 981 | * [Fabric](http://www.fabfile.org/) - A simple, Pythonic tool for remote execution and deployment. 982 | * [Fabtools](https://github.com/ronnix/fabtools) - Tools for writing awesome Fabric files. 983 | * [cuisine](https://github.com/sebastien/cuisine) - Chef-like functionality for Fabric. 984 | * [psutil](https://github.com/giampaolo/psutil) - A cross-platform process and system utilities module. 985 | * [pexpect](https://github.com/pexpect/pexpect) - Controlling interactive programs in a pseudo-terminal like GNU expect. 986 | * [provy](https://github.com/python-provy/provy) - An easy-to-use provisioning system in Python. 987 | * [honcho](https://github.com/nickstenning/honcho) - A Python port of [Foreman](https://github.com/ddollar/foreman), a tool for managing Procfile-based applications. 988 | * [gunnery](https://github.com/gunnery/gunnery) - Multipurpose task execution tool for distributed systems with web-based interface. 989 | * [fig](http://www.fig.sh/) - Fast, isolated development environments using [Docker](https://www.docker.com/). 990 | * [hgapi](http://bitbucket.org/haard/hgapi) - Pure-Python API for Mercurial. 991 | * [gitapi](http://bitbucket.org/haard/gitapi) - Pure-Python API for git. 992 | * [supervisor](https://github.com/Supervisor/supervisor) - Supervisor process control system for UNIX. 993 | 994 | ## Job Scheduler 995 | 996 | *Libraries for scheduling jobs.* 997 | 998 | * [APScheduler](http://apscheduler.readthedocs.org/) - A light but powerful in-process task scheduler that lets you schedule functions. 999 | * [django-schedule](https://github.com/thauber/django-schedule) - A calendaring app for Django. 1000 | * [doit](http://pydoit.org/) - A task runner/build tool. 1001 | * [Joblib](http://pythonhosted.org/joblib/index.html) - A set of tools to provide lightweight pipelining in Python. 1002 | * [Plan](https://github.com/fengsp/plan) - Writing crontab file in Python like a charm. 1003 | * [Spiff](https://github.com/knipknap/SpiffWorkflow) - A powerful workflow engine implemented in pure Python. 1004 | * [schedule](https://github.com/dbader/schedule) - Python job scheduling for humans. 1005 | * [TaskFlow](http://docs.openstack.org/developer/taskflow/) - A Python library that helps to make task execution easy, consistent and reliable. 1006 | 1007 | ## Foreign Function Interface 1008 | 1009 | *Libraries for providing foreign function interface.* 1010 | 1011 | * [ctypes](https://docs.python.org/2/library/ctypes.html) - (Python standard library) Foreign Function Interface for Python calling C code. 1012 | * [cffi](https://pypi.python.org/pypi/cffi) - Foreign Function Interface for Python calling C code. 1013 | * [SWIG](http://www.swig.org/Doc1.3/Python.html) - Simplified Wrapper and Interface Generator. 1014 | * [PyCUDA](http://mathema.tician.de/software/pycuda/) - A Python wrapper for Nvidia's CUDA API. 1015 | 1016 | ## High Performance 1017 | 1018 | *Libraries for making Python faster.* 1019 | 1020 | * [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. 1021 | * [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. 1022 | * [Stackless Python](http://www.stackless.com/) - An enhanced version of the Python. 1023 | * [Pyston](https://github.com/dropbox/pyston) - A Python implementation built using LLVM and modern JIT techniques with the goal of achieving good performance. 1024 | 1025 | ## Microsoft Windows 1026 | 1027 | *Python programming on Microsoft Windows.* 1028 | 1029 | * [PyWin32](http://sourceforge.net/projects/pywin32/) - Python Extensions for Windows. 1030 | * [PythonNet](https://github.com/pythonnet/pythonnet) - Python Intergration with the .NET Common Language Runtime (CLR). 1031 | * [pythonlibs](http://www.lfd.uci.edu/~gohlke/pythonlibs/) - Unofficial Windows binaries for Python extension packages. 1032 | * [spyder](https://code.google.com/p/spyderlib/) - IDE for the Python language with advanced editing, interactive testing, debugging and introspection features (also comes with Anaconda, WinPython). 1033 | * [Python(x,y)](https://code.google.com/p/pythonxy/) - Scientific-applications-oriented Python Distribution based on Qt and Spyder. 1034 | * [WinPython](https://winpython.github.io/) - Portable development environment for Windows 7/8. 1035 | 1036 | ## Network Virtualization and SDN 1037 | 1038 | *Tools and libraries for Virtual Networking and SDN (Software Defined Networking).* 1039 | 1040 | * [Mininet](http://mininet.org/) - A popular network emulator and API written in Python. 1041 | * [POX](http://www.noxrepo.org/pox/about-pox/) - An open source development platform for Python-based Software Defined Networking (SDN) control applications, such as OpenFlow SDN controllers. 1042 | * [Pyretic](http://frenetic-lang.org/pyretic/) - A member of the Frenetic family of SDN programming languages that provides powerful abstractions over network switches or emulators. 1043 | * [SDX Platform](https://github.com/sdn-ixp/internet2award) - SDN based IXP implementation that leverages Mininet, POX and Pyretic. 1044 | 1045 | ## Hardware 1046 | 1047 | *Libraries for programming with hardware.* 1048 | 1049 | * [PyUserInput](https://github.com/SavinaRoja/PyUserInput) - A module for cross-platform control of the mouse and keyboard. 1050 | * [wifi](https://wifi.readthedocs.org/) - A Python library and command line tool for working with WiFi on Linux. 1051 | * [scapy](http://www.secdev.org/projects/scapy/) - A brilliant packet manipulation library. 1052 | * [ino](http://inotool.org/) - Command line toolkit for working with [Arduino](http://www.arduino.cc/). 1053 | * [Pyro](http://pyrorobotics.com/) - Python Robotics. 1054 | 1055 | ## Compatibility 1056 | 1057 | *Libraries for migrating from Python 2 to 3.* 1058 | 1059 | * [Six](https://pypi.python.org/pypi/six) - Python 2 and 3 compatibility utilities. 1060 | * [Python-Future](http://python-future.org/index.html) - The missing compatibility layer between Python 2 and Python 3. 1061 | * [Python-Modernize](https://github.com/mitsuhiko/python-modernize) - Modernizes Python code for eventual Python 3 migration. 1062 | 1063 | ## Miscellaneous 1064 | 1065 | *Useful libraries or tools that don't fit in the categories above.* 1066 | 1067 | * [pluginbase](https://github.com/mitsuhiko/pluginbase) - A simple but flexible plugin system for Python. 1068 | * [itsdangerous](https://github.com/mitsuhiko/itsdangerous) - Various helpers to pass trusted data to untrusted environments. 1069 | * [blinker](https://github.com/jek/blinker) - A fast Python in-process signal/event dispatching system. 1070 | * [Pychievements](https://github.com/PacketPerception/pychievements) - A framework for creating and tracking achievements. 1071 | 1072 | ## Algorithms and Design Patterns 1073 | 1074 | *Python implementation of algorithms and design patterns.* 1075 | 1076 | * [python-patterns](https://github.com/faif/python-patterns) - A collection of design patterns in Python. 1077 | * [algorithms](https://github.com/nryoung/algorithms) - module of algorithms for Python. 1078 | 1079 | ## Editor Plugins 1080 | 1081 | *Plugins for editors and IDEs.* 1082 | 1083 | * Vim 1084 | * [Python-mode](https://github.com/klen/python-mode) - An all in one plugin for turning Vim into a Python IDE. 1085 | * [Jedi-vim](https://github.com/davidhalter/jedi-vim) - Vim bindings for the [Jedi](https://github.com/davidhalter/jedi) autocompletion library for Python. 1086 | * [YouCompleteMe](https://github.com/Valloric/YouCompleteMe) - Includes [Jedi](https://github.com/davidhalter/jedi)-based completion engine for Python 1087 | * Emacs 1088 | * [Elpy](https://github.com/jorgenschaefer/elpy) - Emacs Python Development Environment. 1089 | * Sublime Text 1090 | * [SublimeJEDI](https://github.com/srusskih/SublimeJEDI) - A Sublime Text plugin to the awesome autocomplete library [Jedi](https://github.com/davidhalter/jedi). 1091 | * [Anaconda](https://github.com/DamnWidget/anaconda) - Anaconda turns your Sublime Text 3 in a full featured Python development IDE. 1092 | * Atom 1093 | * [Linter](https://github.com/AtomLinter/Linter) - A static code analysis tool for Atom. 1094 | * [Linter-flake8](https://github.com/AtomLinter/linter-flake8) - An addon to `linter`, that acts as an interface for `flake8`. 1095 | * [virtualenv](https://github.com/jhutchins/virtualenv) - Atom package for virtualenv management. 1096 | 1097 | # Resources 1098 | 1099 | Where to discover new Python libraries. 1100 | 1101 | ## Websites 1102 | 1103 | * [r/Python](http://www.reddit.com/r/python) - News about Python. 1104 | * [Python 3 Wall of Superpowers](http://python3wos.appspot.com/) - Too many popular Python packages don't support Python 3. 1105 | * [Trending Python repositories on GitHub today](https://github.com/trending?l=python) - Good place to find new Python libraries. 1106 | * [Python Hackers](http://pythonhackers.com/open-source/) - List of top 400 projects in GitHub. 1107 | * [CoolGithubProjects](http://coolgithubprojects.com/) - Sharing cool github projects just got easier! 1108 | * [Full Stack Python](http://www.fullstackpython.com/) - Plain English explanations for every layer of the Python web application stack. 1109 | * [Django Packages](https://www.djangopackages.com/) - A directory of reusable apps, sites, tools, and more for Django projects. 1110 | 1111 | ## Weekly 1112 | 1113 | * [Pycoder's Weekly](http://pycoders.com/) 1114 | * [Python Weekly](http://www.pythonweekly.com/) 1115 | * [Import Python Newsletter](http://importpython.com/newsletter/) 1116 | 1117 | ## Twitter 1118 | 1119 | * [@pypi](https://twitter.com/pypi) 1120 | * [@planetpython](https://twitter.com/planetpython) 1121 | * [@getpy](https://twitter.com/getpy) 1122 | * [@pycoders](https://twitter.com/pycoders) 1123 | * [@PythonWeekly](https://twitter.com/PythonWeekly) 1124 | * [@pythontrending](https://twitter.com/pythontrending) 1125 | 1126 | # Other Awesome Lists 1127 | 1128 | List of lists. 1129 | 1130 | * Python 1131 | * [pycrumbs](https://github.com/kirang89/pycrumbs/blob/master/pycrumbs.md) 1132 | * [pythonidae](https://github.com/svaksha/pythonidae) 1133 | * [python-github-projects](https://github.com/checkcheckzz/python-github-projects) 1134 | * [python_reference](https://github.com/rasbt/python_reference) 1135 | * [easy-python](http://easy-python.readthedocs.org/) 1136 | * Monty 1137 | * [awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness) 1138 | * [lists](https://github.com/jnv/lists) 1139 | 1140 | # [Contributing](https://github.com/vinta/awesome-python/blob/master/CONTRIBUTING.md) 1141 | 1142 | Your contributions are always welcome! 1143 | 1144 | # Upcoming Event 1145 | 1146 | ## PyCon APAC 2015 1147 | 1148 | [![PyCon APAC 2015](https://tw.pycon.org/static/image/header/logo.png)](https://tw.pycon.org/2015apac/) 1149 | 1150 | #### Tutorials May 30-31, Conference June 5-7, Sprints June 8, Taipei, Taiwan 1151 | 1152 | Mark your calendar now and stay up to date on the must-attend event in 2015. Join the biggest Python conference in Asia. To find more on [https://tw.pycon.org/2015apac/](https://tw.pycon.org/2015apac/). 1153 | -------------------------------------------------------------------------------- /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 | --------------------------------------------------------------------------------