PyScript is an open source platform for Python in the browser.
PyScript solves the problem of running Python code in web browsers without requiring server-side execution. It works by leveraging Pyodide, a version of CPython compiled to WebAssembly, alongside MicroPython and modern web technologies. This approach allows Python applications to run directly in the browser on desktop, laptop, mobile, tablet, or any browser-enabled device, with Python code embedded directly in HTML alongside JavaScript and web standards.
PyScript suits developers who want to build interactive web applications using Python rather than JavaScript, eliminating the need to learn a different language for client-side logic. It works well for data visualization, scientific computing, educational projects, and applications where Python's ecosystem provides significant value. The project provides a free online IDE for experimentation, example applications, and comprehensive documentation to help developers get started.
The project is entering maintenance mode. The maintainers hold regular community calls on Tuesday and Thursday at scheduled UTC times, with recordings uploaded to a YouTube channel. Governance is documented in a separate repository. The core contributors are employed by Anaconda to work on PyScript, providing sustained organizational backing for the project's development.