import pkgutil


def get_subpackages(package):
    
    """Return subpackages of a package.

    Parameters
    --------

    package : python package object

    Returns
    --------
    list : list containing (importer, subpackage_name) tuples

    """
    return [i for i in pkgutil.iter_modules(package.__path__) if i[2]]