Skip to main content

Flet - quickly build interactive apps for web, desktop and mobile in Python

Flet is a rich User Interface (UI) framework to quickly build interactive web, desktop and mobile apps in Python without prior knowledge of web technologies like HTTP, HTML, CSS or JavaSscript. You build UI with controls based on Flutter widgets to ensure your programs look cool and professional.

Requirements

  • Python 3.7 or above on Windows, Linux or macOS

Installation

pip install flet

Create the app

Create main.py file with the following content:

import flet as ft

def main(page: ft.Page):
    page.title = "Flet counter example"
    page.vertical_alignment = ft.MainAxisAlignment.CENTER

    txt_number = ft.TextField(value="0", text_align=ft.TextAlign.RIGHT, width=100)

    def minus_click(e):
        txt_number.value = str(int(txt_number.value) - 1)
        page.update()

    def plus_click(e):
        txt_number.value = str(int(txt_number.value) + 1)
        page.update()

    page.add(
        ft.Row(
            [
                ft.IconButton(ft.icons.REMOVE, on_click=minus_click),
                txt_number,
                ft.IconButton(ft.icons.ADD, on_click=plus_click),
            ],
            alignment=ft.MainAxisAlignment.CENTER,
        )
    )

ft.app(main)

Run as a desktop app

The following command will start the app in a native OS window:

flet run main.py

Sample app in a native window

Run as a web app

The following command will start the app as a web app:

flet run --web main.py

Sample app in a browser

Learn more

Visit Flet website.

Continue with Python guide to learn how to make a real app.

Browse for more Flet examples.

Join to a conversation on Flet Discord server.

Metadata

Release files for flet 0.13.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 0.13.0
File Size Uploaded Provenance Actions
flet-0.13.0.tar.gz 2.2 MB Without provenance Details for flet-0.13.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for flet 0.13.0
File Actions
flet-0.13.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for flet-0.13.0-py3-none-win_amd64.whl
flet-0.13.0-py3-none-win32.whl Python 3 none Windows x86-32 Details for flet-0.13.0-py3-none-win32.whl
flet-0.13.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for flet-0.13.0-py3-none-musllinux_1_2_x86_64.whl
flet-0.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for flet-0.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
flet-0.13.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l Details for flet-0.13.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
flet-0.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for flet-0.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
flet-0.13.0-py3-none-macosx_12_0_arm64.whl Python 3 none macOS 12.0+ ARM64 Details for flet-0.13.0-py3-none-macosx_12_0_arm64.whl
flet-0.13.0-py3-none-macosx_10_14_x86_64.whl Python 3 none macOS 10.14+ x86-64 Details for flet-0.13.0-py3-none-macosx_10_14_x86_64.whl
flet-0.13.0-py3-none-any.whl Python 3 none any Details for flet-0.13.0-py3-none-any.whl

Total release size: 176.5 MB

Release files / flet-0.13.0.tar.gz

Download URL flet-0.13.0.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
a0eb6d9fc67e3f1f328ce7469c54321d31fc1bed0babbdddb6b07bd52fe7649b
BLAKE2b-256 checksum
How to use checksums
73a58e80770a24484243709f4489522a8295cb758d409c77864af27cff9d9e84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-win_amd64.whl

Download URL flet-0.13.0-py3-none-win_amd64.whl
Size 23.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0202f148991bc4b7682c5d76d7a9bacfdc83fa3921ebaab95fd4a23cad02b765
BLAKE2b-256 checksum
How to use checksums
f05501d0366e69a7b778e30b39bb2ae377f9e65ccf78da8ecff0b3f2e61caf0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-win32.whl

Download URL flet-0.13.0-py3-none-win32.whl
Size 23.0 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
728e494888d34c1a3abd2556857d46b69ff6bd7e91ea0fde58caead00bd26f6c
BLAKE2b-256 checksum
How to use checksums
57f1528220cb8ca73b9bbb45a9b42d2f313e4b1426e93a5fb2c77225a615301d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-musllinux_1_2_x86_64.whl

Download URL flet-0.13.0-py3-none-musllinux_1_2_x86_64.whl
Size 9.0 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e17d33dd260cf2cd1137e62c0817a698ea0db75f0c60df712a085f1253418e30
BLAKE2b-256 checksum
How to use checksums
f066e493cbab352877e6cee103f2b572f7f428bb3dc6909e03b6863622b70b57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL flet-0.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 20.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
3bbd200a1200c6f2742dd3f2428c233960da88a4db92fe8c602ccf15ab566aad
BLAKE2b-256 checksum
How to use checksums
e0d46f1c6197c844be840ce6fac8939e28b5cbc99de2c02fc40177941b3c5577
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL flet-0.13.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 8.6 MB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
a20fe79ebc159ab5bee49b7f305c65e13678a3b3433264e6d8c379c499d56e59
BLAKE2b-256 checksum
How to use checksums
6681f631e1acc4a762f1c038b7608fb901c9431b8c33c081dd267afcb7192a9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL flet-0.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 19.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
39ac84f8ccf4c3f8c9636cc0772cf4df9cfb83658bf2528da9e435ba00ca05e5
BLAKE2b-256 checksum
How to use checksums
b7e9e722a8b9fc4bfc2d09c1cdcfd11dbe1b22c8a06e3ef0121d2fd517e18a16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-macosx_12_0_arm64.whl

Download URL flet-0.13.0-py3-none-macosx_12_0_arm64.whl
Size 34.0 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
3ae27513b1967aa8d2481dc9fcafc052462e1b1825bea7f7333ed1f9cfc2e73c
BLAKE2b-256 checksum
How to use checksums
4a5b00369b5bbb3077f5d6230f5af09f245f6a79fe0a3bcc2c6def1ef8ee814a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-macosx_10_14_x86_64.whl

Download URL flet-0.13.0-py3-none-macosx_10_14_x86_64.whl
Size 34.3 MB
Tags Python 3 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
a5f9f251c4c91cec6e9c8f51d84a16853e193016a663c3459b59c501dc64a1bd
BLAKE2b-256 checksum
How to use checksums
8a7ebccdd5068a38dc943d0cafb060f1a902d32c2c762350a50e311dafce2684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / flet-0.13.0-py3-none-any.whl

Download URL flet-0.13.0-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9413de0825ce78979f1570fb17c487e1aa89b0605d57c180887987722cd51f89
BLAKE2b-256 checksum
How to use checksums
60c5272b3c159053c668ac1069ce5aee7a75be6530fa2130f2e12ba43990351b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for flet 0.13.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.13.0 This release

10 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