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

Show parent comment

6

u/feodorfff Sep 17 '26
  1. Most of the packages are surprisingly easy to build for iOS and Android - only some of them require just a few tweaks.
  2. The key to a "volume" is complete automation - all packages in Flet feed are being built and tested in CI workflows, for all supported Python versions. We can release individual packages or re-build in bulk: https://github.com/flet-dev/mobile-forge/actions
  3. We hope that package maintainers will eventually catch up and start publishing iOS/Android/Pyodide wheels to PyPI themselves, especially now when PyPI supports these platforms. Even today, if there is a newer wheel on PyPI, Flet will "prefer" it over our own feed.

0

u/Deep_Ad1959 Sep 17 '26

the automation answers volume, but volume was never the scary part. CI just rebuilds whatever already builds. the roadmap risk is the trickle that needs a fresh human tweak each time a c or rust dep changes its build, and that is the one thing CI cant author for you. point 3, hope maintainers publish wheels, is doing the heavy lifting there, and hope isnt a maintenance plan.