A very simple WSGI way to serve static and dynamic content.
Python
Latest commit 65b6a3e Oct 19, 2014 @lukearno Release v1.1.1
Failed to load latest commit information.
static
tests
.gitignore static redux Jan 19, 2014
MANIFEST.in
Makefile
README.md
dev-requirements.txt
entrypoints.conf
requirements.txt
setup.py

README.md

static

Serve static or templated content via WSGI or stand-alone.

Install Static

$ pip install static

Serve up some content:

$ static localhost 9999 static-content/

Or in the context of a WSGI application:

import static
wsgi_app = static.Cling('/var/www')

You can also use Python template strings, Moustache templates or easily roll your own templating plugin. See the tests and source code for examples.

Pull requests welcome. Happy hacking.