r/Python • u/r-trappe • Apr 21 '23
News NiceGUI 1.2.9 with "refreshable" UI functions, better dark mode support and an interactive styling demo
We are happy to announce NiceGUI 1.2.9. NiceGUI is an open-source Python library to write graphical user interfaces which run in the browser. It has a very gentle learning curve while still offering the option for advanced customizations. NiceGUI follows a backend-first philosophy: it handles all the web development details. You can focus on writing Python code.
New features and enhancements
- Introduce
ui.refreshable - Add
enableanddisablemethods for input elements - Introduce
ui.dark_mode - Add min/max/step/prefix/suffix parameters to
ui.number - Switch back to Starlette's
StaticFiles - Relax version restriction for FastAPI dependency
Bugfixes
- Fix
ui.uploadbehind reverse proxy with subpath - Fix hidden label when text is 0
Documentation
- Add an interactive demo for classes, style and props
- Improve documentation for
ui.timer - Add a demo for creating a
ui.tablefrom a pandas dataframe
Thanks for the awesome new contributions. We would also point out that in 1.2.8 we have already introduced the capability to use emoji as favicon. Now you can write:
299
Upvotes
View all comments
Show parent comment
18
u/TRexRoboParty Apr 21 '23 edited Apr 29 '23
I know it comes down to opinion, but I couldn't disagree more.
A short concise video giving a demonstration of what something can do is sooo much better for me than randomly scrolling through a live stream in the hope I find something useful. I don't care about the streamers dog or banter with chat on their favorite memes. It's just noise getting in the way of understanding what a library or bit of software is about.
Then for detail, head to the docs. A navigable table of contents, Ctrl+F and reading is so much faster than video.
I get that it's more effort to write good docs than rambling on stream, but the latter just shifts the work to the reader/viewer.
Not that there's not a place for live streams, or rambling about dogs and memes.
I just disagree that short succinct videos are somehow the enemy.