Custom elements purely in Python/Pyodide

PyScript showed that custom elements are a neat way to manifest Pyodide and Python in the browser. But you have to write each one in JavaScript, then hook them up to Python. It’s too bad: such “components“ are a natural way to distribute and consume. Or do you? This video shows custom elements 100% defined in Python. With this, you can then “pre-render“ in Python as well.
Back to Top