Skip to content

An implementation of Single Transferable Vote in Python

Notifications You must be signed in to change notification settings

adambirtles/stv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STV

Implementation of Single Transferable Vote in Python.

count.py

count.py is a script making use of STV.

usage: count.py [-h] seats [file]

Count votes

positional arguments:
  seats       Number of seats being elected
  file        CSV file as described below.

optional arguments:
  -h, --help  show this help message and exit

The first row of the CSV file should be a list of candidates and each subsequent
row should be each ballot as a list of preferences.

About

An implementation of Single Transferable Vote in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages