Comparison
geoip2 vs IP2Location vs pygeoip vs python-geoip
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
MaxMind GeoIP API
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install geoip2This is an IP geolocation library that enables the user to find the country, region, city, latitude and longitude, ZIP code, time zone, ISP, domain name, area code, weather info, mobile info, elevation, usage type, address type and IAB category from an IP address. It supports both IPv4 and IPv6 lookup.
Low maintenance activity. Last release 15 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install ip2locationPure Python GeoIP API
Archived. The repository is read-only: no more fixes or releases will come.
pip install pygeoipProvides GeoIP functionality for Python.
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install python-geoipIn short
- pygeoip is archived: avoid it for new projects.
- python-geoip looks abandoned: avoid it for new projects.
- geoip2 is the most used: 12.5M downloads a month, 53× more than IP2Location.
- geoip2 also has the best Pythie’s Index (83).
- IP2Location is growing fastest: downloads +10% over the last month.
- Safe default for a new project: geoip2.
Side by side
| Metric | geoip2 | IP2Location | pygeoip | python-geoip |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 29 | Pythie’s Index: 3 | Pythie’s Index: 11 |
| Verdict | Actively maintained | Low maintenance activity | Archived | Likely abandoned |
| Downloads / month | 12.5M | 236.4K | 83.1K | 82.2K |
| Downloads, month over month | +2% | +10% | +41% | +54% |
| GitHub stars | 1.2K | 165 | 478 | 242 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 130 | 14 | 14 | 4 |
| Last release | Nov 17, 2026 | Sep 4, 2025 | Oct 28, 2014 | Feb 21, 2014 |
| Releases, 12 months | 2 | 0 | 0 | 0 |
| Weeks with commits | 26 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 3 | 3 | 8 | 1 |
| First release | May 2013 | May 2013 | Jun 2011 | Feb 2014 |
| Python versions | 3.10 – 3.14 | 3.5 – 3.13 | 3.2 – 3.4 | – |
| License | Apache-2.0 | MIT | non-standard | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.