pyrcv
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.
Metadata
Release files for pyrcv 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrcv-1.2.6.tar.gz | 25.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrcv-1.2.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 40.2 kB
Release files / pyrcv-1.2.6.tar.gz
| Download URL | pyrcv-1.2.6.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a3cc7fbd78989f3d2b180bf32bf7ac61f27fe19b32ff8ea6beb77f102a56937
|
|
BLAKE2b-256 checksum How to use checksums |
9d5887e0e6a388cbe36496f54d296b2bac513e517351212179e3b30bbcca382f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logRelease files / pyrcv-1.2.6-py2.py3-none-any.whl
| Download URL | pyrcv-1.2.6-py2.py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dd9e65630ba10d39a99ed882e65b51f8049222b508146aa4ed41bc9a467fa606
|
|
BLAKE2b-256 checksum How to use checksums |
5b89103c625cb088a62042bc8f8356f0f07c50c595b42c556156a284bb51e21c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency log