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!'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Avenue-0.2.2.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

Avenue-0.2.2-py2.py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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