5.3.1.6. get_plugin_info

mfutil.plugins.get_plugin_info(name_or_filepath, mode='auto', plugins_base_dir=None)[source]

Get detailed information about a plugin.

Parameters
  • name_or_filepath (string) – name or file path of the plugin.

  • mode (string) –

    • “name”: get information from the plugin name

    (name_or_filepath is the name of the plugin). - “file”: get information from the plutgin file (name_or_filepath is the plugin file path). - “auto”: guess if the name_or_filepath parameter is the name or the file path of the plugin.

  • plugins_base_dir (string) – (optional) the plugin base directory path. If not set, the default plugins base directory path is used.

Returns

dictionary containing plugin information

Return type

(dict)

Raises

MFUtilPluginBaseNotInitialized – if the plugins base is not initialized.