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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file Avenue-0.2.2.tar.gz.

File metadata

  • Download URL: Avenue-0.2.2.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Avenue-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ee12812192e4a43ca5109f7eba41fd179e4d73466e2b5ceff6b29ea8276959bc
MD5 4e46130a061811dc92f4b772b615d093
BLAKE2b-256 1cefaa0147c60a3ce320761add128d445e29ee44c93f857631f37fc125649ddd

See more details on using hashes here.

File details

Details for the file Avenue-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Avenue-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1c4740bd6ea5fd5f21a99700f27d290ff8ff219e90e2666db86eeeb538a16c0b
MD5 769c76523b7cc78766cdc0d438afb256
BLAKE2b-256 eab64809b0f57a6460b4dacf6ef003e9d956fa79f1304d6202b1781b2ffa22d8

See more details on using hashes here.

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