abacura.plugins package

Subpackages

Submodules

abacura.plugins.plugin module

abacura.plugins.registry module

Module contents

class abacura.plugins.ContextProvider(config: Config, session_name: str)[source]

Bases: object

get_injections() dict[source]
class abacura.plugins.Plugin[source]

Bases: object

Generic Plugin Class

add_action(pattern: str, callback_fn: Callable, flags: int = 0, name: str = '', color: bool = False)[source]
add_substitute(pattern: str, repl: str, name: str = '')[source]
add_ticker(seconds: float, callback_fn: Callable, repeats: int = 0, name: str = '')[source]
config: Config

Dependency descriptor for dependencies specified as class level annotations

core_msdp: MSDP

Dependency descriptor for dependencies specified as class level annotations

director: Director

Dependency descriptor for dependencies specified as class level annotations

get_help()[source]
get_name()[source]
remove_action(name: str)[source]
remove_substitute(name: str)[source]
remove_ticker(name: str)[source]
session: Session

Dependency descriptor for dependencies specified as class level annotations

abacura.plugins.action(pattern: str, flags: int = 0, color: bool = False, priority: int = 0)[source]
abacura.plugins.command(function=None, name: str = '')[source]