dependencies

Classes

DeferredImportCallbackFinder()

Custom Finder that will wrap the normal loader to trigger callbacks

DeferredImportCallbackLoader(loader, ...)

Custom Loader to resolve registered DeferredImportIndicator objects

DeferredImportIndicator(name, error_message, ...)

Placeholder indicating if an import was successful.

DeferredImportModule(indicator, ...)

Mock module object to support the deferred import of a module.

ModuleUnavailable(name, message, ...)

Mock object that raises DeferredImportError upon attribute access

declare_modules_as_importable(globals_dict)

Make all ModuleType and DeferredImportModules importable through the globals_dict context.

Functions

UnavailableClass(unavailable_module)

Function to generate an "unavailable" base class

attempt_import(name[, error_message, ...])

Attempt to import the specified module.

check_min_version(module, min_version)

declare_deferred_modules_as_importable(...)

DEPRECATED.