No default branch
Bookmark a link to HEAD: (view) (download)
More new features * Redirector objects redirect to a URL with embedded vars or expressions * @expose makes normal functions into subpages, ala Template.page() * More tests, docs
More doc and tests, support query string in auto-redirects, and sort 'Allow' methods (so doctests are stable).
New features and bug fixes: * Added a ``test()`` function to make it easy to doctest any WSGI app * Improved debug support for ``EvalMap`` -- previously, pdb could crash if you inspected the stack while evaluating a template expression. * Improved HEAD method that should correctly compute Content-Length for any WSGI app, even ones that use write(). * Fixed cgi.escape not working as a method (it needed to be a staticmethod) * Added some preliminary doctests to README.txt (need refactoring and some actual docs!)
Quick-and-dirty ultra-light WSGI-based microframework. The main design goals are to minimize the footprint for installation requirements, memory use, and startup time. So all it does is dispatch and templating; the templates are basically souped-up string.Template objects with some limited expression capabilities, but arbitrary TG/Buffet template engines are also supported, and the template mechanism supports creating templates from egg resources (e.g. foo = HTML(resource="foo.html")) that are adjacent to the invoking module. There is also some very basic form parsing and validation support. More features may be added as I need them... or not.
Powered by ViewCVS 1.0-dev