def get_explicit_entries(config_projects):
    """Pull out and return the projects in the config that were explicitly entered.

    The projects in the returned dict are deleted from config_projects.

    """
    explicit_projects = {
        name: details
        for name, details in config_projects.items()
        if details.purpose == "explicit"
    }
    for project in explicit_projects:
        del config_projects[project]
    return explicit_projects