Python scientific computing without installing Python (PyCloudStan?)

I just noticed the progress being made by pyodide. They seem to have made good on the following promise: “Pyodide brings the Python 3.8 runtime to the browser via WebAssembly, along with the Python scientific stack including NumPy, Pandas, Matplotlib, SciPy, and scikit-learn.”

While I do not anticipate that we can get Stan running via WebAssembly, getting PyStan working would be easy, provided it could point to a server running httpstan. Plotting and data manipulation could happen in the browser (without any need to install Python).

Seems like such a thing could be very useful for teaching.

3 Likes