PyScript - Run Python in Your HTML
PyScript - Run Python in Your HTML
<html>
...
<py-script> print('Now you can!') </py-script>
</html>
Examples
Click here for example projects
Documentation
Click here for PyScript documentation
Install
Click here for instructions
Please be advised that PyScript is very alpha and under heavy development. There are many known issues,
from usability to loading times, and you should expect things to change often. We encourage people to play
and explore with PyScript, but at this time we do not recommend using it for production.
pyscript_dev
@pyscript_dev
Python in the browser: Enable drop-in content, external file hosting, and application
hosting without the reliance on server-side configuration
Python ecosystem: Run many popular packages of Python and the scientific stack
(such as numpy, pandas, scikit-learn, and more)
All that to say… PyScript is just HTML, only a bit (okay, maybe a lot) more powerful,
thanks to the rich and accessible ecosystem of Python libraries.