skip to navigation
skip to content

Not Logged In

static 1.0.2

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

# 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:

`python 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.

 
File Type Py Version Uploaded on Size
static-1.0.2.tar.gz (md5) Source 2014-01-20 5KB
  • Downloads (All Versions):
  • 651 downloads in the last day
  • 3713 downloads in the last week
  • 17174 downloads in the last month