-
Notifications
You must be signed in to change notification settings - Fork 315
flet #1535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Flet is just a standalone python library which can be get by just |
Flet has several dependencies and all but two of them are included in WinPython. I propose adding a modern UI library since Streamlit has some deficiencies. It is good for prototyping and quick dashboards but is not suitable for more complex web apps and it cannot generate a native/non-browser UI. Flet is the best option I’ve found, powered by Flutter. NiceGUI is a close second but it cannot generate native UIs and requires more transient dependencies than Flet. Even the devs of NiceGUI acknowledge the cons of Streamlit here:
If there’s reluctance to add another UI library to WinPython, I would suggest at least adding sv-ttk to make tkinter somewhat tolerable to look at. Toga (and Briefcase) from BeeWare are also promising, but I’m not sure the maturity level is quite there yet. |
sv-ttk is a pertinent remark ==> added on all versions. The search for a simple web equivalent to tcl-tk is still on the Christmas list. |
for flet, I don't know: popularity is still very low vs streamlit |
There is flet and nicegui... they are not exactly small |
Toga is in beta but looks promising as it targets all platforms. Learned about it on a recent Talk Python To Me podcast, BeeWare and the State of Python on Mobile. Toga: |
https://github.com/albertosottile/darkdetect These seem to be some complementary packages. First one simply reads a registry key to determine light mode/dark mode, second one adds various window visual styles and works with many of the Python GUi libs.
Looks like web widgets are planned: https://toga.readthedocs.io/en/stable/reference/widgets_by_platform.html |
flet is rather small, all thing considered, but needs a separated flutter engine ?? toga seems interesting, but still years away:
|
I think flet takes care of that under the hood. It uses a web server (Fletd) that bridges Python and Flutter. To run a flet app, you can use |
I don't see Flet exploding in use as Streamlit does... I guess we neeed to see what Flet-1.0 gives |
Sounds good! I think winpython is otherwise using nice and mature GUI libs (pyqt being the big one). On the CLI side, I see there is click, may want to check out typer which adds some nice syntactic sugar to click using type hints (maintained by same dev as fastapi). |
typer is ok: 25k added in total |
Any chances of adding flet to WinPython?
https://flet.dev/
https://github.com/flet-dev/flet
The text was updated successfully, but these errors were encountered: