当前位置: 首页>>代码示例>>Python>>正文


Python plugins.Plugin类代码示例

本文整理汇总了Python中plugins.Plugin的典型用法代码示例。如果您正苦于以下问题:Python Plugin类的具体用法?Python Plugin怎么用?Python Plugin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Plugin类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.__shell = None
     self.bin_path = None
     self.__crgMap = None
     self.applicationOsh = None
     self.cmdlets_prefix = ""
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:7,代码来源:plugin_mscluster_ntcmd_version.py

示例2: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.__client = None
     self.__process = None
     self.__isWinOs = None
     self.__path = None
     self.__configFileName = 'ias.properties'
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:7,代码来源:plugins_appsignature_oracle_ias_by_shell.py

示例3: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.__client = None
     self.__process = None
     self.__isWinOs = None
     self.__cmd = None
     self.__listenerStatus = None
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:7,代码来源:plugins_appsignature_dbversion_by_shell.py

示例4: __init__

    def __init__(self, *args, **kwargs):
        Plugin.__init__(self, *args, **kwargs)

        self.url = ('http://hd{}.freebox.fr/pub/'
                    'remote_control?code={}&key={{}}').format(
            self.conf('boxnumber'),
            self.conf('remotecode')
        )
开发者ID:tiramiseb,项目名称:media-controller,代码行数:8,代码来源:freebox.py

示例5: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.__shell = None
     self.ftCli_bin_path = None
     self.fsSeparator = None
     self.ftCli_executePath = None
     self.ftCli_name = None
     self.domainName = None
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:8,代码来源:plugin_emc_autostart_cluster_by_shell.py

示例6: reload

 def reload(self, name='all'):
     '''Reloads the specified plugin. Example: !reload dice'''
     try:
         if name == 'all':
             for module in Plugin.library:
                 Plugin.reload(module)
         else:
             Plugin.reload(name)
     except KeyError:
         return 'No such plugin is currently loaded. Try !load {0}'.format(name)
开发者ID:DrMegahertz,项目名称:pycri,代码行数:10,代码来源:core.py

示例7: __init__

 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     lircrc = tempfile.NamedTemporaryFile('w', delete=False)
     self.lircrc = lircrc.name
     for key, value in self.allconf():
         lircrc.write(
             'begin\n'
             '  prog = mediacontroller\n'
             '  button = {}\n'
             '  config = {}\n'
             'end\n'.format(key, value)
         )
     lircrc.close()
开发者ID:tiramiseb,项目名称:media-controller,代码行数:13,代码来源:irremote.py

示例8: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.version = None
     self.supportRouting = None
     self.msgStorageLimit = None
     self.jStorageLimit = None
     self.applicationOsh = None
     self.client = None
     self.context = None
     self.domainParamsList = None
     self.msmqParamsList = None
     self.domainFqdn = None
     self.installationType = None
     self.isTriggersEnabled = None
     self.msmqInstallParams = None
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:15,代码来源:plugin_microsoft_mq.py

示例9: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.allowedProcesses = []
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:3,代码来源:plugins_basics.py

示例10: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.__client = None
     self.__cmd = None
     self.__applicationOsh = None
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:5,代码来源:plugin_appsignature_postgresql_by_shell.py

示例11: __init__

 def __init__(self):
     Plugin.__init__(self, "table")
开发者ID:ryansturmer,项目名称:jot,代码行数:2,代码来源:table.py

示例12: __init__

 def __init__(self):
     Plugin.__init__(self)
     self.__client = None
     self.__allowedProcesses = ['siebsvc.exe', 'siebmtsh.exe', 'siebproc.exe', 'siebsess.exe', 'siebsh.exe']
开发者ID:ddonnelly19,项目名称:dd-git,代码行数:4,代码来源:plugin_siebel_by_ntcmd.py

示例13: startFactory

    def startFactory(self):
        for plugin in settings.PLUGINS:
            Plugin.load(plugin)

        protocol.ClientFactory.startFactory(self)
开发者ID:DrMegahertz,项目名称:pycri,代码行数:5,代码来源:ircbot.py

示例14: load

 def load(self, name):
     '''Loads the specified plugin. Example: !load dice'''
     try:
         Plugin.load(name)
     except ImportError:
         return 'No such plugin.'
开发者ID:DrMegahertz,项目名称:pycri,代码行数:6,代码来源:core.py

示例15: unload

 def unload(self, name):
     '''Unloads the specified plugin. Example: !unload dice'''
     Plugin.unload(name)
开发者ID:DrMegahertz,项目名称:pycri,代码行数:3,代码来源:core.py


注:本文中的plugins.Plugin类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。