base on Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required. <p align="center">
<a href="https://flet.dev"><img src="https://raw.githubusercontent.com/flet-dev/flet/refs/heads/main/media/logo/flet-logo.svg" height="150" alt="Flet logo"></a>
</p>
<p align="center">
<em>Build multi-platform apps in Python. No frontend experience required.</em>
</p>
<p align="center">
<a href="https://github.com/flet-dev/flet/blob/main/LICENSE" target="_blank">
<img src="https://img.shields.io/github/license/flet-dev/flet.svg" alt="License" /></a>
<a href="https://pypi.org/project/flet" target="_blank">
<img src="https://img.shields.io/pypi/v/flet?color=%2334D058&label=pypi" alt="Package version" /></a>
<a href="https://pepy.tech/project/flet" target="_blank">
<img src="https://static.pepy.tech/badge/flet/month" alt="Supported Python versions" /></a>
<a href="https://pypi.org/project/flet" target="_blank">
<img src="https://img.shields.io/pypi/pyversions/flet.svg?color=%2334D058" alt="Supported Python versions" /></a>
<a href="https://github.com/flet-dev/flet/actions/workflows/ci.yml" target="_blank">
<img src="https://github.com/flet-dev/flet/actions/workflows/ci.yml/badge.svg" alt="Build status" /></a>
</p>
---
Flet is a framework that allows building mobile, desktop and web applications
in Python only without prior experience in frontend development.
### <img src="https://flet.dev/img/pages/home/single-code-base.svg" width="25" align="top" /> Single code base for any device
Your app will equally look great on iOS, Android, Windows, Linux, macOS and web.
### <img src="https://flet.dev/img/pages/home/python.svg" width="25" align="top" /> Build an entire app in Python
Build a cross-platform app without knowledge of Dart, Swift, Kotlin, HTML or JavaScript - only Python!
### <img src="https://flet.dev/img/pages/home/controls.svg" width="25" align="top" /> 150+ built-in controls and services
Beautiful UI widgets with Material and Cupertino design: layout, navigation, dialogs, charts - Flet uses Flutter to render UI.
### <img src="https://flet.dev/img/pages/home/python-packages.svg" width="25" align="top" /> 50+ Python packages for iOS and Android
Numpy, pandas, pydantic, cryptography, opencv, pillow and other popular libraries.
### <img src="https://flet.dev/img/pages/home/web-support.svg" width="25" align="top" /> Full web support
Flet apps run natively in modern browsers using WebAssembly and Pyodide, with no server required. Prefer server-side? Deploy as a Python web app with real-time UI updates.
### <img src="https://flet.dev/img/pages/home/packaging.svg" width="25" align="top" /> Built-in packaging
Build standalone executables or bundles for iOS, Android, Windows, Linux, macOS and web. Instantly deploy to App Store and Google Play.
### <img src="https://flet.dev/img/pages/home/test-on-ios-android.svg" width="25" align="top" /> Test on iOS and Android
Test your project on your own mobile device with Flet App. See your app updates as you make changes.
### <img src="https://flet.dev/img/pages/home/extensible.svg" width="25" align="top" /> Extensible
Easily wrap any of thousands of Flutter packages to use with Flet or build new controls in pure Python using built-in UI primitives.
### <img src="https://flet.dev/img/pages/home/accessible.svg" width="25" align="top" /> Accessible
Flet is built with Flutter which has solid accessibility foundations on Android, iOS, web, and desktop.
## Flet app example
Below is a simple "Counter" app, with a text field and two buttons to increment and decrement the counter value:
```python title="counter.py"
import flet as ft
def main(page: ft.Page):
page.title = "Flet counter example"
page.vertical_alignment = ft.MainAxisAlignment.CENTER
input = ft.TextField(value="0", text_align=ft.TextAlign.RIGHT, width=100)
def minus_click(e):
input.value = str(int(input.value) - 1)
def plus_click(e):
input.value = str(int(input.value) + 1)
page.add(
ft.Row(
alignment=ft.MainAxisAlignment.CENTER,
controls=[
ft.IconButton(ft.Icons.REMOVE, on_click=minus_click),
input,
ft.IconButton(ft.Icons.ADD, on_click=plus_click),
],
)
)
ft.run(main)
```
To run the app, install `flet`:
```bash
pip install 'flet[all]'
```
then launch the app:
```bash
flet run counter.py
```
This will open the app in a native OS window - what a nice alternative to Electron! 🙂
<p align="center">
<img src="https://docs.flet.dev/assets/getting-started/counter-app/macos.png" width="45%" />
</p>
To run the same app as a web app use `--web` option with `flet run` command:
```bash
flet run --web counter.py
```
<p align="center">
<img src="https://docs.flet.dev/assets/getting-started/counter-app/safari.png" width="60%" />
</p>
## Learn more
* [Website](https://flet.dev)
* [Documentation](https://docs.flet.dev)
* [Roadmap](https://flet.dev/roadmap)
* [Apps Gallery](https://flet.dev/gallery)
## Community
* [Discussions](https://github.com/flet-dev/flet/discussions)
* [Discord](https://discord.gg/dzWXP8SHG8)
* [X (Twitter)](https://twitter.com/fletdev)
* [Bluesky](https://bsky.app/profile/fletdev.bsky.social)
* [Email us](mailto:
[email protected])
## Contributing
Want to help improve Flet? Check out the [contribution guide](https://docs.flet.dev/contributing).
", Assign "at most 3 tags" to the expected json: {"id":"798","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"