import pkgutil


def iter_namespace(pkg_name):
    """
    Iterate over a namespace package.

    Args:
        pkg_name (type): namespace package to iterate over

    Returns:
        (tuple): tuple containing
            finder (FileFinder): module location
            name (str): fully qualified name of the found item
            is_pkg (bool): whether the found path is a package
    """
    return pkgutil.iter_modules(pkg_name.__path__, pkg_name.__name__ + ".")