Live data from Hacker News

Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

gitlab.com

11–20 of 20 posts

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#11

The result can be hosted? I don't understand if you can do client server communication.

Ah should probably make this clearer in the README, it then serves this through an http server.

It keeps running your render method and dynamically updates your client.

The first example documents this a bit better: https://gitlab.com/BenWiser/python-live-gui/-/blob/main/exam...

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#12

How does your tool do on accessibility? Asking specifically, as that is the one hill most open sourced guis die on.

Not yet, I plan to add support for this ~soonish because it will be harder to add later on.

It’s very much early days though. I didn’t want to go near accessibility until I had standardised the rendering model somewhat.

It also waits to be seen if anyone actually wants to use this besides me.

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#13
post #8

Another LiveView-like UI framework for Python: https://github.com/flet-dev/flet - created specifically for highly interactive real-time experiences. You build your UI from controls made of Flutter widgets and partial UI updates are passed to a browser via WebSockets.

holy cow!!! this is amazing, like PySide4 but for Flutter

Flutter would be perfect if it produced web applications that were more widely adopted.

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#14
Dear ImGUI also has python bindings [1] which I've had great success with in tuning computer vision algorithms interactively. It's a slightly different use case than your project here since it doesn't use a browser and only works locally.

[1]https://github.com/pyimgui/pyimgui

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#15

Hey all, author here. I had some time off last week so I built a little tool I've been planning on using for a while now. Thought I'd just comment on my motivations for building this. I bought a little chromebook tablet to take on holidays. I've been enjoying the experience of using a remote IDE to code on my personal server. I thought it would be neat if I could quickly make myself GUIs for other utilities on my rem…

does this support concurrent users connected to the same UI?

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#16
post #8

Another LiveView-like UI framework for Python: https://github.com/flet-dev/flet - created specifically for highly interactive real-time experiences. You build your UI from controls made of Flutter widgets and partial UI updates are passed to a browser via WebSockets.

holy cow!!! this is amazing, like PySide4 but for Flutter Flutter would be perfect if it produced web applications that were more widely adopted.

Right? I know Google has a habbit of dropping great projects, but, somehow, I believe in the future of Flutter on web :) Using Canvas + Skia + WebAssembly for rendering UI in the browser could look like a "wrong" approach today, but, hey, Google created the most popular browser, so who knows. They talk about their vision in this video: https://youtu.be/kCnYRhkfWHY. Flutter is great for web apps, not for web sites where SEO is important. And Google is actively working on better accessibility support - Accessebility Object Model (starting at 10:00 in that video) which is eventually could to be a new standard.

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#17

Hey all, author here. I had some time off last week so I built a little tool I've been planning on using for a while now. Thought I'd just comment on my motivations for building this. I bought a little chromebook tablet to take on holidays. I've been enjoying the experience of using a remote IDE to code on my personal server. I thought it would be neat if I could quickly make myself GUIs for other utilities on my rem…

does this support concurrent users connected to the same UI?

Yeah it does, it spawns a new thread with separate state per user.

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#19
post #8

Another LiveView-like UI framework for Python: https://github.com/flet-dev/flet - created specifically for highly interactive real-time experiences. You build your UI from controls made of Flutter widgets and partial UI updates are passed to a browser via WebSockets.

Is there a way to for multiple users to connect to the same web application with Flet?

Re: Show HN: Python Live GUI – A Hybrid of Dear ImGUI and Phoenix LiveView

#20
post #8

Another LiveView-like UI framework for Python: https://github.com/flet-dev/flet - created specifically for highly interactive real-time experiences. You build your UI from controls made of Flutter widgets and partial UI updates are passed to a browser via WebSockets.

Is there a way to for multiple users to connect to the same web application with Flet?

Absolutely, an app's entry-point "main" function is called for every new user session with unique instance of a "page": https://github.com/flet-dev/examples/blob/main/python/apps/h...
Post reply on HN