Python input
Try
Pure-Python packages from PyPI and the packages that Pyodide builds, such as NumPy, install here. Packages that only ship native wheels for other platforms do not.
Try
Any module that Python can import here works: the standard library, NumPy, or packages installed in the PyPI tab.
Ctrl + Enter
Rust output
- Start PythonPython 3.14 for the browser, from Pyodide
- Install pyo3_bindgenThe generator, compiled to WebAssembly
- Generate bindingsFor the example on the left
The generated Rust appears here.
Outdated: this shows the last bindings that generated.