Module t.plugin

Part of twisted View Source

Plugin system for Twisted.
AuthorsJp Calderone
Glyph Lefkowitz
Line # Kind Name Docs
30 Function getmtime Undocumented
40 Interface IPlugin Interface that must be implemented by all plugins.
48 Interface ITestPlugin A plugin for use by the plugin system's unit tests.
54 Interface ITestPlugin2 See ITestPlugin.
58 Class CachedPlugin Undocumented
85 Class CachedDropin Undocumented
91 Function _generateCacheEntry Undocumented
103 Function fromkeys Undocumented
114 Class WindowsError Stand-in for sometimes-builtin exception on platforms for which it
124 Function getCache Undocumented
204 Function getPlugins Retrieve all plugins implementing the given interface beneath the given module.
def getmtime(x):
Undocumented
def _generateCacheEntry(provider):
Undocumented
def fromkeys(keys, value=None):
Undocumented
def getCache(module):
Undocumented
def getPlugins(interface, package=twisted.plugins):
Retrieve all plugins implementing the given interface beneath the given module.
ParametersinterfaceAn 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.
ReturnsAn iterator of plugins.