Python Plugin and Factory utils library
Documentation is on pluggage.readthedocs.org
I have come across needs for this pattern several times, so figured I would take a stab at putting together a library to make it general/flexible enough that I never have to write it again.
Implements some general plugin loader functions as well as a metaclass driven factory and plugin registry