class importlib.machinery.ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None)
A specification for a module’s import-system-related state.
New in version 3.4.
name
(__name__)
A string for the fully-qualified name of the module.
loader
(__loader__)
The loader to use for loading. For namespace packages this should be set to None.
origin
(__file__)
Name of the place from which the module is loaded, e.g. “builtin” for built-in modules and the filename for