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 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