PyScript embeds Python in HTML pages so applications run in the browser via Pyodide, MicroPython, and WebAssembly. The project is in maintenance mode but remains documented for learners and experimenters.
Overview
PyScript targets authors who want to write Python instead of JavaScript for interactive web pages. Markup can reference Python scripts that execute client-side wherever a modern browser runs, including laptops, phones, and tablets.
The stack combines CPython through Pyodide, MicroPython builds, WASM, and standard web APIs. Tutorials, example apps, and technical documentation describe how to structure pages and share them as ordinary URLs without dedicated server-side Python hosting for execution.
PyScript.com offers a hosted try-it experience and learning resources. Community calls on a public calendar cover development topics and informal project showcases, with recordings published to the project YouTube channel.
The core team notes the effort is in maintenance mode while governance and contribution guides remain available for those extending or packaging the platform.
Key features
- Python embedded in HTML pages
- Pyodide and MicroPython runtimes
- WebAssembly-based execution
- Browser-only deployment model
- Tutorial and example gallery
- Community calls and calendar
- Hosted try-it at PyScript.com
- No local install for end users
Use cases
- Teaching Python with live web demos
- Sharing small interactive notebooks via URL
- Prototyping client-side Python UIs
- Data visualizations in static pages