Comparison
geoip2fast vs ip3country 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 geoip2fastA zero-dependency, local, fast, tiny ip-address to country lookup
Low maintenance activity. Last release 17 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install ip3countryPure 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.
- ip3country is the most used: 3.3M downloads a month, 13× more than geoip2fast.
- ip3country also has the best Pythie’s Index (35).
Side by side
| Metric | geoip2fast | ip3country | pygeoip | python-geoip |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | 35 |