Hi.
Out of frustration with lua and virtual joypads, I tried to write in some python support into bizhawk. I have made an experimental external tool for it:
https://github.com/magnusjjj/HissHawk
It's fairly straightforward. Run bizhawk with the plugin, and you will have a window pop up that will greet you with a 'Hi from python' if it works. You can then click a button to open the script folder to edit away, or try writing python code into the little one line input :).
It's *very* rudimentary. Right now it only reacts to changing the rom you are playing, or 'waking up'. Will add more events as I actually *use* the plugin.
You should have access to *everything* you can do if you write a C# plugin though. The entire .net library is available, and all the bizhawk internal functions and the like. You don't have to write any special wrappers or anything.
I would love if someone else tried it, preferably someone with coding experience.
Right now it's only tested on windows, with python 3.9.
It uses the system wide python, so you need to have python installed and on your PATH variable :). Apart from that, it should ask you if you want to install the extra dependencies automatically.