Python API for adjudicating single transferable vote elections. Also contains basic web server to adjudicate results in CSV format.
Project description
Python project for adjudicating ranked choice voting elections using the single transferable vote (STV) method. For more information on ranked choice voting, visit the FairVote website on RCV.
The project also contains a small flask server for adjudicating and visualizing election results from a CSV file. It is automatically deployed at at pyrcv.org
Free software: GNU General Public License v3
Documentation: https://pyrcv.readthedocs.io.
Features
General standards and APIs for voting data and vote tabulation.
Tabulation of ranked-choice elections using the single-transferable-vote (STV) method.
Support for both single-winner and multi-winner contests.
Generation of Sankey diagram showing the flow of vote counts through the rounds of a multi-round election.
Parser for converting Google Form based election output to voting data standard format.
Web server which processes CSV data output from a Google Form based election, and displays winners and a Sankey diagram.
Credits
Inspired by FairVote and CalRCV. FairVote’s examples were extremely helpful for development and correctness-testing.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyrcv-1.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc87a4a9c48b7965377e639bb1182cef439c4f51c16f65ee69dc6445056e35fb |
|
MD5 | 804e508248ed18a06a60ca25ef72c887 |
|
BLAKE2b-256 | b04f10cdd04c68f373122a5deb000e2aa19bb545fca4f6a596ad23b183f62ae9 |