class core.plugin.plugin.IPlugin[source]

Bases: object

Define a Plugin from an entry point.

distribution[source]

Current python distribution

identifier[source]

Unique identifier. By default, identifier is pluginmodule:PluginClass

implementation[source]

Real implementation

label[source]

Human readable name

module[source]

Module containing implementation

modulename[source]

Python module path containing implementation

name[source]

Short name to identify plugin. Different plugin may have same name.

objectname[source]

Name of implementation

class core.plugin.plugin.Plugin[source]

Bases: object

class core.plugin.plugin.PluginDef[source]

Bases: object

DROP_PLUGIN = 1
LOWER_CASE = 2
UNCHANGED = 0
core.plugin.plugin.discover(group, name=None)[source]

Return all Plugin objects from group.

Parameters:
  • group : the name of a plugin group
Returns:
  • plugins : dict of name:plugin
Todo:

check that the same name is not used by several plugins

core.plugin.plugin.iter_groups()[source]
core.plugin.plugin.iter_plugins(group, name=None, debug=False)[source]
core.plugin.plugin.plugin_name(plugin)[source]

Previous topic

<no title>

Next topic

core.project package

This Page