MaxMind GeoIP2 Python API

JSON →
library 5.2.0 ·python
verified Jun 28, 2026 install

The geoip2 Python package provides an API for both MaxMind's GeoIP2 and GeoLite2 web services and local databases. It allows developers to perform IP geolocation lookups, retrieving information such as country, city, and ASN details. The library is actively maintained, with version 5.2.0 being the latest stable release, and follows semantic versioning with a regular release cadence.

total hits 12
actors 3 distinct systems
last hit 3d ago AhrefsBot
GPTBot
4
Script
1
Humans
4

top countries 🇺🇸 United States · VN · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France