wsgiview 0.2.1
Use TurboGears template plug-ins anywhere.
WSGI middleware that connects TurboGears/Buffet
template plug-ins with 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!
'}
if __name__ == '__main__':
from wsgiref.simple_server import make_server
http = make_server('', 8080, simple_app)
http.serve_forever()
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| wsgiview-0.2.1-py2.4.egg (md5) | Python Egg | 2.4 | 2007-01-02 | 4KB | 844 |
| wsgiview-0.2.1-py2.5.egg (md5) | Python Egg | 2.5 | 2007-01-02 | 4KB | 796 |
| wsgiview-0.2.1.tar.bz2 (md5) | Source | 2007-01-02 | 6KB | 550 | |
| wsgiview-0.2.1.tar.gz (md5) | Source | 2007-01-02 | 6KB | 518 | |
| wsgiview-0.2.1.win32.exe (md5) | MS Windows installer | any | 2007-01-02 | 64KB | 276 |
| wsgiview-0.2.1.zip (md5) | Source | 2007-01-02 | 9KB | 525 | |
- Author: L. C. Rees
- Keywords: template TurboGears Buffet plug-in WSGI
-
Categories
- Development Status :: 4 - Beta
- Environment :: Web Environment
- Environment :: Web Environment :: Buffet
- Framework :: TurboGears
- License :: OSI Approved :: BSD License
- Natural Language :: English
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
- Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
- Topic :: Text Processing :: Markup :: HTML
- Topic :: Text Processing :: Markup :: XML
- Package Index Owner: lcrees
- DOAP record: wsgiview-0.2.1.xml
