News for hackers. Stuff that matters.
Re:Kivy – a cross platform Python UI framework by kumarvvr on Saturday July 06, 2024 @11:03PM (#40894975)
All these types of frameworks, ones that have code to make their own UI are fine, but what I really want is to have a declarative UI, like HTML or XAML, bound with some user interaction event engine and access to the underlying OS.

Hopefully, we can have that someday, without the likes of Electron or whatnot.

I would like to write a react app, with all its progress in UI/UX and thousands of libraries, package them into a Python app and distribute it as a desktop application.

Re:Kivy – a cross platform Python UI framework by JodieBenitez on Saturday July 06, 2024 @11:48PM (#40895133)
Pywebview + Pyinstaller gives you just that.

https://pywebview.flowrl.com https://pyinstaller.org/en/stable/

Re:Kivy – a cross platform Python UI framework by jennasys on Monday July 08, 2024 @02:55AM (#40903165)
Kivy gives you a pretty good separation of logic and UI with its declarative yaml-like kv files. For me, it conceptually feels a lot like developing in React.