This looks an interesting project, run python in your HTML. PyScript is a framework that allows users to create rich Python applications in the browser using HTML’s interface and the power of Pyodide, WASM, and modern web technologies. The PyScript framework provides users at every experience level with access to an expressive, easy-to-learn programming language with countless applications.
The PyScript library provides HTML tags for embedding and executing Python code in your browser. PyScript is built using Pyodide, the WebAssembly port of CPython, which is compiled using Emscripten.
The documentation is here https://docs.pyscript.net/latest/
Tutorials are here https://docs.pyscript.net/latest/tutorials/index.html
GitHub link https://github.com/pyscript/pyscript