def get_module_path(module):
    """return a directory path to a module"""
    return pathlib.Path(
        os.path.dirname(os.path.abspath(inspect.getfile(module))))
return a directory path to a module