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 from https://codeberg.org/andrewtavis/poli-sci-kit.

882 35 8
RobertLucey
oireachtas-data

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

635 2 0
AnthonyBloomer
realclearpolitics

Python client for RealClearPolitics.

288 32 9
holgerd77
django-public-project

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

232 24 11
AiAgentKarl
political-finance-mcp-server

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

215 1 0
thorwhalen
elections

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

183 1 0
Irishsmurf
oireachtas-api

Python Library for interacting with the Oireachtas API

154 4 1
tuttlepower
predictit-markets

Simple Python code that helps to retreive predictit market data.

148 9 1
nowabindata
barlaman

Scrape data of Moroccan Parliament (House of Representatives)

144 14 1
umitkaanusta
reddit-detective

Play detective on Reddit: Discover political disinformation campaigns, secret influencers and more

138 225 14
eyeseast
python-congress

A Python client for the ProPublica Congress API

136 56 17
Stonehaven-Campaigns
uk-politics

Python package that handles UK political party names, colors, and election history

113 2 0
PrincetonUniversity
gerrymetrics

Lots of metrics for quantifying gerrymandering.

111 32 10
Reclaim-The-Night-Leeds
crime-hotspots-uk

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

70 0 0
alanmarazzi
mepcheck

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

64 7 0
hawkirk
pycongress

🗳️ Python client for Congress.gov's API

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