I'm trying to write Processing graphics programs in Python that run in a web browser that I can then copy into a script on my local machine and run them with py5. I haven't been able to find a Processing package that uses Python Mode that runs in a web context. They all seem to use the p5.js methods such as createCanvas rather than size.
The closest I have found is ProcessingJS which does use Python Mode and is used by Skulpt and Trinket but the library is now deprecated. I also tried installing py5 in Pyodide but there's no Pyodide-compatible wheel for JPype so that won't work. I also found an issue in the pyp5js project which attempted to translate function names but the code is a proof of concept.
This table I found seems to list the available options but none meet my use case. I also found this video helpful for understanding the current landscape of processing libraries.