TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

NiceGUI – easy-to-use, Python-based UI framework

46 pointsby giladabout 2 years ago

6 comments

eyelidlessnessabout 2 years ago
I’m not the target audience so plenty of grains of salt, but I was curious and took a look. I haven’t worked in Python for a few years, but I figured I have enough background to anticipate some patterns. Foremost among them, I expected some variation of either:<p>- UI = fn(state)<p>- UI = [black box of state] + fn(something)<p>I sure wasn’t prepared for bare render statements with no assignments or return values! I looked into the examples for how things get removed or reordered in the most likely places I’d expect to find them and… I didn’t find them?<p>I mean, it’s definitely conceivable this could be “easy to use” if these imperative render statements are ~equivalent to a re-render, but it bucks against a lot of design UI API principles I’ve seen flourishing regardless of the tech stack, and raises a lot of questions about what happens after state changes invalidate previous imperative calls.<p>It’s entirely possible there’s something I’m missing! I only took a curious glance. But that glance definitely left me with the impression that either there’s more magic than described or there’s a lot of imperative state necessary to handle anything past init.
评论 #35397602 未加载
Ken_At_EMabout 2 years ago
GUIs are Pythons greatest weakness. We need a solid electron&#x2F;tauri clone with a JS front end and a Python backend and good deployment tools.
评论 #35397612 未加载
评论 #35397253 未加载
lxeabout 2 years ago
I think JS ecosystem needs a gradio-like pattern such as this one. I&#x27;m tired of how incredibly artificially low-level frontend development has become. I don&#x27;t want to solve functional programming puzzles to make a button do something,
winridabout 2 years ago
Why are the radio and checkboxes slow on my nearly $2k smartphone?
awesomebytesabout 2 years ago
How does it compare with remi? <a href="https:&#x2F;&#x2F;github.com&#x2F;rawpython&#x2F;remi">https:&#x2F;&#x2F;github.com&#x2F;rawpython&#x2F;remi</a><p>Looking at the examples, for quick UIs, REMI seems simpler. And PySimpleGUI (<a href="https:&#x2F;&#x2F;github.com&#x2F;PySimpleGUI&#x2F;PySimpleGUI">https:&#x2F;&#x2F;github.com&#x2F;PySimpleGUI&#x2F;PySimpleGUI</a>) offers REMI as a backend to deploy on web too (PySimpleGUI is pretty simple to learn).
eashish93about 2 years ago
Performance is not good. Slow UI click. Tried radio and select boxes.