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)

Project details

Download files

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

Source Distributions (9.4 kB view hashes)

Uploaded source

wsgiview-0.2.1.tar.gz (6.3 kB view hashes)

Uploaded source

wsgiview-0.2.1.tar.bz2 (6.4 kB view hashes)

Uploaded source

Built Distributions

wsgiview-0.2.1.win32.exe (66.2 kB view hashes)

Uploaded any

wsgiview-0.2.1-py2.5.egg (4.7 kB view hashes)

Uploaded 2 5

wsgiview-0.2.1-py2.4.egg (4.8 kB view hashes)

Uploaded 2 4

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page