pybitmessage.plugins.plugin module

Operating with plugins

get_plugins(group, point='', name=None, fallback=None)[source]
Parameters:
  • group (str) – plugin group
  • point (str) – plugin name prefix
  • name – exact plugin name
  • fallback – fallback plugin name

Iterate through plugins (connect_plugin attribute of entry point) which name starts with point or equals to name. If fallback kwarg specified, plugin with that name yield last.

get_plugin(*args, **kwargs)[source]
Returns:first available plugin from get_plugins() if any.