/flet-router

FastAPI-like routing for Flet

Primary LanguagePythonMIT LicenseMIT

Flet Router

License

Overview

Flet Router is a lightweight and flexible routing library for Flet (Python). It provides a simple and intuitive way to define and handle routes in your Flet applications.

Features

  • Easy route definition using decorators
  • URL parameter extraction
  • Middleware support
  • Route grouping and prefixing

Example

See the example in the samples folder

Installation

You can install Flet Router using pip:

pip install git+https://github.com/50Bytes-dev/flet-router.git