Skip to content
Back to Libraries

Pyodide

12k

Python runtime for the browser via WebAssembly

⚡ WASM🔥 TrendingWASM Runtime
License
MPL-2.0
Released
2019
Stars
12k

Use Cases

Run Python in browser, data science notebooks, NumPy/Pandas in web apps, Python education

Code Example

import { loadPyodide } from 'pyodide';
const pyodide = await loadPyodide();
await pyodide.loadPackage('numpy');
const result = pyodide.runPython('import numpy; numpy.array([1, 2, 3])');

Related Libraries