Skip to main content

flet-utils

Utility helpers, reusable components and a lightweight storage layer for Flet 0.23.0 applications.

Features

  • AppStorage — one-line SQLite setup: creates all required tables automatically.
  • import_data — load rows from an .xlsx file into any table.
  • build_columns / build_rows — generate DataColumn / DataRow lists with optional action buttons based on the current user role.
  • build_product_cards — render a list of product Card widgets with discount highlighting and role-based controls.
  • run — launch the bundled reference application.

Requirements

  • Python ≥ 3.8
  • flet == 0.23.0
  • pandas
  • openpyxl

Installation

pip install flet-utils

Quick start

from flet_utils import AppStorage, import_data

store = AppStorage("my_app")
db = store.db

import_data(db, "products.xlsx", "products")

Run the reference app

flet-utils

or from Python:

from flet_utils import run
run()

Module overview

Module Purpose
flet_utils.storage AppStorage — initialises the SQLite database
flet_utils.importer import_data — Excel → table
flet_utils.components build_columns, build_rows, build_product_cards
flet_utils.app main, run — complete Flet application

License

MIT

Release files for flet-toolkit 0.23.0

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

Source distribution (sdist)

Source distribution for flet-toolkit 0.23.0
File Size Uploaded
flet_toolkit-0.23.0.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flet-toolkit 0.23.0
File Interpreter ABI Platform
flet_toolkit-0.23.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / flet_toolkit-0.23.0.tar.gz

Download URL flet_toolkit-0.23.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3ce0ad13e0dddecb305ca02c10acb808438868ad3e3dd2281b8837235fde399a
BLAKE2b-256 checksum
How to use checksums
6ff0a6b260848e486115658828de5762ac80a9de81e4a2960dda0eea122d8f0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / flet_toolkit-0.23.0-py3-none-any.whl

Download URL flet_toolkit-0.23.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1c7d8063794fef9513debf3990398316157a7692947c80d34ae0fd18d8bb82d
BLAKE2b-256 checksum
How to use checksums
47e5a2c93de569ca0eb681a8c4308a334015a55bd3fc3401ed5520772a55b7e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.23.0 This release

2 release files

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