News for hackers. Stuff that matters.
Re:Python 3.11 in the Web Browser by wishawa on Saturday March 26, 2022 @05:47PM (#30815652)
Have you seen Skulpt [1]? It doesn’t do matplotlib (or most other library) but it’s pure JS.

[1]: https://skulpt.org/

Re:Python 3.11 in the Web Browser by acbart on Sunday March 27, 2022 @12:17AM (#30817664)
MatPlotLib 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/ma...

Re:Python 3.11 in the Web Browser by mcintyre1994 on Saturday March 26, 2022 @06:03PM (#30815766)
Ah 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.
Re:Python 3.11 in the Web Browser by rufugee on Saturday March 26, 2022 @07:07PM (#30816159)
Anvil 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 ;-)
Re:Python 3.11 in the Web Browser by tomatowurst on Saturday March 26, 2022 @08:43PM (#30816684)
interesting, 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)