module_ module¶
Utilities for modules.
import_submodules function¶
import_submodules(
package
)
Import all submodules of a module, recursively, including subpackages.
If package defines __blacklist__
, does not import modules that match names from this list.
is_from_module function¶
is_from_module(
obj,
module
)
Return whether obj
is from module module
.
list_module_keys function¶
list_module_keys(
module_name,
whitelist=None,
blacklist=None
)
List the names of all public functions and classes defined in the module module_name
.
Includes the names listed in whitelist
and excludes the names listed in blacklist
.