10000 GitHub - lukearno/static: A very simple WSGI way to serve static and dynamic content.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lukearno/static

Repository files navigation

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.

About

A very simple WSGI way to serve static and dynamic content.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0