moduloΒΆ

Basic components of Modulo.

Functions

WSGIModuloApp(action_tree[, error_tree, ...])
all_of(*cls) Creates an Action subclass that passes requests to all given classes.
any_of(*cls, **kwargs) Creates an Action subclass that passes requests to one of the given classes.
opt(cls) Creates an Action subclass that wraps a given handler class to make it optional.
run_everything(tree, request)
timer time() -> floating point number

Classes

Local()
LocalManager([locals]) Local objects cannot manage themselves.
Request
Response([response, status, headers, ...]) Full featured response object implementing the following mixins:
defaultdict defaultdict(default_factory) –> dict with default factory

Exceptions

HTTPException([description]) Baseclass for all HTTP exceptions. This exception can be called as WSGI
InternalServerError([description]) 500 Internal Server Error
NotFound([description]) 404 Not Found

Previous topic

modulo.templating.minitmpl

Next topic

modulo.database

This Page