module documentation
(source)

Plugin system for Twisted.
Authors
Jp Calderone
Glyph Lefkowitz
Interface ​IPlugin Interface that must be implemented by all plugins.
Class ​Cached​Dropin A collection of CachedPlugin instances from a particular module in a plugin package.
Class ​Cached​Plugin Undocumented
Function fromkeys Undocumented
Function get​Cache Compute all the possible loadable plugins, while loading as few as possible and hitting the filesystem as little as possible.
Function get​Plugins Retrieve all plugins implementing the given interface beneath the given module.
Function plugin​Package​Paths Return a list of additional directories which should be searched for modules to be included as part of the named plugin package.
Function _generate​Cache​Entry Undocumented
def fromkeys(keys, value=None): (source)

Undocumented

def getCache(module): (source)
Compute all the possible loadable plugins, while loading as few as possible and hitting the filesystem as little as possible.
Parameters
modulea Python module object. This represents a package to search for plugins.
Returns
a dictionary mapping module names to CachedDropin instances.
def getPlugins(interface, package=None): (source)
Retrieve all plugins implementing the given interface beneath the given module.
Parameters
interfaceAn interface class. Only plugins which implement this interface will be returned.
packageA package beneath which plugins are installed. For most uses, the default value is correct.
Returns
An iterator of plugins.
def pluginPackagePaths(name): (source)
Return a list of additional directories which should be searched for modules to be included as part of the named plugin package.
Parameters
name:strThe fully-qualified Python name of a plugin package, eg 'twisted.plugins'.
Returns
list of strThe absolute paths to other directories which may contain plugin modules for the named plugin package.
def _generateCacheEntry(provider): (source)

Undocumented