gratipay.utils.team_history.get_end_of_year_totals(db, team, year)[source]

Gets the year end received and distributed for a team

Arguments: team – The Team object for the year end totals being returned. year – The integer year of the totals being returned.

gratipay.utils.team_history.iter_team_payday_events(db, team, year)[source]

Yields payday events for the given Team.

Arguments: team – The Team object that the events are being iterated. year – The integer year for the events being iterated.