Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Politics Python Packages

Python packages with the GitHub topic politics. Sorted by monthly downloads, with stars and forks.
andrewtavis
poli-sci-kit

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

2K 35 8
RobertLucey
oireachtas-data

Tools and data to work with data from the oireachtas api a bit easier

1K 2 0
thorwhalen
elections

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

645 1 0
holgerd77
django-public-project

Custom Python/Django CMS - Transparency for Public Projects (used for BERwatch/BLBwatch)

317 24 11
AiAgentKarl
political-finance-mcp-server

MCP server for US political finance data: campaign contributions, PAC spending, lobbying via FEC API

309 1 0
nowabindata
barlaman

Scrape data of Moroccan House of Representatives.

228 14 1
AnthonyBloomer
realclearpolitics

Python client for RealClearPolitics.

226 32 9
eyeseast
python-congress

A Python client for the ProPublica Congress API

201 56 16
tuttlepower
predictit-markets

Simple Python code that helps to retreive predictit market data.

188 9 1
PrincetonUniversity
gerrymetrics

Lots of metrics for quantifying gerrymandering.

185 33 10
Irishsmurf
oireachtas-api

Python Library for interacting with the Oireachtas API

130 5 1
umitkaanusta
reddit-detective

Play detective on Reddit: Discover political disinformation campaigns, secret influencers and more (Reddit API changed a lot, used to be cool before LLMs)

129 225 14
alanmarazzi
mepcheck

Python package to retrieve MEPs voting data from Votewatch.eu. Check what your MEPs are doing in a few simple commands.

106 7 0
Reclaim-The-Night-Leeds
crime-hotspots-uk

A python module that identifies and produces graphs of assult hotspots within the UK.

91 0 0
Stonehaven-Campaigns
uk-politics

United Kingdom political party names, colors, and election data

87 2 0
hawkirk
pycongress

Python client for Congress.gov's API

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