Did I find the right examples for you? yes no

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)
Plugins go in directories on your PYTHONPATH named twisted/plugins:
this is the only place where an __init__.py is necessary, thanks to
the __path__ variable.

@author: U{Jp Calderone<mailto:exarkun@twistedmatrix.com>}
@author: U{Glyph Lefkowitz<mailto:glyph@twistedmatrix.com>}

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/plugin.py   oh-mainline(Download)
    """
    if package is None:
        import twisted.plugins as package
    allDropins = getCache(package)
    for dropin in allDropins.itervalues():

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/plugin.py   hortonworks-sandbox(Download)
    """
    if package is None:
        import twisted.plugins as package
    allDropins = getCache(package)
    for dropin in allDropins.itervalues():

src/z/o/zope.app.twisted-3.5.0/src/twisted/plugin.py   zope.app.twisted(Download)
    return topcache
 
import twisted.plugins
def getPlugins(interface, package=twisted.plugins):
    """Retrieve all plugins implementing the given interface beneath the given module.

src/m/y/mythbox-HEAD/resources/lib/twisted/twisted/plugin.py   mythbox(Download)
    """
    if package is None:
        import twisted.plugins as package
    allDropins = getCache(package)
    for dropin in allDropins.itervalues():

src/t/w/Twisted-13.2.0/twisted/plugin.py   Twisted(Download)
    """
    if package is None:
        import twisted.plugins as package
    allDropins = getCache(package)
    for dropin in allDropins.itervalues():

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/plugin.py   SubliminalCollaborator(Download)
    """
    if package is None:
        import twisted.plugins as package
    allDropins = getCache(package)
    for dropin in allDropins.itervalues():

src/u/n/UnitScan-HEAD/twisted/plugin.py   UnitScan(Download)
    """
    if package is None:
        import twisted.plugins as package
    allDropins = getCache(package)
    for dropin in allDropins.itervalues():

src/t/w/TwistedBot-HEAD/libs/twisted/plugin.py   TwistedBot(Download)
    """
    if package is None:
        import twisted.plugins as package
    allDropins = getCache(package)
    for dropin in allDropins.itervalues():

src/u/n/UnitScan-HEAD/twisted/internet/test/test_endpoints.py   UnitScan(Download)
from twisted.python.failure import Failure
 
from twisted import plugins
from twisted.python.modules import getModule
from twisted.python.filepath import FilePath

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/internet/test/test_endpoints.py   oh-mainline(Download)
from twisted.python.failure import Failure
 
from twisted import plugins
from twisted.python.modules import getModule
from twisted.python.filepath import FilePath

  1 | 2  Next