跳到主要內容
AI News HubLIVE
來源內容 · 翻譯待補全3 分鐘閱讀

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

文章摘要

AI 服務暫時不可用,以下為來源摘要,待恢復後補全翻譯:Flet 1.0 shipped on September 15, 2026, and the team now calls the framework ready for production apps. We look at what changed: a layered CI suite that drives packaged apps on real devices, bundled Python 3.12, 3.13 and 3.14, more than 100 mobile ready packages, faster control diffing, and dart-bridge in process communication. We also cover the one migration trap that will bite 0.28 users. The post Flet 1.0 Released: Build Production Web, Desktop and Mobile Apps in Python Only appeared first on MarkTechPost.

來源MarkTechPost作者: Michal Sutter
待翻譯:Flet 1.0 Released: Build Production Web, Desktop and Mobile Apps in Python Only
回報錯誤

更正管道尚未開通,可先複製下方文章資訊留存。

查看更正說明
直接讀正文

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. 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.

展開要點與分析

文章情報

工程師進階

要點

  • AI 服務暫時不可用,系統已先保留來源內容與降級後設資料。
  • Flet 1.0 shipped on September 15, 2026, and the team now calls the framework ready for production apps. We look at what changed: a layered CI suite that drives packaged apps on re…

技術影響

可能影響 Agent 架構、工具呼叫、工作流自動化和產品整合。

要點與分析由自動化流程生成,可能有誤,請結合原始來源核實。