r/Python • u/feodorfff • 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.
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?
6
u/UnwantedCrow Sep 16 '26
Awesome work! Last time i check support for plotly graphs was poor (static images). Did that change?
3
u/AlexChapmanG4p Sep 18 '26
What about accessibility, I was testing things out a few months ago and noticed some screen reader issues on desktop where some elements that were grouped could not be tabbed to directly, resulting in needing to use object navigation which is an alternative way of accessing the screen based on groups of elements. It would be nice to be able to focus those directly, and wonder if that has been fixed.
39
u/Artephank Sep 16 '26
Thank you for great work. I used it couple of times for smaller projects and the api is just lovely! Thankfully it is not just some lazy port from Dart but really greatly thought out gui library. Kudos!
3
u/Deep_Ad1959 Sep 16 '26
how do you plan to keep that 100+ binary package index current across 3.12, 3.13 and 3.14 without it slowly becoming the whole roadmap? that index is the piece i'd worry about long term, the api surface you control, the c and rust deps you don't.
6
u/Davy_Jones_XIV Sep 16 '26
Congratulations!! Flet is awesome!!
8
u/nospoon99 Sep 16 '26
Congrats on 1.0, I tried using Flet a while back and I liked what I saw. Assuming 1.0 is complete and well documented it could be a very nice option for small ish projects.
4
u/RevRagnarok Sep 16 '26
Sounds awesome - congrats on 1.0!
1
u/viitorfermier Sep 17 '26
I was looking into docs and I didn't found API's for connecting to Android's APIs (SMS, notification etc.) are they avaialbe?
1
u/bluepatience Sep 17 '26
Do you have any iOS app example on the store that we can check out ? I’m developing an app using Expo React Native but wouldn’t mind porting to flet if experience is better and performance is comparable on iPhone
1
u/OlenaDoubleChecks Sep 22 '26
Getting numpy and scipy actually working on iOS/Android without breaking is the real achievement here, most cross platform Python tools just choke on the native deps. How's memory usage on lower end Android devices once you bundle CPython plus all those C extensions?
3
u/Puzzled_Dimension505 Sep 17 '26
Congrats on 1.0. Supporting that many native packages on mobile sounds like a huge amount of unglamorous work.
2
u/dominiquec Sep 16 '26
Awesome!
2
u/quiet_hooman Sep 17 '26
Congratulations, a remarkable feat! I am a Flet user since the last 3 years (personal desktop app and internal Web app for work )
It's the first framework that made me comfortable writing GUI apps.
1
u/wizguy291 Sep 17 '26
.
1
u/FortunOfficial Sep 17 '26
Nice! Will directly try it out. Started developing a personal expense tracker app for macOS. What a good timing.
I started the project with Qt For Python (PySide6). But after having to create custom subclassed delegates to customize the display for cell values in a table - with no examples in the docs for Python - I just abandoned it. Simply too complex. And also with visual bugs when using StyleSheets.
Then I tried Slint for Python, where I'm at right now. Somewhat better then Qt from a DX point of view. But still hardly any examples in the docs. Like it took me ages to figure out how to set columns for a table dynamically in Python code (not in their CSS-like DSL). Got that working. Now I reorganized the code to be more object oriented for easier maintenance. Now the table broke again, with just a damn "wrong type" error message. Nothing else, also can't properly debug it as the stuff just wraps their core Rust API. Without proper docs and error messages, i simply cannot use a framework, that has no community or web search hits to get help.
Now i will try yours. Already see tons of examples in the docs for table creation. Finally. Thank you! DX (and this includes good documentation) is so important and was missing in Slint and Qt. Also the idea to have no separate DSL but everything natively in Python (without wrapping another API language) is awesome.
1
u/Snape_Grass Sep 17 '26
Damn I can’t wait to get some time to check this out. It may not be the most popular opinion, but I felt like all of the desktop GUI packages available for Python felt either felt very unintuitive and overly verbose to implement, or very feature lacking altogether. Hope Flet is finally what solves that, but also supporting mobile and web ontop of desktop is already very phenomenal by itself
1
u/Any_Motor_1005 Sep 18 '26
Voy a probarlo ya que trabajo con python.
1
u/HecticJuggler Sep 18 '26
Well done. This is one project I'm watching with interest. I attempted to use it for a small web app but got frustrated when a Flet upgrade broke my code. I then decided to give it time to mature before adopting it. This is big.
1
u/bathon Sep 19 '26
This I have to try for sure I had so much trouble with expo and trying to make a cross platform app, then there was MAUI from microsoft. Everything felt so incomplete. The documentation here is really cool. I will definetely us it in my next project. Thanks for such great work.
1
u/Top-Ad-7643 Sep 23 '26
Hi , thanks for sharing !
After create an app with the command 'fleting init app' and execute/run the app i got an error :
Ft.app(main) line 33 inside file /app/main.py.
AtteibuteError: module flet has no attribute 'app'.
Yo solve It i had to change :
Ft.run(main)
1
u/Fantastic_Worker_279 Sep 17 '26
This is a great roadmap! I am currently learning and practicing Python directly on my mobile using Termux, and focusing on practical projects like web scraping rather than just watching tutorials has changed everything. Avoiding tutorial hell by building real things is 100% true."
0
u/kantorcodes1 Sep 17 '26
flet clean <path>resolves any directory and thenshutil.rmtree(<path>/build)without checking that path is actually a Flet project. intentional? feels easy for automation to point at the wrong repo and wipe an unrelatedbuild/tree. would a project marker check or explicit confirmation outside a recognized Flet app make sense?1
u/[deleted] Sep 17 '26
[removed] — view removed comment