brainscore_core.plugin_management.import_plugin

Functions

import_plugin(library_root, plugin_type, ...)

Installs the dependencies of the given plugin and imports its base package: Given the identifier Futrell2018-pearsonr from library_root brainscore_language, locate_plugin() sets plugin_dirname directory of plugin denoted by the identifier, then install_requirements() installs all requirements in that directory's requirements.txt, and the plugin base package is imported

installation_preference()

print_plugin_dir(library_root, plugin_type, ...)

Classes

ImportPlugin(library_root, plugin_type, ...)

import plugin and (optionally) install dependencies