Mesa running on pycafe (pyodide 'deployment') #2170
Replies: 4 comments 8 replies
-
FYI: see mckinsey/vizro#569 for how this project will use pycafe |
Beta Was this translation helpful? Give feedback.
-
Looks very interesting! We have been discussing some kind of equivalent to NetLogo Web for some time, this definitely looks like one of the more promising solutions. Native Solara and Plotly support is definitively a pre. |
Beta Was this translation helpful? Give feedback.
-
Actually, vaexio/vaex#2331 inspired me to look at vaex on wasm. I got it compiling, but it needs pyarrow (which is in the making). Looking forward to your feedback and also your ideas on how you'd ideally want to use it. |
Beta Was this translation helpful? Give feedback.
-
I so wish I could just throw a few weeks of engineering time against this problem. Having interactive, no-code, user-facing examples would so helpful for students and modellers to get into the Mesa ecosystem. Like having all our examples runnable from an online interface without installing anything. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
recently we pre-launched https://py.cafe - a platform to run, edit and share Python apps in the browser.
Also, as the creator of Solara, I was curious if Mesa worked on this platform, and it works nicely:
See: https://py.cafe/maartenbreddels/mesa-example-wealth
(Note: we have the option to store a preview image as well, which is ideal for docs or social sharing - the image URL is https://py.cafe/preview/maartenbreddels/mesa-example-wealth )
So you can create links with a preview image like this:
We use it for solara to communicate with users on how to do things, like share examples. We've also been working with other open source libraries to use it as a building block for documentation as the apps can be easily embedded in an iframe.
It is also easy to 'extract' the code, to inject it in your docs, e.g.:
https://py.cafe/files/maartenbreddels/mesa-example-wealth/app.py
Let me know if the mesa developers find this useful, and if so, in what ways. We are happy to listen to ideas and feedback to improve py.cafe.
Regards,
Maarten Breddels
PS: it's not an open source product, but we will make sure the free usage is sufficient for open source usage.
Beta Was this translation helpful? Give feedback.
All reactions