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.3

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

Built distributions (wheels)

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

Total release size: 173.7 MB

Release files / flet-0.10.3.tar.gz

Download URL flet-0.10.3.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
ebef20f971945ddc3a5e874d9658f595107cbd1892f8dfb0503d76c7850b8234
BLAKE2b-256 checksum
How to use checksums
f53d4674ede8512630ca88b5fa668aeb234756a18f72c66a66e7fb4f928927a2
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.3-py3-none-win_amd64.whl

Download URL flet-0.10.3-py3-none-win_amd64.whl
Size 22.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3064f627398271bcb2f38b604eb1c747e0ea458bf7f363ee9bd8cec1a6abc001
BLAKE2b-256 checksum
How to use checksums
18c1b5b802eb31690e1a77c0e8a71db21d5f1570949f8f52cbdd65f91462bd7c
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.3-py3-none-win32.whl

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

Download URL flet-0.10.3-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
fdfd033179cb1e96dde710af465b4d7ec43a54b55503879d25bb8b15a7f9c149
BLAKE2b-256 checksum
How to use checksums
1c58d27e840b118d7b1b0e3b6e0168aaa40814ef007e356b0ad7568a273abe47
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.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL flet-0.10.3-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
e9c09799d727e3521295ca2568c80cfeb7c94530490c957dab95a83d8dc6f3bd
BLAKE2b-256 checksum
How to use checksums
a1c691712aa22b0b25727febd2b94444bf246852338d31df675a0c17aaee9894
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.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL flet-0.10.3-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
dfe08dc9defdcbd147beda73a75ce2fd1d89ee952c1d6473e5b6c51fdd1bf04f
BLAKE2b-256 checksum
How to use checksums
b3c8952c8626c2daa7f4b9fd09fde6211554c9bd7accce9889d4e10add0c4b8a
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.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL flet-0.10.3-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
c49d8aa6c078aa6b0e380b26ae75f8c02301c7ea632f06df9c7a49946b378224
BLAKE2b-256 checksum
How to use checksums
a36e32b9a70c205a60b06aab2eb102bffcc2bb090dd72d847d140e7a4b5b2ee9
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.3-py3-none-macosx_12_0_arm64.whl

Download URL flet-0.10.3-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
273c0dcab3d612c549fbdd013dd9fc767d8beda163cde8b5c6ef86cd2903c676
BLAKE2b-256 checksum
How to use checksums
22704d679cbf861465f63a2e957dbbe490722cbff26e6bd267f7d41b0fe62556
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.3-py3-none-macosx_10_14_x86_64.whl

Download URL flet-0.10.3-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
3ca2bb41bf1da77ce135ee8dd34a0764414680987ce189cabae95f5936cf7b85
BLAKE2b-256 checksum
How to use checksums
b103d0ee4f315750faa8ba8c867296d760e812f8ab23449ef0edd5b468c73e93
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.3-py3-none-any.whl

Download URL flet-0.10.3-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
81f22eda3080e335fac3dbef5533a30030d0c52849db9acb3d39b1ff6190cc6e
BLAKE2b-256 checksum
How to use checksums
f6617042427d6852c6fe6bed2b56ccc34a20e357364d5671f1b8870155d5fada
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.3

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.3 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