Skip to main content

Avenue: Highway routing.

Project description

Avenue is a very extensible, but lightweight, routing system.

A quick example:

from avenue import Avenue

router = Avenue()

@router.attach(path='/', method='GET')
def hello_world():
    return 'Hallo world!'

route = {
  'path': '/',
  'method': 'GET,
}

assert router.solve(**route) == 'Hallo world!'

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page