duck.utils.importerΒΆ

Module, object and variable importation module.

Module ContentsΒΆ

FunctionsΒΆ

import_module_once

Import a module only once.

x_import

Function to import an object or class from a path e.g. os.path.Path

APIΒΆ

duck.utils.importer.import_module_once(module_name, package: str = None)[source]ΒΆ

Import a module only once.

duck.utils.importer.x_import(object_path, package: str = None)[source]ΒΆ

Function to import an object or class from a path e.g. os.path.Path