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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyrcv-1.1.13.tar.gz.
File metadata
- Download URL: pyrcv-1.1.13.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2dc07867ff206802bfd122a2ff2a6931732f8c5be7d971656964937316f0fd9
|
|
| MD5 |
0349a87764f1112eb680fdedd2d368d1
|
|
| BLAKE2b-256 |
15d60eb61f8cf015b3a7e53b248f6a1ed304f97bd37b6b4f970e92ba672c4b77
|
Provenance
The following attestation bundles were made for pyrcv-1.1.13.tar.gz:
Publisher:
ci.yml on chrisroat/pyrcv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrcv-1.1.13.tar.gz -
Subject digest:
d2dc07867ff206802bfd122a2ff2a6931732f8c5be7d971656964937316f0fd9 - Sigstore transparency entry: 737495510
- Sigstore integration time:
-
Permalink:
chrisroat/pyrcv@3ad98bc7de92ecec70bbe3847278cda388bb0dd8 -
Branch / Tag:
refs/tags/v1.1.13 - Owner: https://github.com/chrisroat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3ad98bc7de92ecec70bbe3847278cda388bb0dd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyrcv-1.1.13-py2.py3-none-any.whl.
File metadata
- Download URL: pyrcv-1.1.13-py2.py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13e65a45e86f0432776979329dae1e17e96c9b7944209250a9441389a343a1e7
|
|
| MD5 |
f250f38dc452754d435d5a40a548ebf6
|
|
| BLAKE2b-256 |
08429ff69c396514f2a27ce9f907c2ca9bf01b1e905f6857f3295b42e0dc6b15
|
Provenance
The following attestation bundles were made for pyrcv-1.1.13-py2.py3-none-any.whl:
Publisher:
ci.yml on chrisroat/pyrcv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrcv-1.1.13-py2.py3-none-any.whl -
Subject digest:
13e65a45e86f0432776979329dae1e17e96c9b7944209250a9441389a343a1e7 - Sigstore transparency entry: 737495512
- Sigstore integration time:
-
Permalink:
chrisroat/pyrcv@3ad98bc7de92ecec70bbe3847278cda388bb0dd8 -
Branch / Tag:
refs/tags/v1.1.13 - Owner: https://github.com/chrisroat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@3ad98bc7de92ecec70bbe3847278cda388bb0dd8 -
Trigger Event:
push
-
Statement type: