django-unicorn
nicegui
Our great sponsors
django-unicorn | nicegui | |
---|---|---|
51 | 179 | |
2,182 | 7,298 | |
- | 7.8% | |
9.0 | 9.9 | |
11 days ago | 5 days ago | |
Python | Python | |
MIT License | 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.
django-unicorn
- Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
-
Coming to grips with JS: a Rubyist's deep dive
Then there are stack-specific libraries: StimulusReflex for Rails, Phoenix LiveView, Laravel Livewire, Unicorn and Tetra for Django, Blazor for .NET, … and the list goes on.
- Unicorn – A full-stack web framework for Django
-
Reflex – Web apps in pure Python
- you get one of the best ORMs in existence with great relationship handling and generated admins
https://www.django-unicorn.com/
Not 1.0 yet but I'm using it in production and omgosh is it easy to crank out UIs.
-
Django 4.2 Released
There's a brilliant project called Django Unicorn that aims to be the equivalent of Laravel Livewire for Django. You should take a look.
https://www.django-unicorn.com/
That and HTMX + Alpine.js are a strong combination.
(I also had a bash at building a similar tool for Django called Tetra but unfortunately haven't had the time needed to commit to it: https://www.tetraframework.com)
-
Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
I think all LiveView frameworks should be part of this.
Here are two Python ones I've tried:
https://www.django-unicorn.com/
-
Phoenix Liveview Implementations
I'm biased since I created https://www.django-unicorn.com/, but I have a few thoughts. :)
-
Frontend framework for django?
Have you looked into Django Unicorn?
-
Endless stack in Django
Check out https://www.django-unicorn.com/ it is like htmx but is closer to Django.
-
Rails has Hotwire (which as I understand is an SPA-like integrated frontend with much reduced complexity), is there something analogous in Django? Is this what HTMX is? I really don't want to learn React or Vue..
When I was exploring the space, django-unicorn looked interesting also. But HTMX got me so far, so easily, that I didn't give unicorn a fair shake.
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?
django-htmx - Extensions for using Django with htmx.
reflex - 🕸️ Web apps in pure Python 🐍
streamlit - Streamlit — A faster way to build and share data apps.
htmx - </> htmx - high power tools for HTML
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
PyWebIO - Write interactive web app in script way.
remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.
dash - Data Apps & Dashboards for Python. No JavaScript Required.
Flask - The Python micro framework for building web applications.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production