Skip to main content

Simple router for Falcon framework

Project description

Falcon Router

Version Downloads Formatter License

Simple router lib for Falcon framework.

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


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.4.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

falcon_router-0.0.4-py3-none-any.whl (3.6 kB view hashes)

Uploaded 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