Implementing a plug-in mechanism

Thomas Passin list1 at tompassin.net
Wed Mar 15 18:38:09 EDT 2023


On 3/15/2023 6:06 PM, Weatherby,Gerard wrote:
> I do something similar to Thomas. (Also MIT licensed). I like objects. I like type hints.
> 
> Each plugin needs to have check and purpose functions and accepts either PluginSpec (by default) or AddonSpec if it defines addon = True

I omitted the checks because they specific to the use, so I thought they 
would just be a bit confusing.



More information about the Python-list mailing list