r/Python • • Sep 16 '26

News Flet 1.0 released: build desktop, mobile, and web apps in Python

I'm the creator of Flet, and we've just released version 1.0 after more than four years of development.

You may have heard of Flet or already be using it. If it's new to you, Flet is an open-source framework for building GUIs in Python. You write the interface and application logic in Python, then package the app for Windows, macOS, Linux, iOS, Android, or the web.

For example, you can put a GUI around a pandas workflow, build a mobile app that processes images with Pillow, or turn a Python script into a desktop application with forms, buttons, and charts.

Here's what we've been working on leading up to 1.0:

Python libraries on your phone

Packaged desktop and mobile apps include CPython, so your Python code runs on the device without needing a separate server. You can bundle Python 3.12, 3.13, or 3.14.

Getting libraries with C and Rust dependencies working on mobile has been a substantial part of the work. We now maintain an index of more than 100 packages and supporting native libraries, including NumPy, pandas, SciPy, Matplotlib, Pillow, scikit-learn, cryptography, and pydantic-core.

Availability varies by package and target. The package list shows what's supported, and the build infrastructure is open source.

Two ways to write your UI

You can create controls and change their properties directly, or use the declarative API to describe the interface from application state. The latter provides state hooks and reusable Python components for organizing larger applications.

Both approaches are supported. Here's a comparison with examples.

Test your app with pytest

You can write tests that launch your packaged app, tap buttons, enter text, and check the resulting UI on desktop or mobile. Tests use pytest, including fixtures and parametrization. On Android and iOS, you can also compare screenshots to catch visual changes.

Integration testing documentation

Faster updates and better packaging

We've improved how Flet calculates UI changes and reduced startup work. In packaged native apps, Python now communicates with the UI runtime within the same process, without sockets. On Android, Python packages can load directly from the APK without being extracted first.

For web apps, Python can run in the browser through Pyodide or on a server through FastAPI/Uvicorn.

Trying it and upgrading

You can try examples and edit Python code in your browser using Flet Studio, or follow the local installation guide for uv or pip.

If you're coming from Flet 0.28, please read the migration guide. Version 1.0 includes breaking API changes and isn't a drop-in replacement.

Flet is licensed under Apache 2.0.

Source code · Full release announcement

Happy to answer questions about the framework, Python packaging, or running Python libraries on mobile.

309 Upvotes

44 comments sorted by

View all comments

14

u/nphare Sep 16 '26

How does this compare to Streamlit? That’s what I’m currently using for a large internal tools suite that I’ve written. I also use it to start other cli tools I’ve written in Rust and manage and present the outputs. Would that work?

21

u/feodorfff Sep 16 '26

With Flet you can make not just web, but desktop and mobile apps too. Comparing Flet and Streamlit web apps, with Flet you can do either "dynamic" web app where Python logic is running on the server or "static" web app running Python and all the libraries in the browser using Pyodide and WebAssembly. Streamlit is server-side only. As for your second question: on desktop, a packaged Flet app includes a standard Python runtime, so yes, it can launch other executables using libs such as `subprocess`.

3

u/nphare Sep 16 '26

Sounds interesting. I’ll check it out. I had also built a multi-platform GUI using egui, but at some point the dual functionality maintenance got too much and I just dropped it. Have been building binary deployable versions using nuitka.

2

u/Sombre_Ombre Sep 16 '26

I was doing that too, and I swapped to just building a tiny binary, whose purpose is to install the package locally using uv + Python. After install it just forwards all args to the installed library in the managed uv.  It bundles the wheel inside itself.

The build is SO much quicker and it still works anywhere!

It also saves you having to build TKinter etc, which is a huge pain.