def get_submodule_list(package_path: str) -> Tuple[ModuleDescription, ...]:
    """Get list of submodules for some package by its path. E.g ``pkg.subpackage``"""
    pkg = importlib.import_module(package_path)

    subs = (
        ModuleDescription(
            name=modname,
            path="{}.{}".format(package_path, modname), is_package=ispkg
        )
        for importer, modname, ispkg in pkgutil.iter_modules(pkg.__path__)
    )
    result = tuple(subs)
    return result
Get list of submodules for some package by its path. E.g ``pkg.subpackage``