PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Voting Python Packages

Python packages with the GitHub topic voting. Sorted by monthly downloads, with stars and forks.
voting-tools
pref-voting

pref_voting is a Python package that can be used to study and run elections with different preferential voting methods (graded voting methods and cardinal voting methods are also included for comparison).

5K 28 10
COMSOC-Community
prefsampling

A small package providing many algorithms to sample preferences

2K 7 4
martinlackner
abcvoting

Python implementations of approval-based committee (multi-winner) voting rules

1K 46 22
comsoc-community
pabutools

A complete set of tools to work with participatory budgeting elections.

1K 11 27
andrewtavis
poli-sci-kit

Political elections, appointment, analysis and visualization in Python. Mirror from https://codeberg.org/andrewtavis/poli-sci-kit.

882 35 8
chrisroat
pystv

Python library and web server for tallying ranked choice elections.

532 3 1
martinlackner
apportionment

A Python implementation of common apportionment methods

486 23 7
chrisroat
pyrcv

Python library and web server for tallying ranked choice elections.

477 3 1
LowerDeez
django-ok-likes

This app provides like/unlike functionality through Django REST Framework APIView classes.

394 15 6
front-seat
voter-tools

Tools for online voter registration in the United States of America

249 0 0
AiAgentKarl
community-prompt-voting-mcp-server

MCP server for community-driven prompt voting and discovery — submit, vote, and find the best AI prompts

238 0 0
endolith
elsim

Election Simulator 3000: Monte Carlo simulations of voting methods and metrics under different voter models

184 8 4
thorwhalen
elections

A unified Python interface to multiple election data sources from around the world.

183 1 0
crflynn
voting

Diversity / (dis)proportionality measures, election quotas, and apportionment methods in pure Python.

143 15 2
gerrymandr
rcv

A Python package for tabulating ranked-choice elections.

123 1 0
TheLastGimbus
apis-scraper

Python web scraper for getting Polish political parties support percentage!

121 4 0
gitconsensus
gitconsensus

Automate Open Source Governance

116 57 13
lawcontinue
agora-core

Agora — The only multi-agent framework with built-in governance. Voting, veto power, precedent system, constitutional constraints.

98 0 0
smrfeld
houseofreps

Python package to model apportionment in house of representatives

78 2 0
btrevizan
social-choice

Some social choice functions (voting rules, like single transferable vote) implemented in Python.

58 1 0
FridrichDerGosse
fridex

Namespace fridex package

52 1 0
FridrichDerGosse
fridex-connection

Fridex connection tools

52 1 0
anarvote
helios-lib

Helios Server (Helios is an end-to-end verifiable voting system) as library

49 13 4
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology