Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xsleonard/wsgisubdomain

WSGI Application Dispatcher per Subdomain
https://github.com/xsleonard/wsgisubdomain

Last synced: 1 day ago
JSON representation

WSGI Application Dispatcher per Subdomain

Awesome Lists containing this project

README

        

wsgisubdomain
=============

[![PyPI version](https://badge.fury.io/py/wsgisubdomain.png)](http://badge.fury.io/py/wsgisubdomain)
[![Build Status](https://travis-ci.org/xsleonard/wsgisubdomain.png)](https://travis-ci.org/xsleonard/wsgisubdomain)
[![Coverage Status](https://coveralls.io/repos/xsleonard/wsgisubdomain/badge.png)](https://coveralls.io/r/xsleonard/wsgisubdomain)

wsgisubdomain is a WSGI application dispatcher. A WSGI application is fetched based on a request’s target subdomain, creating one if needed.

wsgisubdomain supports Python 2.6, 2.7, 3.2, 3.3 and PyPy.

The code in this module is adapted from:
http://flask.pocoo.org/docs/patterns/appdispatch/#dispatch-by-subdomain

[Read the complete docs](https://wsgisubdomain.readthedocs.org)