Skip to content
HN On Hacker News ↗

Build cross-platform apps in Python | Flet

▲ 132 points 59 comments by absqueued 14h ago HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

26 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 425
PEAK AI % 26% · §1
Analyzed
Sep 17
backend: pangram/v3.3
Segments scanned
1 windows
avg 425 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 425 words · 1 segments analyzed

Human AI-generated
§1 Human · 26%

Meet Flet 1.0 Your next app.Built in Python.Build beautiful web, desktop, and mobile apps from one Python codebase.No frontend experience required. Just Python.One codebase.Make yourself at home.iOSAndroidWindowsmacOSLinuxWebA SIMPLE EXAMPLEYour first Flet app.Start with a simple counter to see how Flet turns Python code into an interactive app.Build the interfaceUse ready-made controls for the text and button. Arrange them with Python.Add the behaviorConnect the button to a Python function that increases the count.TRY IT YOURSELFTry online Open Flet Studio.No installation needed.Try locally Follow the installation guide for uv or pip.counter.pyimport flet as ftdef main(page: ft.Page): counter = ft.Text("0", size=50, data=0) def increment(e): counter.data += 1 counter.value = str(counter.data) page.floating_action_button = ft.FloatingActionButton( icon=ft.Icons.ADD, on_click=increment ) page.add( ft.Container( content=counter, alignment=ft.Alignment.CENTER, expand=True, ) )ft.run(main) flet run counter.pyBUILT FOR THE WHOLE JOURNEYMore than a pretty interface.The controls, libraries, and tools to take your app from an experiment to something you ship.Good-looking Python GUIs150+ controls and services. Layouts, navigation, forms, and dialogs, with customizable colors, typography, and themes.Explore the controls Your Python libraries. On mobile.Bring NumPy, pandas, Pillow, and cryptography along. Prebuilt packages for iOS and Android save you the work of compiling native dependencies.Browse Python packages Ready to shipPackage your app for desktop, mobile, and web with flet build. Prepare it for distribution, including the App Store and Google Play.Build and publish The web, your wayRun Python in the browser with Pyodide and WebAssembly, or keep your code on a server and send real-time UI updates.Explore web deployment Test your appWrite pytest tests that tap buttons, enter text, and check user flows in your packaged app. Catch visual changes with screenshots on iOS and Android.Test your app Give your AI the right contextConnect your coding assistant to Flet MCP for version-specific API information and tools to find examples, icons, and CLI options.Connect Flet MCP Make it your ownCompose custom controls in Python or wrap Flutter packages in extensions to add new UI components and platform integrations.Build an extension Build for more peopleSupport screen readers with labels and custom semantics. Add keyboard shortcuts and inspect the accessibility information your UI exposes.Explore accessibility MEET FLET STUDIOAn idea is agreat place to start.Open your browser. Pick an example, write some Python, or ask the AI agent for a hand. Run your app and share what you make.Create in Studio No installation required.01Find your starting pointExplore the Gallery and make an example your own.02Make it work your wayEdit the code, get help from AI, and see your app run.03Share what you madeSend a link, or download your project and keep building locally.Explore the Gallery