Skip to main content
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 pystv 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pystv 2.0.2
File Size Uploaded
pystv-2.0.2.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pystv 2.0.2
File Interpreter ABI Platform
pystv-2.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 38.7 kB

Release files / pystv-2.0.2.tar.gz

Download URL pystv-2.0.2.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5dc3ec4bd5afec12baabe4e1572bdb4a4457e682f4b71798b9043ad61b470981
BLAKE2b-256 checksum
How to use checksums
d0be44770ab1323d1b854bd091931bb2b8bb75aea4812672187133b8264a8704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / pystv-2.0.2-py2.py3-none-any.whl

Download URL pystv-2.0.2-py2.py3-none-any.whl
Size 14.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3375ecdca218cd42a91500dca15f39ce7996340d5e3230ec8034bb4ba948fdea
BLAKE2b-256 checksum
How to use checksums
004ef24d0513eba5c9a4180df9f26563df15dd71f7eaaf7be2a977d8c8dc8c64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.15.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

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