4 ms·
Have you seen Skulpt [1]? It doesn’t do matplotlib (or most other library) but it’s pure JS. [1]: https://skulpt.org/ https://skulpt.org/
by wishawa 5y ago
Have you seen Skulpt [1]? It doesn’t do matplotlib (or most other library) but it’s pure JS.
[1]: https://skulpt.org/ https://skulpt.org/
- mcintyre1994 5y agoAh yep! I came across it a few years ago when I was chatting to the team at anvil.works, they were using it for their client side python. Looks really cool, really ambitious and impressive project.
- rufugee 5y agoAnvil is pretty cool...I spent a good bit of time experimenting with it. Unfortunately, it has some edges you hit quickly as an experienced developer which get in your way. However, for their target audience, which I infer to be skilled business folks who don't necessarily develop full time, it's awesome ;-)
- tomatowurst 5y agointeresting, is it possible to write some sort of frontend framework like solidjs with this? what would be the the performance like I wonder. it would be really great if we could have full python/pip support in the browser but with some vetting done (just realized we don't have such thing in pip, other than relying on pip lockfiles and pipenv)
- acbart 5y agoMatPlotLib support in Skulpt for BlockPy [1]. Not complete, but workable for a lot of common graphs that I use in my CS1 course. [1]: https://github.com/blockpy-edu/skulpt/blob/master/src/lib/matplotlib/pyplot/__init__.js https://github.com/blockpy-edu/skulpt/blob/master/src/lib/ma...