6 ms·
Flet 1.0 – Build cross-platform apps in Python
- bobajeff 15d agoInteresting, looks like this is a framework built on Flutter.
- absqueued 15d agoYeah, I have been doing a small poc for mobile, then did a web export (why not) and the entire web app is one giant <canvas> element. I have never written web app with Flutter so this caught me by surprise.
- claytongulick 15d agoLooks really interesting, but I notice that Bluetooth isn't in the supported services. Sort of limits how useful it would be for me - Bluetooth is one of the only reasons I'd do a native app instead of PWA.
- skeledrew 15d agoIt should be supported, but if somehow it isn't, support can be added by creating an extension. https://flet.dev/docs/extend/user-extensions/ https://flet.dev/docs/extend/user-extensions/
- pietz 15d agoUsing a to-do list app as the first example to advertise a new app framework is absolutely wild in Q3 2026.
- hackyhacky 15d agoIs it more fashionable to build an AI harness?
- taude 15d agoWe should go back to petstore examples.
- brazukadev 15d agoA blog in 15 minutes would be great.
- hackyhacky 15d agoThat's fine, but a blog doesn't seem technically more demanding or interesting than a to-do list
- taude 15d agowasn't the original ruby on rails demonstrating how to create a blog? I think it was a call back to that 2004 era....
- brazukadev 15d agoSpecially one looking so bad.
- keyle 15d agoThey didn't even show a prompt box with starry icon button!
- stackghost 15d agoWhy?
- pietz 15d agoBecause it's literally the least impressive thing you can build and in a world where I don't write the code anyway, a "hello world" example has lost its place (at least for human viewers).
- jasonlotito 15d agoIt demonstrates CRUD at a small scale and is familiar, so we don't need to figure out what it's trying to demonstrate. It allows us to see how large the final product is and how much memory and CPU it uses. It's not meant to be a showcase of what you can build with it; it's meant to give you the smallest complete application so you can get a good idea of what you need to know. The thing that's meant to be a showcase is usually referred to as a Showcase or a Gallery.
- LoganDark 15d agoIt's one of the standard benchmarks for web frameworks. No clue why it's being done here.
- deleted 15d ago[deleted]
- quietbritishjim 15d agoI genuinely have no idea what this comment is about. Why is a to do list a bad example? It's common precisely because it's ideal: it shows a few different basic widgets, and it shows how to update state in a way that keeps them in sync. Is it because it's clichéd? That doesn't matter so long as it gets the point across. Is it because you object to having desktop applications that do a simple task like this? I remember when simple single-purpose desktop apps were common e.g. Card File in Windows 3.1. Also this is meant to be an example for both desktop and mobile. Are only SPA web pages allowed to do things like this now? What a depressing world if so. Or is your comment satire? I honestly can't tell. Edit: What would you allow as a first example of a new UI toolkit. (Not that Flet is new, it's had plenty of 0.x releases.)
- pietz 15d agoI don't think there is demand for this framework in the first place. - Cross platform frameworks are starting to become an anti pattern these days - Hello world examples are losing relevance when I'm not the one writing code - A To Do list is just the absolute least impressive thing you can showcase From a marketing perspective, I want to showcase something that other frameworks cannot do and "this only took 10 lines of Python code" is a very weak sales pitch in 2026.
- deleted 15d ago[deleted]
- quietbritishjim 15d agoOK, I think your main objection is really that you don't like the idea of a cross platform UI toolkit. I don't share that view, but fair enough. But your first comment, complaining about a to-do list example, is a very confusing way of expressing that. And you think the front page shouldn't show a basic example because you just vibe code everything anyway. That is a very odd objection - it would be very concerning if a code library didn't include a basic usage example on its front page. Also, guess what, some of us do actually write (or at least look at!) some of the code in the programs we work on. And even AI benefits from a clean API. And your complaint about a to do list is that it's not "impressive"? It's not meant to be! It's a basic illustration of the API. It's like reading the Rust tutorial and objecting, "ugh, another programming language with for loops".
- rk06 15d agoehh, it is pretty standard. in fact, todo app is the standard hello world for any GUI framework. it has been standard for js frameworks from before js fatigue started
- bnchrch 15d agoPython needs to be in less places not more. I believe Python has done more harm than good to the industry. Its by nature very inefficient, it leads you in the direction to some very poor abstractions (inheritance, monkey patching, mixins etc) and as a result code that is very prone to subtle bugs and issues. It deserves all the love it gets as an approachable language, but it deserves a lot more flack for everything else.
- skeledrew 15d agoBig disagree. I've been following this project since it's early days, and have made a few projects based on it. I haven't been bitten by any "inefficiencies" in such a way that'd make me give up the language. And at this very moment I'm working on what's essentially a Python REPL that can build and return Flet controls (as well as the traditional string result), making writing and running adhoc native "applets" fully on mobile a possibility (haven't seen anything else that does this).
- noufalibrahim 15d agoI'm in the middle. I've been using Python since the early 2.x series. The good parts are that the inbuilt data structures and their apis are efficient and clean enough to write code that's mostly readable. Most of the heavy lifting is done in hand tuned C and performance intensive external modules are also written in C. There are several good projects that are written using it and while it's not theoretically perfect, it's useful enough. Like Stroustrup said - there are 2 kinds of the languages, ones that everyone complains about and ones that no one uses. The bad parts are that it's very easy to use. Almost in a Visual Basic "producing crap just takes a squeeze" kind of way. It opened up programming to a lot of people (the genesis of Python was in the CP4E project - where this was the aim). This resulted in a lot of bad patterns, inefficient code, badly written but popular libraries. Also, the indentation idiom and other restrictions resulted in a lot of convoluted APIs.There's also a lot of baggage from the pre multi-core CPU era (threading etc.). I still think of it as a great glue language. If there are libraries that are fast and can run well, a good FFI or wrapper which Python can leverage will amplify the reach and usability of the library. On the overall, a language that's older than the venerable Java which people are still using (and hence complaining about) speaks to its longevity. So, atleast by that definition, it is successful.
- tamimio 15d agoPlease no, python should be deprecated at this age, especially in the era of llm, horrible language from the performance to the dependencies to everything, can’t believe it got popular over perl back in the day
- GlacierFox 15d agoI used it quite a bit for writing tools for applications like Maya and Blender as it's the only fully supported API surface. I take it it's pretty bad for anything more complex. I notice it's used quite a bit in science and math communities too.
- joshheitzman 15d agoIt's not. OP just has a hate-on for Python. Python is widely used in many domains and has one of the richest ecosystems of packages.
- biglost 15d agoI love Python,i have been writting Python since 2.2 era, Is great. Bit it's slow as hell, Django is slow, and the filters and custom shit to hit db on the template makes it slower. The parameters styles are too many and now instead of removing things they keep adding features, ok no Gil Is great but match? They should stop now. I hope i will never have to use custom cython modules again. I have even used Python in asterisk agi fastagi etc. But it's really slow and we should accept that
- joshheitzman 15d agoI don't really disagree with any of that and I have my own complaints about Python. Personally I would have been happy if they stopped at Python 2.7 but I also have numerous complaints about all of the programming languages I use heavily. There's no perfect language.
- Yoofie 15d agoPopular and/or widespread does not mean good. Common misconception.
- bjord 15d agokivy, which does the same thing, has been around for over 10 years. I built my thesis in it a few years ago. not recommended—too many limitations and build issues in practice. given that this one is less mature...I'm not optimistic.
- PostOnce 15d agoAll software has limitations, that's why we keep writing more software. Kivy is great, and the contributors are friendlier than most. I particularly like it for Android, but it's definitely way up there in terms of "easy reliable multiplatform python framework". It also gives you a ton of options for how you want to use it, more than one way to skin a cat philosophy.
- bjord 15d agoabsolutely! no shade towards contributors, my impression was that compiling for iOS is just a bit of a moving target. everyone was willing and ready to help where they could, I just had a lot of trouble.
- skeledrew 15d agoI tried using Kivy some years ago and also found it pretty painful. Flet I've been using for a while now and find it a joy by comparison, and it's actively developed, with a release every couple months or so. With the stability of v1.0 I expect that to slow a bit though, as I'd say at least core Flet is feature complete.
- ricardobeat 15d agoIs there a downloadable sample somewhere? Would like to see how large a native build is.
- skeledrew 15d agoNative build size depends on what you want in the app, like the app I'm currently working on is almost 300MB, but I've added a few custom extensions to it (charts, iroh, and more). Earliest APK I can find is 140MB. In this day and age I honestly wouldn't worry much about app size though given how much storage devices have.
- eviks 15d agoGiven the prices of storage and ram you should still worry about wasting user resources
- skeledrew 15d agoDoesn't really apply to Android devices, which is the context here. You buy a phone and that's the storage/RAM you're stuck with until you get another phone.
- eviks 15d agoSure it does. The amount of storage/RAM when you buy your phone depends on the price. But also the lifetime of a device is longer if the replacement is more expensive. And those older devices have even less storage/ram. And it affects the amount in the cloud, so higher chance of users retaining more pic/vid data on their devices Also the number of apps a user has increases, and if every one of those wastes hundreds of megs it accumulates.
- skeledrew 15d agoI'd say sacrifices need to be made. If one wants apps with reasonably modern capabilities, then one has to invest in a device that can handle such capabilities. And those devices come with ample storage. Like I had the OnePlus One and 2, which came with 64GB, and then the 6 which came with 128GB I think. Currently I have the 12, with 512GB. At no time have I ever ran out of space, and I always have a crazy number of apps installed along with media; what has happened though is a device can't handle some apps (particularly games) well, or performance generally falls over time, or other hardware starts to give out (both the camera and buttons died on the 6, which is when I bought the 12).
- xiaohanyu 15d agoIs this build on top of flutter? And for web, does it generate plain HTML/CSS, the DOM tree, or just generate everything in a canvas?
- skeledrew 15d agoIt uses Flutter for UI and native services, but there's a full Python interpreter there. I think it does mostly canvas, but that could just be due to my selected option back when I tried web with it (couple years ago).
- skeledrew 15d agoLoving it. Been using in projects for a while now.
- PostOnce 15d agoChoosing to build an application around a framework whose top contributors are Claude and Copilot may have catastrophic consequences for your project, especially if it's a business.
- 40four 15d agoI built a few Kivy apps years ago at an old job. It was a little clunky, but it got the job done. Haven’t heard of this framework yet, I wonder how compares in developer experience? Anyone have any experience with it? The problem is I don’t want to use Python for everything that bad. If I’m going to reach for a cross platform toolkit these days, I’m personally going to reach for Tauri. Could be useful if you’re really married to Python I suppose.
- WillAdams 12d agoTried the AI studio as noted elsethread and it got much further along than any other tool I've tried thus far. Working on a different project and ran out of free credits, so got out my credit card ($20 for 10,000 tokens) and a few prompts and 2,447 tokens later arrived at: https://studio.flet.dev/run/bicQWc3Aul/ https://studio.flet.dev/run/bicQWc3Aul/ which I'm hopeful of finishing up tomorrow.
- Wren_ops 15d ago[dead]
- t3r 15d ago[dead]
- ChrisChou 15d agoMy personal stance on this type of UI framework is that I won't waste my time on it unless I see it being used in mature, large-scale applications. Complex software often involves dealing with obscure edge cases; you certainly wouldn't want to spend a huge amount of time building an app, only to discover that the framework itself has serious flaws that make it impossible to proceed.
- easytiger 15d agoWhat is the point of this comment? To paraphrase you: "no one should release new open source software libraries because it is not enterprise ready on day one with thousands of deployments and every feature imaginable". If you don't want to use it, don't use it
- wiseowise 15d agoWhat is the point of this comment? To paraphrase you: “if you have objective reasons preventing you from adopting the code then keep them to yourself because I concluded they’re bad vibes”.
- easytiger 12d ago> What is the point of this comment? To defend the principle that it is unproductive to make irrational criticism of 2 week old open source projects because they don't fulfill the use cases of some random with nothing to add. I thought it quite self evident
- quietbritishjim 15d agoWow there's a surprising amount of negativity here. I've used this for a fairly complex app at work and it's great. (It's certainly not vibe coded as one commenter suggested.) It's a Python layer on top of Flutter, and it was the only UI framework I could find for Python that was fast and worked on all major desktop and mobile OSs. I think maybe Kivy could too but it seemed like it would be an uphill struggle for a good desktop app. It's a bit of a gateway drug for pure Flutter. If you need some complex, quickly updating control then you can write a Flutter control (in Dart) and wrap it in a Flet (for Python) control for better performance than doing it all in Python. I've ended up doing that for the main display in our app, and there's always the option to move more and more business logic into that. One downside to Flet is that I wish they didn't try "fix" some design decisions in Flutter. For example, they have a Flet "Container" widget that wraps a bunch of different Flutter layout widgets. The Flet version does seem easier to understand to me, but there's just so much more documentation (and StackOverflow answers etc.) for Flutter than for Flet that it would be easier overall if they just mirrored the Flutter controls precisely.
- WillAdams 15d agoI gave it a try, and the on-line studio managed to one-shot a convincing prototype of a type of drawing program which I've asked LLM App-Dev tools to create in the past and which heretofore, none has managed anything resembling a workable effort, so colour me impressed. So, I've downloaded it, and unless I overcome a couple of hurdles in a current project in SpiderBasic, I know what I'm doing this weekend.... (porting what I've done to this and finishing it in Python).
- nop17 15d agoI built an iOS app with python library as core component and SwiftUI as UI layer. It is not fun to cross compile the dependencies for iOS, I need implement the iOS interfaces, cannot just simplify use macos for native api. There is a good beeware project port a lot python libraries to iOS. Without that to port from scratch would be a lot of work for a middle size apple.
- norman784 15d agoI would think about if it was at least Go or Rust, but yet another interpreted language built on top of other abstractions? No thanks, I had my fair share of Xamarin, React Native, Electron, Tauri and TBH building native is the best (more work, sure, but at least when you have bugs or issues, it's easier to find solutions), with abstractions you need to deal with bugs on each layer. Also in the era of AI, sharing native code is easier than ever, just compile down to WASM for the web and for the other binary.
- pythonRon 15d agoI dabbled with Flet for a couple of weeks and all I can say is: I wish it were further along in development. Either that, or had more documentation and examples available. I love that it targets all platforms and that it's so easily distributable, but where I ran into problems was with layouts in general and aligning controls with one another specifically. I was ready to drop all other GUI toolkits before I ran into that snag. Perhaps in another year or two I'll take another look.
- quietbritishjim 14d agoThe layout documentation is a real weak point in Flet. I believe it's essentially as powerful as Flutter, which is also really hard to figure out but at least there's a million blog posts about it and AI understands it. Flet repackages that power (mainly in its Container widget) in a way that's probably more sensible, but if they'd religiously stuck to Flutter's API (or just had really good documentation) then at least you'd be able to figure it out.
- deleted 15d ago[deleted]
- joyahmed 15d ago[flagged]
- rsrsrs86 14d agoThe slop vibe from the landing page and the intense use of Claude in it puts off any serious consideration of this. It’s so synthetic is impossible to tell apart from slop.