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


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
Filename, size wsgiview-0.2.1-py2.5.egg (4.7 kB) File type Egg Python version 2.5 Upload date Hashes View
Filename, size wsgiview-0.2.1.tar.bz2 (6.4 kB) File type Source Python version None Upload date Hashes View
Filename, size wsgiview-0.2.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View
Filename, size wsgiview-0.2.1.win32.exe (66.2 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size wsgiview-0.2.1.zip (9.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page