cratermaker.core.base.import_components

cratermaker.core.base.import_components#

cratermaker.core.base.import_components(package_name, package_path)[source]#

Import all modules of a component package, optionally skipping private modules.

Parameters:
  • package_name (str) – The full name of the package (e.g., “cratermaker.components.component”).

  • package_path (list[str]) – The __path__ attribute of the package (usually just __path__).