Use TurboGears template plug-ins anywhere WSGI runs
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
wsgiview-0.2.1.zip
(9.4 kB
view hashes)
wsgiview-0.2.1.tar.gz
(6.3 kB
view hashes)
wsgiview-0.2.1.tar.bz2
(6.4 kB
view hashes)
Built Distributions
wsgiview-0.2.1.win32.exe
(66.2 kB
view hashes)
wsgiview-0.2.1-py2.5.egg
(4.7 kB
view hashes)
wsgiview-0.2.1-py2.4.egg
(4.8 kB
view hashes)