This module provides LazyModule for loading plugin modules in lazy way - only when members of actual plugin are requested.


class LazyModule(name, package, entry_point)[source]

It provides a ModuleType object that acts as a placeholder for modules registered via entry-points. It replaces the actual module without actually importing it until a member of the module is requested, which automatically triggers the load of the entry-point and the substitution of this placeholder by the actual module

(more info)