
Pure Python wheels may also be installed from the PyPi Python package manager. 75 packages are available at the time of the release. The latest release note states that Pyodide converted the Python 3.8 runtime to WebAssembly, along with the Python scientific stack including NumPy (scientific computing), Pandas (data analysis), Matplotlib (plotting library), SciPy (scientific and technical computing), and scikit-learn (machine learning).
#Run python in browser full
Pyodide may be used in any context where it is necessary to run Python inside a web browser with full access to the Web APIs. The Iodide playground showcases a notebook that uses Python and Python packages in a JavaScript environment and vice versa: Mozilla’s WebAssembly wizards offered a more ambitious idea: if many scientists prefer Python, meet them where they are by compiling the Python science stack to run in WebAssembly. When we started thinking about making the web better for scientists, we focused on ways that we could make working with Javascript better, like compiling existing scientific libraries to WebAssembly and wrapping them in easy-to-use JS APIs. The Pyodide team originally explained the rationale behind Pyodide as follows: Pyodide leverages the CPython 3.8 interpreter compiled to WebAssembly, and thus allows using Python, NumPy, Pandas, Matplotlib, SciPy, and more in Iodide, an experimental interactive scientific computing environment for the web. Mozilla announced that Pyodide, a project aiming at providing a full Python data science stack running entirely in the browser, has become an independent community-driven project.
