andreypopp / routr Public
Request routing for WebOb based WSGI applications
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Code
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
routr -- lightweight request routing for WebOb ============================================== Just a small example:: from routr import route, GET, POST from routr.schema import form, String def create_user(username=None): ... def get_user(id): ... routes = route("/users", route(POST, "/", form(username=String), create_user), route(GET, "/{id:int}", get_user) ) Docs_ are hosted at excellent readthedocs project. .. _docs: http://routr.readthedocs.org/
About
Request routing for WebOb based WSGI applications
Resources
Stars
Watchers
Forks
Packages 0
No packages published