module_ module¶
Utilities for modules.
package_shortcut_config HybridConfig¶
Config for package shortcuts.
assert_can_import function¶
Assert that a package can be imported.
Must be listed in opt_dep_config.
assert_can_import_any function¶
Assert that any from packages can be imported.
Must be listed in opt_dep_config.
check_installed function¶
Check if a package is installed.
find_class function¶
Find the class by its path.
get_api_ref function¶
Get the API reference to an object.
get_imlucky_url function¶
Get the "I'm lucky" URL on DuckDuckGo for a query.
get_installed_overview function¶
Get an overview of installed packages in opt_dep_config.
get_method_class function¶
Get the class of a method.
get_module function¶
Get module of an object.
get_package_meta function¶
Get metadata of a package.
get_refname function¶
Parse and (optionally) resolve the reference name of an object.
get_refname_module_and_qualname function¶
Get the module and the qualified name from a reference name.
imlucky function¶
Open the "I'm lucky" URL on DuckDuckGo for a query.
import_module_from_path function¶
Import the module from a path.
is_from_module function¶
Return whether obj is from module module.
list_module_keys function¶
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.
open_api_ref function¶
Open the API reference to an object.
parse_refname function¶
Get the reference name of an object.
resolve_refname function¶
Resolve a reference name.
search_package_for_funcs function¶
Search a package for all functions.
warn_cannot_import function¶
Warn if a package is cannot be imported.
Must be listed in opt_dep_config.