Comparison
geoip2 vs ip3country vs ipinfo vs pygeoip
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 geoip2A 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 ip3countryOfficial Python library for IPInfo
Maintained. Last release 7 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and security practices.
pip install ipinfoPure Python GeoIP API
Archived. The repository is read-only: no more fixes or releases will come.
pip install pygeoipIn short
- pygeoip is archived: avoid it for new projects.
- geoip2 is the most used: 12.5M downloads a month, 3.7× more than ip3country.
- geoip2 also has the best Pythie’s Index (83).
- Safe default for a new project: geoip2.
Side by side
| Metric | geoip2 | ip3country | ipinfo | pygeoip |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | 35 |