def iter_repos_from_brood(brood_client):
    """ Generator that yield a Repository for every repository and every
    organization in a brood_client.

    Parameter
    ---------
    brood_client: BroodClient
        hatcher.core.brood_client.BroodClient instance

    Yields
    ------
    Repository: hatcher.core.v*.repository.Repository instance

    """
    for org_name in brood_client.list_organizations():
        org = brood_client.organization(org_name)
        for repo_name in org.list_repositories():
            yield org.repository(repo_name)
