appveyor
Flet 1.0 released: build desktop, mobile, and web apps in Python
Flet 1.0
Show HN: Flet Studio – build cross-platform Python apps in the browser
Hello, I'm Feodor, the creator of Flet framework (https://github.com/flet-dev/flet).We've just released Flet Studio (https://flet.app) - a web-based tool for building and running Python apps in the browser. It was primarily made as a playground for Flet apps, but simple apps with just Python output can be run too (there is a console for that). Create a new app from scratch or fork one of 500...
Railway introduced undoable deletes for database volumes
> It looks like Flet is for client-side code.
For web you can package Flet app to client-side (with pyodide, all Python logic runs in the browser, see an example here: https://gallery.flet.dev/todo/) and run as a server-side app (or server-driven) with Python logic running on the server (example: https://flet-controls-gallery.fly.dev/layout - notice faster loading compared to client-side one).
> If I'm writing Python that runs on the mobile device, it must talk to a server to read & write data. Doesn't this still require an API backend, database, cache, etc?
That's correct. Any backend service which provides Python API can be used when running Flet app on a mobile: FastAPI, Firebase, Supabase, Pocketbase, etc, but you use Python to call that which is awesome especially for beginner and non-web developers.
I'd love to add other languages, but currently so busy with a top-notch Python support!
Very similar to what we do on Flet: https://flet.dev The major difference is that Flet uses Flutter to build UI and can target desktop, web and mobile. Also, we use WebSockets for communicating with the server which gives lower latency (the delay between a click on a button here https://pynecone.io/docs/getting-started/introduction and UI update could be annoying).
For desktop using WebSockets within localhost doesn't really add a noticable overhead.
Anyway, if you have any questions let me know.
Show HN: Flet – The fastest way to build Flutter apps in Python
Hi, I'm Feodor - the author of Pglet. The project is still in "alpha" and there is still a lot of experimenting around default modes and API will probably have some breaking changes going forward.
Thank you for the constructive feedback you guys gave here!
Re: licensing - Only Pglet Server is under AGPL at the moment, multi-language client libraries which are embedded in your app are MIT. Selection of AGPL is not final and was mostly influenced by recent fear/trend of big co incorporating your service into their cloud offerings.
Re: remote mode by default - your app code is not being uploaded to console.pglet.io, but it's UI is "streamed" there only. However, I agree this looks scary for the initial experience - will roll it back to "local" mode by default with explicit "publish" option.
Better docs, more examples and other languages support (Go, Rust, Deno) are coming later this year. Stay tuned!
This is a step-by-step tutorial on how to create a ToDo web app in Python using Pglet framework and share it on the internet:
https://pglet.io/docs/tutorials/python
The app is a single-file console program of just 100 lines of Python code, yet it is a multi-session, modern single-page application with rich, responsive UI.
I've been developing Pglet framework for 6 months now and I feel it's finally ready for building real apps.
Let me know what you think!