redditwarp.util.imports#

redditwarp.util.imports.load_spec(name: str, package: str | None = None) ModuleSpec[source]#
redditwarp.util.imports.load_spec_from_file_location(name: str, location: str | bytes | PathLike[str] | PathLike[bytes]) ModuleSpec[source]#
redditwarp.util.imports.import_module_from_spec(spec: ModuleSpec) ModuleType[source]#
class redditwarp.util.imports.LazyImport[source]#

Bases: object

An object for lazily loading modules.