flet
nicegui
Our great sponsors
flet | nicegui | |
---|---|---|
62 | 179 | |
9,163 | 7,298 | |
8.0% | 7.8% | |
9.4 | 9.9 | |
3 days ago | 7 days ago | |
Python | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flet
- Python dev considering Electron vs. Kivy for desktop app UI
-
FastUI: Build Better UIs Faster
> When you run flet build command it ... Packages Python app using package command of serious_python package. -- https://flet.dev/docs/guides/python/packaging-app-for-distri...
It looks like Flet is for client-side code. It lets you write Flutter apps with Python instead of Dart.
> Simple Architecture - No more complex architecture with JavaScript frontend, REST API backend, database, cache, etc. With Flet you just write a monolith stateful app in Python only and get multi-user, realtime Single-Page Application (SPA). -- https://flet.dev
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?
- Ask HN: Can I create a mobile and Web App using Python/Python Framework?
-
Ask HN: Cross-platform GUI apps in 2024
I just learned of Flet (https://flet.dev) which seems interesting for Python. I may try this as well.
-
Flutter seems to be having bad times internally
maybe check out https://flet.dev
- Release v0.11.0 Β· flet-dev/flet
-
How to Build an Online MRZ Generator with Python, Pyodide and HTML5
When developing or selecting an MRZ (Machine Readable Zone) recognition SDK, the primary challenge lies in finding an appropriate dataset for testing. Acquiring genuine MRZ images is challenging, and due to privacy concerns, they aren't publicly accessible. Therefore, crafting MRZ images becomes a practical solution. Fortunately, there's an open-source Python MRZ generator project, available for download from pypi, eliminating the need to start from scratch. This article aims to illustrate how to integrate and run Python scripts within web applications. First, We will showcase how to employ the Python MRZ SDK and Flet to construct a cross-platform MRZ generator. Subsequently, we will reuse the Python script with Pyodide, HTML5, and the Dynamsoft JavaScript MRZ SDK, creating an advanced online MRZ tool that can handle both MRZ creation and MRZ detection.
-
Flet is "The fastest way to build Flutter apps in Python" - it's not :(
"The fastest way to build Flutter apps in Python" is the title of Flet's web page. As someone coming from the Flutter world reading the line I draw an ideal picture of "swapping Dart language for Python and magically having the whole power of Flutter framework and the tips of your fingers".
- Job requires 12 years of Flutter experience.
-
Python GUIs
Well I haven't seen anyone mention Flet, which is pleasant (if maybe not all that complete) if you have Dart/Flutter experience, so increment your counter at least one. :-)
https://flet.dev/
nicegui
-
FastUI: Build Better UIs Faster
I was looking at this space and nicegui seemed like the best ootb experience.
https://nicegui.io/
-
Show HN: Hyperdiv β Reactive, immediate-mode web UI framework for Python
Dash is similar in spirit, as a "build web UIs with Python" framework. Dash seems more similar to nicegui (https://nicegui.io) architecturally than to Hyperdiv. Like nicegui, it builds a static dom that is then mutated via callbacks or data bindings.
By contrast, Hyperdiv lays out UI declaratively based on state, and when state changes, the app re-runs, generating an updated UI. Streamlit and Hyperdiv seem to work similarly, though I'm not sure how Streamlit handles state and state-based layout.
-
PysimpleGUI
For native GUI, DearPyGui[0] as modern as you can.
For browser web-based GUI, you can use nicegui[1]
[0] -- https://github.com/hoffstadt/DearPyGui
[1] -- https://github.com/zauberzeug/nicegui
- Python GUI libraries recommendations?
-
Learning building webpages and websites in Python
I want to bring to attention a set of frameworks that make webdevelopment using Python simple and fun. The popular opinion maybe that webpages developed with Python maybe slow. But this is not the case. Do checkout https://github.com/ofjustpy/ofjustpy/, https://github.com/zauberzeug/nicegui/ and https://github.com/justpy-org/justpy . All these frameworks are build on top of Starlette and make web development really easy. If you want simple and ready to use the nicegui is the choice. If you want fast, scalable, and more control then give ofjustpy a try.
- Updating the progress in UI from run.cpu_bound method
-
Moving from Streamlit to Nicegui
Yes, NiceGUI aims for a very gentle learning curve. Coming from Streamlit I suspect your main adaptation will be that in NiceGUI you need to write valid Python code. Streamlit constantly reevaluates your script which feels nice and easy but creates lots of problems down the road. See https://github.com/zauberzeug/nicegui/discussions/21.
-
Show HN: Dropbase β Build internal web apps with just Python
Auth is a big limitation. It's not a built-in component, they have [an example](https://github.com/zauberzeug/nicegui/blob/main/examples/aut...) using the FastAPI layer for auth, but I haven't had time the time to try implementing it. It's definitely not something you get out of the box with NiceGUI.
For scaling, I am viewing it mostly as an internal tool builder. I wouldn't recommend it for external applications. So as far as scaling an internal app I think it works fine. [Their website](https://nicegui.io) is built with NiceGUI, and it works fine, but you can feel the lag occasionally on some of their larger demo pages.
- *FOLDER* picker, not file picker?
-
Didn't want to click on refresh to see updates, this is what I did!
Well, I was at PyCon Ireland last weekend and I missed the NiceGUI talk. I hear postive things about it and anything shiney and anything frontend-related always catches my attention (although I admit talking to a friend when I missed this talk was just as fun, and it was worth it).
What are some alternatives?
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
reflex - πΈοΈ Web apps in pure Python π
streamlit - Streamlit β A faster way to build and share data apps.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.
CustomTkinter - A modern and customizable python UI-library based on Tkinter
dash - Data Apps & Dashboards for Python. No JavaScript Required.
reflex-examples - A repository full of Reflex example apps.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
django-unicorn - The magical reactive component framework for Django β¨