Avenue: Highway routing.
Project description
Avenue is a very extensible, but lightweight, routing system.
Free software: MIT license
Documentation: http://documentation.creeer.io/avenue/
Source-code: https://github.com/corverdevelopment/avenue/
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee12812192e4a43ca5109f7eba41fd179e4d73466e2b5ceff6b29ea8276959bc |
|
MD5 | 4e46130a061811dc92f4b772b615d093 |
|
BLAKE2b-256 | 1cefaa0147c60a3ce320761add128d445e29ee44c93f857631f37fc125649ddd |
File details
Details for the file Avenue-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: Avenue-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4740bd6ea5fd5f21a99700f27d290ff8ff219e90e2666db86eeeb538a16c0b |
|
MD5 | 769c76523b7cc78766cdc0d438afb256 |
|
BLAKE2b-256 | eab64809b0f57a6460b4dacf6ef003e9d956fa79f1304d6202b1781b2ffa22d8 |