skip to navigation
skip to content

Not Logged In

static 1.0.1

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

Latest Version: 1.0.2

# static

Serve static or tempalted 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 pluggin. See the tests and source code for examples.

Pull requests welcome. Happy hacking.

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