Dan in CA
Sorry no one got back to you in a timely manner. Although I wouldn’t have had a good answer for you.
What you worked out is something I was planning to investigate because I want to add some additional features without modifying the ospi.py program itself. I will add the code for importing a custom module to ospi.py and include a file named ospi_addon.py in the distribution so that anyone who wants to add custom features will have a starting point.
This is a great addition to the project. Thanks for your contribution.