Comparison
geoip2fast vs ip3country vs ipinfo vs pygeoip
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 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.
- ip3country is the most used: 3.4M downloads a month, 8.8× more than ipinfo.
- ipinfo is better maintained: Pythie’s Index 50 against 35.
Side by side
| Metric | geoip2fast | ip3country | ipinfo | pygeoip |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 16 | 35 |