forked from andreypopp/routr
Request routing for WebOb based WSGI applications
riffm/routr
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
routr -- lightweight request routing for WebOb ============================================== Just a small example:: from routr import route, GET, POST from routr.schema import form, String routes = route("/users", route(POST, "/", "views.create_user", guards=[form(username=String)]), route(GET, "/{id:int}", "views.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
Languages
- Python 100.0%