import pkg_resources


def entrypoints(section):
    """
    Returns the Entry Point for a given Entry Point section.

    :param str section: The section name in the entry point collection
    :returns:  A dictionary of (Name, Class) pairs stored in the entry point collection.
    """
    return {ep.name: ep.load() for ep in pkg_resources.iter_entry_points(section)}