module documentation

Module Manipulation
Class ImportTimeError Errors that occurred while trying to import something to document it.
Function importfile Import a Python source file or compiled file given its path.
Function ispackage Guess whether a path refers to a package directory.
Function locate Locate an object by name or dotted path, importing as necessary.
Function safe_import Import a module; handle errors; return None if the module isn't found.
Variable LOGGER Undocumented
def importfile(path):
Import a Python source file or compiled file given its path.
Parameters
path:strUndocumented
Returns
TypeLikeUndocumented
def ispackage(path):
Guess whether a path refers to a package directory.
Parameters
path:strUndocumented
Returns
boolUndocumented
def locate(path, force_load=False):
Locate an object by name or dotted path, importing as necessary.
Parameters
path:strUndocumented
force_load:boolUndocumented
Returns
AnyUndocumented
def safe_import(path, force_load=False, cache={}):

Import a module; handle errors; return None if the module isn't found.

If the module *is* found but an exception occurs, it's wrapped in an ErrorDuringImport exception and reraised. Unlike __import__, if a package path is specified, the module at the end of the path is returned, not the package at the beginning. If the optional 'force_load' argument is True, we reload the module from disk (unless it's a dynamic extension).

Parameters
path:strUndocumented
force_load:boolUndocumented
cache:Dict[str, Any]Undocumented
Returns
AnyUndocumented
LOGGER =

Undocumented