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.tar.bz2 (md5) | Source | 2007-01-02 00:04:32 | 6KB | 241 | |
| wsgiview-0.2.1-py2.4.egg (md5) | Python Egg | 2.4 | 2007-01-02 00:05:17 | 4KB | 388 |
| wsgiview-0.2.1.win32.exe (md5) | MS Windows installer | any | 2007-01-02 00:04:59 | 64KB | 153 |
| wsgiview-0.2.1-py2.5.egg (md5) | Python Egg | 2.5 | 2007-01-02 00:05:59 | 4KB | 375 |
| wsgiview-0.2.1.zip (md5) | Source | 2007-01-02 00:05:07 | 9KB | 210 | |
| wsgiview-0.2.1.tar.gz (md5) | Source | 2007-01-02 00:04:43 | 6KB | 210 | |
- Author: L. C. Rees <lcrees at gmail com>
- 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
Log in to rate this package.
