skip to navigation
skip to content

wsgiview 0.2.1

Use TurboGears template plug-ins anywhere WSGI runs

WSGI middleware that connects TurboGears/Buffet template plug-ins to any WSGI-enabled application.

Usage example:

from wsgiview import view

@view('webstring:template.html', format='html')
def simple_app(environ, start_response):
    start_response('200 OK', [('Content-type','text/html')])
    return {'test':'Hello world!\n'}

if __name__ == '__main__':
    from wsgiref.simple_server import make_server
    http = make_server('', 8080, simple_app)
    http.serve_forever()
 
File Type Py Version Uploaded on Size
wsgiview-0.2.1-py2.4.egg (md5) Python Egg 2.4 2007-01-02 4KB
wsgiview-0.2.1-py2.5.egg (md5) Python Egg 2.5 2007-01-02 4KB
wsgiview-0.2.1.tar.bz2 (md5) Source 2007-01-02 6KB
wsgiview-0.2.1.tar.gz (md5) Source 2007-01-02 6KB
wsgiview-0.2.1.win32.exe (md5) MS Windows installer any 2007-01-02 64KB
wsgiview-0.2.1.zip (md5) Source 2007-01-02 9KB