is_package(fullname) Return true if path appears to be for a package.
importlib.machinery.SOURCE_SUFFIXES A list of strings representing the recognized file suffixes for source modules.
get_source(fullname) Returns None as extension modules do not have source code.
find_module(fullname[, path]) Search for a module specified by fullname. fullname must be the fully qualified
pkgutil.walk_packages(path=None, prefix='', onerror=None) Yields (module_finder, name, ispkg) for all modules recursively
importlib.machinery.DEBUG_BYTECODE_SUFFIXES A list of strings representing the file suffixes for non-optimized bytecode modules
find_spec(fullname, target=None) Attempt to find the spec to handle fullname within path.
archive The file name of the importer’s associated ZIP file, without a possible subpath.
classmethod find_spec(fullname, path=None, target=None) Class method that attempts to find a spec
path Path to the extension module.
Page 12 of 15