Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python3-pyrankvote-2.0.6-1.fc43 RPM for noarch

From Fedora Rawhide for aarch64 / p

Name: python3-pyrankvote Distribution: Fedora Project
Version: 2.0.6 Vendor: Fedora Project
Release: 1.fc43 Build date: Fri Jul 11 11:28:58 2025
Group: Unspecified Build host: buildvm-a64-22.rdu3.fedoraproject.org
Size: 95954 Source RPM: python-pyrankvote-2.0.6-1.fc43.src.rpm
Packager: Fedora Project
Url: https://github.com/jontingvold/pyrankvote
Summary: Library for different ranked voting methods
PyRankVote is a python library for different ranked-choice voting systems
(sometimes called preferential voting systems) created by Jon Tingvold in June
2019.

The following ranking methods are implemented for electing one person/
alternative (e.g. electing the chairman to a board):

Instant-runoff voting (IRV)—often known as the alternative vote
The following ranking methods are implemented for electing multiple
people/alternatives (e.g. electing board members):

- Single transferable vote (STV)—generally preferred
- Preferential block voting (PBV)
- Different ranking methods
- Instant runoff voting (IRV) is a single candidate election method that elects
  the candidate that can obtain majority support (more than 50%).

Voters rank candidates and are granted one vote. The candidate with fewest
votes is removed and this candidate's votes are transferred according to the
voters 2nd preference (or 3rd etc).

Preferential block voting (PBV) is a multiple candidate election method that
elects candidates that can obtain majority support (more than 50%). PBV tends
to elect uncontroversial candidates that agree with each other. Minority group
often lose their representation.

Voters rank candidates and are granted as many votes as there are people that
should be elected. The candidate with fewest votes are removed and this
candidate's votes are transferred according to the voters 2nd preference
(or 3rd etc).

Single transferable vote (STV) is a multiple candidate election method that
elects candidates based on proportional representation. Minority (and extreme)
groups get representation if they have enough votes to elect a candidate. STV
is therefore the preferred ranked-choice voting method for parliament elections
and most multiple seat elections, but it's more complex than PBV, so it
explained last.

Voters rank candidates and are granted as one vote each. If a candidate gets
more votes than the threshold for being elected, the candidate is proclaimed as
winner. This function uses the Droop quota, where

  droop_quota = votes/(seats+1) + 1

If one candidate gets more votes than the threshold the excess votes are
transferred to voters that voted for this candidate's 2nd (or 3rd, 4th, etc)
alternative. If no candidate gets over the threshold, the candidate with fewest
votes is removed. Votes for this candidate is then transferred to voters 2nd
(or 3rd, 4th, etc) alternative.

Preferential block voting and Single transferable vote are the same as
Instant-runoff voting when only one candidate is elected.

Instant-runoff voting and Preferential block voting are basically the same as
exhaustive ballot, the preferred method in Rober's rules of order. The only
difference is that in exhaustive ballot voters can adjust their preferences
between each round (elimination or election of one candidate).

Provides

Requires

License

MIT

Changelog

* Fri Jul 11 2025 Benson Muite <fed500@fedoraproject.org> - 2.0.6-1
  - Initial import bz#2375216

Files

/usr/lib/python3.14/site-packages/pyrankvote
/usr/lib/python3.14/site-packages/pyrankvote-2.0.6.dist-info
/usr/lib/python3.14/site-packages/pyrankvote-2.0.6.dist-info/INSTALLER
/usr/lib/python3.14/site-packages/pyrankvote-2.0.6.dist-info/METADATA
/usr/lib/python3.14/site-packages/pyrankvote-2.0.6.dist-info/WHEEL
/usr/lib/python3.14/site-packages/pyrankvote-2.0.6.dist-info/licenses
/usr/lib/python3.14/site-packages/pyrankvote-2.0.6.dist-info/licenses/LICENSE.txt
/usr/lib/python3.14/site-packages/pyrankvote-2.0.6.dist-info/top_level.txt
/usr/lib/python3.14/site-packages/pyrankvote/__init__.py
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/__init__.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/__init__.cpython-314.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/helpers.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/helpers.cpython-314.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/models.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/models.cpython-314.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/multiple_seat_ranking_methods.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/multiple_seat_ranking_methods.cpython-314.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/single_seat_ranking_methods.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/single_seat_ranking_methods.cpython-314.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/test_helpers.cpython-314.opt-1.pyc
/usr/lib/python3.14/site-packages/pyrankvote/__pycache__/test_helpers.cpython-314.pyc
/usr/lib/python3.14/site-packages/pyrankvote/helpers.py
/usr/lib/python3.14/site-packages/pyrankvote/models.py
/usr/lib/python3.14/site-packages/pyrankvote/multiple_seat_ranking_methods.py
/usr/lib/python3.14/site-packages/pyrankvote/single_seat_ranking_methods.py
/usr/lib/python3.14/site-packages/pyrankvote/test_helpers.py
/usr/share/doc/python3-pyrankvote
/usr/share/doc/python3-pyrankvote/README.md
/usr/share/doc/python3-pyrankvote/examples.py
/usr/share/licenses/python3-pyrankvote
/usr/share/licenses/python3-pyrankvote/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Jul 13 01:07:14 2025