Skip to main content

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

Metadata

Release files for falcon-router 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for falcon-router 0.0.4
File Size Uploaded Provenance
falcon-router-0.0.4.tar.gz 3.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for falcon-router 0.0.4
File Interpreter ABI Platform
falcon_router-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / falcon-router-0.0.4.tar.gz

Download URL falcon-router-0.0.4.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2a4cdf4a42d5d7960290d4cd7efecde2bdc84aecabf7f8ad6edad3b476705f7e
BLAKE2b-256 checksum
How to use checksums
640ed67d97633881b6811c15b2b65357af6c0a67748a9b5e159eb57b862e03d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / falcon_router-0.0.4-py3-none-any.whl

Download URL falcon_router-0.0.4-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebe3e61d6c51754ddaa9c09e4fd77af775a195a1af338a2a97892bb03429a27f
BLAKE2b-256 checksum
How to use checksums
f448b0bed0a1941d9181d366f7e2fd0b61fa9def46d4fd96c2042f1d48060c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Security for falcon-router 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page