PyDocs

Importing Modules

importlib.machinery

The machinery of importlib: finders, loaders, hooks, etc.
Symbols in importlib.machinery

a

all_suffixes
Returns a list of all recognized module suffixes for this process
AppleFrameworkLoader
A loader for modules that have been packaged as frameworks for compatibility with Apple's iOS App Store policies.

b

BuiltinImporter
Meta path import for built-in modules.
BYTECODE_SUFFIXES
A list of strings representing the recognized file suffixes for bytecode modules (including the leading dot).

d

DEBUG_BYTECODE_SUFFIXES
A list of strings representing the file suffixes for non-optimized bytecode modules.

e

EXTENSION_SUFFIXES
A list of strings representing the recognized file suffixes for extension modules.
ExtensionFileLoader
Loader for extension modules.

f

FileFinder
File-based finder.
FrozenImporter
Meta path import for frozen modules.

m

ModuleSpec
The specification for a module, used for loading.

n

NamespaceLoader
A concrete implementation of importlib.abc.InspectLoader for namespace packages.
NamespacePath
Represents a namespace package's path.

o

OPTIMIZED_BYTECODE_SUFFIXES
A list of strings representing the file suffixes for optimized bytecode modules.

p

PathFinder
Meta path finder for sys.path and package __path__ attributes.

s

SOURCE_SUFFIXES
A list of strings representing the recognized file suffixes for source modules.
SourceFileLoader
Concrete implementation of SourceLoader using the file system.
SourcelessFileLoader
Loader which handles sourceless file imports.

w

WindowsRegistryFinder
Meta path finder for modules declared in the Windows registry.