Skip to content

riffm/routr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages

  • Python 100.0%