For accessibility reasons, is it possible to have the chapters in html form as well? I don't know if it is possible to have the source code of the book, but it is also an option.

On this note I’d be willing to support a html port with inline python code running via pyodide if the helps wanted too.

See https://rubberduckmaths.com/eulers_theorem for an example where i wrote a blog post with lots of inline runnable Python code samples.

I think this is the best format for python code samples and tutorials. It’s even better than notebooks. No IDE to setup, a completely static and saveable html page, easily runnable and changeable python.