With PyScript, Python code runs in a browser
With PyScript, the latest project from Anaconda, it is possible to run Python code in a web page, using a single JS include string and access many popular Python packages.
PyScript uses a full port of the CPython runtime to WebAssembly to execute Python code inline. Just put the code in the tags and put the output in a select. Then a tag inserts a REPL block so you can enter and run code, and a tag works like the requirements.txt file in a repository to list needed packages. The PyScript runtime also enables many common Python packages, including scientific libraries like NumPy, Pandas, Scikit-learn, and many more that come with Anaconda. Demos from the PyScript repository show different ways of doing this.
Respond to the challenge of packaging and deploying Python applications
The goal of Anaconda for PyScript, as described in a community forum post, is to make it a possible solution to the long-standing problem of packaging and deploying Python applications. It has indeed long been difficult to take a Python script, especially one with many dependencies, and bundle it up for someone else to use as is without the Python runtime.