pyo3_bindgen playground

Python in, Rust out. Everything runs in your browser.

Starting…

Python input

Options
Generate
Scope
Rust API
Ctrl + Enter

Rust output

  1. Start PythonPython 3.14 for the browser, from Pyodide
  2. Install pyo3_bindgenThe generator, compiled to WebAssembly
  3. Generate bindingsFor the example on the left