dismantle.plugin package#

Submodules#

dismantle.plugin.iplugin module#

Provide a pligin interface.

class dismantle.plugin.iplugin.IPlugin[source]#

Bases: object

Plugin interface to recognise what needs to be processed.

dismantle.plugin.plugin module#

Provide the ability to decorate functions with a plugin decorator.

class dismantle.plugin.plugin.plugin(name, priority=100)[source]#

Bases: object

Plugin decorator to register plugins.

dismantle.plugin.plugins module#

Plugins locator.

class dismantle.plugin.plugins.Plugins(types, packages, prefix)[source]#

Bases: object

Search through the installed packages and find plugins.

property imports#

Return the list of imported plugins.

property plugins#

Return the list of plugins.

dismantle.plugin.register module#

Register plugin hooks.

dismantle.plugin.register.register(name=None)[source]#

Register a function to add plugins to.

Module contents#

Plugin management.

class dismantle.plugin.IPlugin[source]#

Bases: object

Plugin interface to recognise what needs to be processed.

class dismantle.plugin.Plugins(types, packages, prefix)[source]#

Bases: object

Search through the installed packages and find plugins.

property imports#

Return the list of imported plugins.

property plugins#

Return the list of plugins.

class dismantle.plugin.plugin(name, priority=100)[source]#

Bases: object

Plugin decorator to register plugins.

dismantle.plugin.register(name=None)[source]#

Register a function to add plugins to.