Comparison
geoip2fast vs IP2Location vs pygeoip vs python-geoip
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
GeoIP2Fast is the fastest GeoIP2 country/city/asn lookup library that supports IPv4 and IPv6. A search takes less than 0.00003 seconds. It has its own data file updated twice a week with Maxmind-Geolite2-CSV, supports IPv4/IPv6 and is Pure Python!
Low maintenance activity. Last release over 2 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install geoip2fastThis 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.
- geoip2fast is the most used: 261.7K downloads a month.
- IP2Location is better maintained: Pythie’s Index 29 against 16.
- IP2Location is growing fastest: downloads +10% over the last month.
Side by side
| Metric | geoip2fast | IP2Location | pygeoip | python-geoip |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | Pythie’s Index: 29 | Pythie’s Index: 3 | Pythie’s Index: 11 |
| Verdict | Low maintenance activity | Low maintenance activity | Archived | Likely abandoned |
| Downloads / month | 261.7K | 236.4K | 83.1K | 82.2K |
| Downloads, month over month | +8% | +10% | +41% | +54% |
| GitHub stars | 92 | 165 | 478 | 242 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 3 | 14 | 14 | 4 |
| Last release | Jun 21, 2024 | Sep 4, 2025 | Oct 28, 2014 | Feb 21, 2014 |
| Releases, 12 months | 0 | 0 | 0 | 0 |
| Weeks with commits | 1 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 1 | 3 | 8 | 1 |
| First release | Oct 2023 | May 2013 | Jun 2011 | Feb 2014 |
| Python versions | 3.7 – 3.13 | 3.5 – 3.13 | 3.2 – 3.4 | – |
| License | MIT | 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.