flux.importer module

flux.importer.import_path(file_path)

Import a module directly from file_path

flux.importer.import_plugins(pkg_name, pluginpath=None)

Load plugins from a namespace package and optional additional paths

A plugin in pluginpath with the same name as an existing plugin will take precedence

flux.importer.import_plugins_pkg(ns_pkg)

Import all modules found in the namespace package ns_pkg