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

Metadata

Release files for flet-tools 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-tools 0.23.0
File Size Uploaded Provenance
flet_tools-0.23.0.tar.gz 6.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 8.9 kB

Release files / flet_tools-0.23.0.tar.gz

Download URL flet_tools-0.23.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1780302146262c37d991d3d4117b91dfda4d641cfa10b79f647520575efc394f
BLAKE2b-256 checksum
How to use checksums
bc1c6adaf504e5333f5315b1a40de6351e950e2f9e378d53aa4438f35d61f358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

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

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

Security for flet-tools 0.23.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.23.0 This release

2 release files No provenance

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