Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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
History Node

0.2.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
wsgiview-0.2.1-py2.4.egg (4.8 kB) Copy SHA256 hash SHA256 Egg 2.4 Jan 2, 2007
wsgiview-0.2.1-py2.5.egg (4.7 kB) Copy SHA256 hash SHA256 Egg 2.5 Jan 2, 2007
wsgiview-0.2.1.tar.bz2 (6.4 kB) Copy SHA256 hash SHA256 Source None Jan 2, 2007
wsgiview-0.2.1.tar.gz (6.3 kB) Copy SHA256 hash SHA256 Source None Jan 2, 2007
wsgiview-0.2.1.win32.exe (66.2 kB) Copy SHA256 hash SHA256 Windows Installer any Jan 2, 2007
wsgiview-0.2.1.zip (9.4 kB) Copy SHA256 hash SHA256 Source None Jan 2, 2007

Supported by

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