Skip to content
Search

PyScript

lastmod 2024-04-24created 2022-05-065 edits

Run Python code in HTML

Features

  • Runs Python code inside the browser without help from a server, based on Pyodide (WASM)
  • Run code with <py-script>, create a REPL component with <py-repl>
  • Many Python packages available: numpy, pandas, scikit-learn ..
  • Supports bidirectional communication between Python and Javascript objects
  • Supports UI components such as buttons, containers, and text boxes
  • See the demos: https://pyscript.net/examples/

See also

Favorite site

author Zer0 sitemap