Registry / web-framework / flet-cli

flet-cli

JSON →
library0.84.0pypypi✓ verified 35d ago

Command-line interface for Flet, a Python framework for building real-time web, desktop, and mobile apps. Current version 0.84.0, actively developed with frequent releases.

web-framework
Install & Compatibility
Where this runs
tested against v0.85.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 5.9s
py 3.11
✓ —
✓ 5.7s
py 3.12
✓ —
✓ 5.15s
py 3.13
✓ —
✓ 5.05s
py 3.9
1/2 runs
1/2 runs
58MB installed
● package 58MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

flet-cli is a separate package; the library itself is flet

import flet

Requires keyword argument 'target' since flet 0.23.0

ft.app(target=main)

Create a minimal Flet app. Save as hello.py and run with 'flet run hello.py' (web) or 'flet run hello.py --ios' for mobile.

import flet as ft def main(page: ft.Page): page.title = 'Flet app' page.add(ft.Text('Hello, Flet!')) ft.app(target=main)
flet --version
Debug
Known footguns
breakingIn flet 0.23.0, ft.app() required the 'target' keyword argument; positional arguments deprecated and removed.
deprecatedThe flet build command is being replaced by flet pack in future versions.
gotchaRunning flet run on mobile emulator requires --ios or --android flag; otherwise defaults to web.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
4
ahrefsbot
4
claudebot
3
script
1
Resources