Live data from Hacker News

Show HN: Mesop – Open-source Python UI framework

google.github.io

11–20 of 56 posts

Re: Show HN: Mesop – Open-source Python UI framework

#12

If only we had something like this for native desktop applications.

Might want to check out: https://flet.dev/docs/cookbook/packaging-desktop-app/

I haven't used it personally (this is separate from mesop), but it looks like a way to program desktop guis (among other platforms ( in Python

Re: Show HN: Mesop – Open-source Python UI framework

#13
post #9
post #8

Earlier quoted context omitted.

So If I make a request from the python code, is the request executed in the browser ? or on the server ? Is the UI layer executing in the browser and use proxy rpc from the server ?

All the python code, including requests are executed on the server Take a look at https://google.github.io/mesop/internal/architecture/ for an explainer on how the client-server interaction works and let me know if you have any questions!

Yay, thank you :-) going to take a look!

Re: Show HN: Mesop – Open-source Python UI framework

#14
post #7

Earlier quoted context omitted.

The error is: partially initialized module 'pandas' has no attribute '_pandas_datetime_CAPI' (most likely due to a circular import) This happens only on the second interaction.

OK thanks. I've filed an issue here: https://github.com/google/mesop/issues/345 if you could share with us a repro (the Mesop code you're running) on the issue, that would be helpful in debugging this. If you take a look at the "table" example on the demo gallery: https://google.github.io/mesop/demo/ it shows how to use Pandas w/ Mesop, so I'm not sure what's going on.

ok, will look at the issue and add an example if possible. The code I was executing was one of the example code present on the site. So nothing special.

Re: Show HN: Mesop – Open-source Python UI framework

#15
Will you guys ever just do Python -> WASM? I think the next "Big break" for front-end web dev is literally this. I've been using Microsoft's Blazor (C#) which is this, with a mix of back-end and front-end capabilities, and I just don't see any reason to ever use JS or React again.
Post reply on HN