twisted.plugin.getPlugins(interface, package=None) function documentationtwisted.plugin
View Source
Retrieve all plugins implementing the given interface beneath the given module.
| Parameters | interface | An interface class. Only plugins which implement this interface will be returned. |
| package | A package beneath which plugins are installed. For most uses, the default value is correct. | |
| Returns | An iterator of plugins. | |