Skip to main content

pyrcv

PyPi Status Test Status Documentation Status

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

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)

Source distribution for pyrcv 1.2.6
File Size Uploaded
pyrcv-1.2.6.tar.gz 25.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrcv 1.2.6
File Interpreter ABI Platform
pyrcv-1.2.6-py2.py3-none-any.whl Python 3, Python 2 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 log

Release 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

Release history Release notifications | RSS feed

This release

1.2.6 This release

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.12

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page