flet-dev /flet

Build realtime web, mobile and desktop apps in Python only. No frontend experience required.

★ 17,556⑂ 753👁 145⑃ 1,362● 3,295▤ 173
PythonApache-2.0Created 2022-03-24flet.dev
Download: v1.1.2v1.1.2 ↓1.1.22026-11-06
+3
Daily
17,556
stars
753
forks
145
watchers
1,362
prs
3,295
issues
173
releases

README

Build cross-platform apps in Python. No frontend experience required.



    
        
    
        
    
        
    
        = 3.10" /
    
        
    
        


Flet is a Python framework for building web, desktop, and mobile apps without prior experience in frontend development.

 Try Flet online in Flet Studio

 Create, run, and share Python apps in your browser. Start from an example, write your own code, or get help from the AI agent. No installation required.

    One Python codebase, six platforms

Build your interface and application logic in Python, and run your app on iOS, Android, Windows, macOS, Linux, and web. No Dart, Swift, Kotlin, HTML, or JavaScript required.

    150+ built-in controls and services

Create your interface with ready-made layouts, buttons, forms, navigation, and dialogs. Customize colors, typography, and themes, with Material and Cupertino controls to suit your app.

    Declarative UI for growing apps

Organize your app into reusable components and let the UI update when application state changes. Prefer changing controls directly? The imperative style is supported too. Compare the approaches.

    Your Python libraries, on mobile

Use libraries such as NumPy, pandas, Pillow, and cryptography in your mobile apps. Flet provides prebuilt binary packages for iOS and Android, so you don't have to compile native dependencies yourself.

    Run in the browser or on your server

Run Python directly in the browser with Pyodide and WebAssembly, with no Python server required. Or keep your Python code on a server and deliver real-time UI updates to the browser.

    Built-in packaging

Use flet build to package your app for desktop, mobile, or web distribution, including the App Store and Google Play. Configure dependencies, icons, and platform settings in your project's pyproject.toml.

    Test your app on desktop and mobile

Write integration tests with pytest and run them against your packaged app with flet test. Tap buttons, enter text, and verify user flows on desktop and mobile, with screenshot comparisons on Android and iOS.

    Build with help from AI

Explore and create apps with the AI agent in Flet Studio, or connect your coding assistant to the Flet MCP server for version-specific API information and tools to find examples and icons.

    Extensible

Build custom controls in Python by composing existing controls, or create extensions that wrap Flutter packages to add new UI components and platform integrations.

    Accessible

Add screen-reader labels, tooltips, keyboard shortcuts, and custom semantics to help more people use your app. Inspect the accessibility information your UI exposes with the semantics debugger.

 Flet app example

This simple counter app displays a number in the center of the screen. Press the + button to increment it:

python
impor

Top issues

Discussions

Latest release

v1.1.2 v1.1.2 2026-11-06
Improvements

 Start web apps up to 2 MB lighter: flet build web and Flet's built-in web client (flet run --web, flet publish) leave out the six Lucide weight fonts no Flet icon uses (2.9 MB), and load the fonts of math in Markdown (KaTeX) and of flet-shadcn-ui (Lucide, Geist) the first time a control needs them, instead of before the first frame (7054) by @FeodorFitsner.

 Bug fixes

 Fix web apps served by Flet (flet run --web, FastAPI) logging AttributeError: 'NoneType' object has no attribute 'after_event' when the browser reloads or closes the page while main() is still running (7055) by 

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON