Skip to main content

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

This version

0.2.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wsgiview, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size wsgiview-0.2.1-py2.4.egg (4.8 kB) File type Egg Python version 2.4 Upload date Hashes View hashes
Filename, size wsgiview-0.2.1-py2.5.egg (4.7 kB) File type Egg Python version 2.5 Upload date Hashes View hashes
Filename, size wsgiview-0.2.1.tar.bz2 (6.4 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size wsgiview-0.2.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size wsgiview-0.2.1.win32.exe (66.2 kB) File type Windows Installer Python version any Upload date Hashes View hashes
Filename, size wsgiview-0.2.1.zip (9.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page