Simple router for Falcon framework
Project description
Falcon Router
Simple router lib for Falcon framework parcels.
Idea
Falcon's default router requires specifying routes by using app.add_route()
syntax. While this
might not be a problem with small API's, it is not very friendly to repeat this line for large
API with over 50 routes. This is where Falcon Router comes in.
Features
- Both ASGI and WSGI apps supported
- Single router file supported
- Multiple router files/groups list supported
- Ending trailing slash supported
Usage
Basic (single route file) and advanced usage (multiple route groups/files) can be found under examples.
Credits
Falcon Router is heavily inspired by falcon-url-versioning
Installing Falcon Router
Falcon Router is available on PyPI:
$ python -m pip install falcon-router
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
falcon-router-0.0.1a0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for falcon_router-0.0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b4803cf17d9283f5aa1bfdc2bd29e1d23b93ffe5b21da9c0e9583a7aa41aa1 |
|
MD5 | e1ad004eceaa1f2b15e6567196c1fa96 |
|
BLAKE2b-256 | b84a8f5ad9e3d610de38fc8054125702e689acb18410c8d801e2b768b53c2df7 |