Flet 1.0 Released: Build Production Web, Desktop and Mobile Apps in Python Only

2026年9月20日 20:50
站內 AI 整理稿

Flet is an open source Python framework that renders its UI with Flutter.You write Python, and Flet draws Material and Cupertino widgets on iOS, Android, Windows, macOS, Linux and the browser.No Dart, Swift, Kotlin or JavaScript required.Last week, the Flet team released Flet 1.

0 and declared it ready for building production apps.The release lands roughly four years after the project started.Is it deployable?Yes, today.Flet 1.0.0 is on PyPI under the Apache 2.0 license, requires Python 3.10 or newer for the SDK, and installs with pip install 'flet[all]'.

flet build produces artifacts for Windows, macOS, Linux, iOS, Android and web.The CLI accepts eight target platforms: apk, aab, ipa, ios-simulator, windows, macos, linux and web.The Test Matrix Flet runs framework unit tests across Python 3.10 to 3.14, alongside tests for the Flutter side.

Control and example integration tests check behavior and compare screenshots, catching functional bugs and visual regressions.Python binary package tests exercise native libraries on Android and the iOS simulator, with the mobile pipeline building for Python 3.12, 3.13 and 3.14.

flet build integration tests compile apps across those Python versions for all six platforms, and flet test launches a packaged app and drives it on all five native platforms, including Linux ARM64.You can write the same kind of tests.

Integration tests for your own app use pytest, run via flet test against the packaged build, with screenshot comparison on Android and iOS.Python Versions and Mobile Libraries Flet bundles Python 3.12, 3.13 or 3.14 with your app, and web builds use the corresponding Pyodide release.

See how to choose a Python version.The Flet package index now lists more than 100 packages, including NumPy, pandas, Matplotlib, Pillow, SciPy, scikit-learn, cryptography and pydantic-core, plus supporting native libraries.The mobile-forge pipeline automates wheel builds for iOS and Android.

Availability still depends on the package and the target.Performance and Packaging Flet now tracks changed properties and skips unnecessary comparisons during UI reconciliation, with 0.83 benchmarks measuring up to 6.7x improvement in control diffing.

In packaged native apps, dart-bridge lets the Python and Dart runtimes talk inside one process, without sockets, with dedicated channels for binary data.Packaging enables bytecode compilation by default, and redesigned Android packaging loads Python packages directly from the APK without extraction.

Declarative UI Flet Declarative describes UI as a function of application state, organized into reusable components.Flet Studio and the Flet mobile app are themselves declarative Flet apps.The imperative style remains supported.Compare both in the docs.

Compatibility and AI Tooling The compatibility policy deprecates APIs before removal, with a default deprecation period of three minor releases.The Flet MCP server gives AI coding assistants version specific Flet API information, plus tools for finding examples, icons and CLI options.

Flet Studio runs in the browser with a built in AI agent, and projects can be downloaded for local development.

Interactive Explainer The embed below walks through five mechanics: the build pipeline across eight targets, declarative versus imperative state, the CI test layers, runtime bundling with mobile wheels, and the event loop trap.Colors follow Flet’s own brand tokens.(function(){ var f=document.

getElementById("mtp-flet-explainer"); window.addEventListener("message",function(e){ if(e&&e.data&&e.data.fletExplainerHeight){ f.style.height=e.data.

fletExplainerHeight+"px"; } },false); })(); #mtp-flet-explainer-wrap hr,#mtp-flet-explainer-wrap p:empty,#mtp-flet-explainer-wrap del,#mtp-flet-explainer-wrap s{display:none!important} Key Takeaways Flet 1.0.0 ships on PyPI under Apache 2.0, Python 3.10 or newer for the SDK.

flet build targets eight platforms: apk, aab, ipa, ios-simulator, windows, macos, linux, web.Bundle Python 3.12, 3.13 or 3.14, with 100 plus packages available for mobile.Control diffing measured up to 6.7x faster, and dart-bridge removes socket overhead.Upgrading from 0.

28 is a real migration: handlers now run on one event loop.Check out the Flet 1.0 release announcement.All credit goes to the researcher of this project.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?

now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?Connect with us The post Flet 1.0 Released: Build Production Web, Desktop and Mobile Apps in Python Only appeared first on MarkTechPost.

Related

相關文章

蘋果Apple Watch迎來Audio Intelligence,對話摘要與實時倒帶功能開啟Beta測試

四大核心功能:覆蓋聲音識別、歌曲辨識與智能摘要本次上線的 Audio Intelligence 包含四項完全由用戶自主選擇開啟的 AI 功能,旨在全方位拓展智能手錶在聲音感知和日常生活場景中的實用價值:聲音識別(Sound Recognition): 該功能專為聽障或聽力受損用戶設計,能夠通過手錶實時偵測並識別周圍環境中的重要聲音,例如警笛聲、火警警報或門鈴聲。

1 天前7700

螞蟻阿福獲世界互聯網大會領先科技獎 成為首個獲得該獎的健康AI應用

目前,螞蟻阿福已服務1.5億用戶,單日解答近2000萬人次的健康諮詢,是全球第一大健康管理AI App。首都醫科大學公共衛生學院教授張玲認為,螞蟻阿福為代表的健康AI快速發展,符合大眾日益增長的健康需求,是“健康中國”與“人工智能+”行動落地的最佳實踐,對提高群眾看病就醫便利度、夯實全民健康根基發揮著積極作用。

2 天前4400

Telesin泰迅 大師影像套裝再度入駐 Apple 授權專營店 全國上架門店超 3000 家

近日,Telesin泰迅 公佈,適配 iPhone 18 Pro / Pro Max 的大師影像套裝·經典系列已在全國 3000 餘家 Apple 授權專營店上架。Telesin泰迅大師影像套裝已連續兩年進入 Apple 授權零售渠道,為消費者提供瞭解、體驗和選購手機影像配件的線下入口。此次上架的經典系列以攝影手柄為基礎,配合可選外接鏡頭及遮光罩等配件,圍繞手機拍攝中的握持、操控與遠攝需求展開。消費者在選購 iPhone 的同時,也能近距離了解適配的影像配件,根據人像、旅行或演唱會等拍攝需求選擇產品組合。

2 天前

從“自己滾”到“自動滾” ,雲望創新第二代自動泡沫軸亮相 INNO100

2026年10月31日,雲望創新(RheoFit)攜第二代全自動泡沫軸 A1 Lite,亮相在廣東深圳 INNO100 全球創新旗艦店舉行的“INNO100 首「硬」禮”活動。活動現場,雲望創新創始人孫英東、市場總監徐子微、產品經理李沐璘分享品牌理念、產品設計及日常運動恢復體驗。雲望創新創始人孫英東介紹,作為全球首款全自動泡沫軸的開創者,雲望創新(RheoFit)通過初代產品 雲望A1,將“躺下就能放鬆”的體驗帶入運動恢復場景。目前,A1 已遠銷全球 20 多個國家和地區。

2 天前

騰訊燈塔AI正式對外開放:十年內部錘鍊,一句話完成數據分析

騰訊燈塔過去十年專注於騰訊內部業務的自助分析洞察與數據可視化,此次品牌升級為AI數據分析洞察套件,面向業務團隊提供自然語言問數、看板生成、歸因分析、指標監控與團隊協作等一站式能力。經過十多年技術積累和產品迭代,如今新升級的燈塔AI已廣泛應用於 QQ、騰訊視頻、騰訊新聞、應用寶、微信支付、元寶、騰訊客服、天美遊戲等100多個騰訊內部業務團隊,積累了豐富的數據分析,日常經營分析經驗。

6 天前6500