Quotas¶
The quota
module contains functions for calculating quotas used to
elect candidates in single transferrable vote elections.

voting.quota.
droop
(votes, seats)[source]¶ Calculate the Droop quota.
\(\frac{votes}{seats + 1} + 1\)
 Parameters
votes (int) – the number of votes
seats (int) – the number of seats

voting.quota.
hagenbach_bischoff
(votes, seats)[source]¶ Calculate the HagenbachBischoff quota.
\(\frac{votes}{seats + 1}\)
 Parameters
votes (int) – the number of votes
seats (int) – the number of seats