Not

Hacker News!

Beta
Home
Jobs
Q&A
Startups
Trends
Users
Live
AI companion for Hacker News

Not

Hacker News!

Beta
Home
Jobs
Q&A
Startups
Trends
Users
Live
AI companion for Hacker News
  1. Home
  2. /Story
  3. /Show HN: PoliSciPy – A Python library for making Electoral College maps
  1. Home
  2. /Story
  3. /Show HN: PoliSciPy – A Python library for making Electoral College maps
Nov 25, 2025 at 8:42 AM EST

Show HN: PoliSciPy – A Python library for making Electoral College maps

quantumHashMap
1 points
0 comments

Mood

informative

Sentiment

positive

Category

startup_launch

Key topics

Python

Data Visualization

Electoral College

Open-Source

Hi HN! I built PoliSciPy, an open-source Python package for quickly generating customizable, publication-quality U.S. Electoral College maps using matplotlib.

It’s designed to be flexible and easy to use: you can merge your own data, define custom colormaps for parties or candidates, and generate maps (including for historical elections) in under 10 lines of code.

Under the hood, I edited a US Census Bureau Shapefile in ArcGIS, applied transformations, computed centroids for labeling, and added some extra features for styling and customization.

PyPI: https://pypi.org/project/poliscipy/

GitHub: https://github.com/poliscipy/poliscipy

Docs: https://poliscipy.github.io/poliscipy/

I would love any feedback on API design, performance, or features you would like to see. I had a lot of fun building it and am happy to answer any questions!

Discussion Activity

No activity data yet

We're still syncing comments from Hacker News.

Generating AI Summary...

Analyzing up to 500 comments to identify key contributors and discussion patterns

Discussion (0 comments)

Discussion hasn't started yet.

ID: 46045692Type: storyLast synced: 11/25/2025, 1:44:07 PM

Want the full context?

Jump to the original sources

Read the primary article or dive into the live Hacker News thread when you're ready.

Read ArticleView on HN

Not

Hacker News!

AI-observed conversations & context

Daily AI-observed summaries, trends, and audience signals pulled from Hacker News so you can see the conversation before it hits your feed.

LiveBeta

Explore

  • Home
  • Jobs radar
  • Tech pulse
  • Startups
  • Trends

Resources

  • Visit Hacker News
  • HN API
  • Modal cronjobs
  • Meta Llama

Briefings

Inbox recaps on the loudest debates & under-the-radar launches.

Connect

© 2025 Not Hacker News! — independent Hacker News companion.

Not affiliated with Hacker News or Y Combinator. We simply enrich the public API with analytics.