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.10.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.10.0
File Size Uploaded Provenance Actions
flet-0.10.0.tar.gz 2.2 MB Without provenance Details for flet-0.10.0.tar.gz

Built distributions (wheels)

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

Total release size: 173.7 MB

Release files / flet-0.10.0.tar.gz

Download URL flet-0.10.0.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
7745afe2f973f6c6c583d29b45890890d50b2f0bcfc44ab5b8295f744052c9a5
BLAKE2b-256 checksum
How to use checksums
d201c19d7cf1eeb7f9e5eb627da3ded12d14e61d6944f788050747ec2a30b5e9
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.10.0-py3-none-win_amd64.whl

Download URL flet-0.10.0-py3-none-win_amd64.whl
Size 22.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d1017bf5d33cc8453ffbe8c03a32ed6bc86206717209f71cf3e9369ad8d39234
BLAKE2b-256 checksum
How to use checksums
46eec9ae359f0343c48a6ee16f4b83e06f5be4b25f887c5012700dac1667ed47
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.10.0-py3-none-win32.whl

Download URL flet-0.10.0-py3-none-win32.whl
Size 22.6 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
f3b05dda84c5cf7c8915e82775dfd407bcc9f13355220cd1e148a2b9724a587a
BLAKE2b-256 checksum
How to use checksums
b7fbfa8b8f575418d3adfabcc7fe56647e4519c72641347f0f6d48944111bee9
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.10.0-py3-none-musllinux_1_2_x86_64.whl

Download URL flet-0.10.0-py3-none-musllinux_1_2_x86_64.whl
Size 8.9 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7aba68cd535df623ee0980d1bbb96f1b84cfdb7e3a003c7dc4b59bba01208e65
BLAKE2b-256 checksum
How to use checksums
fbc76c50ff58707ab42a23ac0631d47d11f437baeabd3f8a6d1102f561b8ce60
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.10.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL flet-0.10.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 20.2 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
984d77c75af9596a92c2dc2326e7d8f9b7fd8a156875757648b280756a6f377d
BLAKE2b-256 checksum
How to use checksums
85958c99ed1d3c896de1eb95b92b7c15ea5cadef705915d65275290e4a4aa851
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.10.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL flet-0.10.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 8.5 MB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
1d282b4ce017b3661415ea38e8cb3a93773c3839bbf15fbdf61e9f0ff722c15b
BLAKE2b-256 checksum
How to use checksums
d99c3451e58a0978c7eb2c41bdd85459660daeeed38f80a308a98997e38366e1
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.10.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL flet-0.10.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 19.2 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a99e8060be0a3d8ea2511c516238a07e670155ce6c1c3bedbad3943cddfb2533
BLAKE2b-256 checksum
How to use checksums
12db8c2f154bdf60e6efbbd8ccf650de60b5069e1ecd15c86ac6cd5353852884
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.10.0-py3-none-macosx_12_0_arm64.whl

Download URL flet-0.10.0-py3-none-macosx_12_0_arm64.whl
Size 33.5 MB
Tags Python 3 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
6e85c1c336c46ec2dbf00a3ca7540f44ac33bd58ea96e9203960a69da11c31b6
BLAKE2b-256 checksum
How to use checksums
403de36662549c0764a3ed842b0ef5ed6ef79098003cb6bdfd0cac06627e4be2
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.10.0-py3-none-macosx_10_14_x86_64.whl

Download URL flet-0.10.0-py3-none-macosx_10_14_x86_64.whl
Size 33.7 MB
Tags Python 3 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
445630753c17e4d5a5069ecf7ba9e717daef80a370446fff8e25b8fbf5fff9ce
BLAKE2b-256 checksum
How to use checksums
3728d9111d4ab6bc78e381d7774632a5f128271ecb2509b825bc452e4a3e109e
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.10.0-py3-none-any.whl

Download URL flet-0.10.0-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9b7dbcb25efcfce9cb961aa470971eefbc19659028b0a6f26ffaf9e92bd0bbd8
BLAKE2b-256 checksum
How to use checksums
627b5448283c06ceb684b6115c529282251feba93e36fd12d54a7f32937bb1af
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.10.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.10.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