PyScript enables Python in the browser without the reliance on server-side configuration.
Use the Python ecosystem: Run many popular packages of Python and the scientific stack (such as numpy, pandas, scikit-learn, and more)
Python with JavaScript: Bi-directional communication between Python and Javascript objects and namespaces.
Environment management: Allow users to define what packages and files to include for the page code to run.
Visual application development: Use readily available curated UI components, such as buttons, containers, text boxes, and more.
Flexible framework: A flexible framework that can be leveraged to create and share new pluggable and extensible components directly in Python.
PyScript was made possible:
๐น WebAssembly/WASM
Allows C/C++, C# & Rust to run in the browser.
๐น Emscripten
Compiles C/C++ code to WebAssembly.
๐น Pyodide
Python implementations compiled to WebAssembly.