geoip2 v5.2.0 Release Notes
Release Date: 2025-11-20 // 7 months ago-
- IMPORTANT: Python 3.10 or greater is required. If you are using an older
🔖 version, please use an earlier release. - ⬆️
maxminddbhas been upgraded to 3.0.0. This includes free-threading
👌 support. - 🏗 Setuptools has been replaced with the uv build backend for building the
📦 package. - A new
anonymizerobject has been added togeoip2.models.Insights.
This object is ageoip2.records.Anonymizerand contains the following
fields:confidence,network_last_seen,provider_name,
is_anonymous,is_anonymous_vpn,is_hosting_provider,
is_public_proxy,is_residential_proxy, andis_tor_exit_node.
These provide information about VPN and proxy usage. - A new
ip_risk_snapshotproperty has been added to
geoip2.records.Traits. This is a float ranging from 0.01 to 99 that
represents the risk associated with the IP address. A higher score indicates
a higher risk. This field is only available from the Insights end point. - 🗄 The following properties on
geoip2.records.Traitshave been deprecated:
is_anonymous,is_anonymous_vpn,is_hosting_provider,
is_public_proxy,is_residential_proxy, andis_tor_exit_node.
Please use theanonymizerobject in theInsightsmodel instead.
- IMPORTANT: Python 3.10 or greater is required. If you are using an older
Previous changes from v5.1.0
-
- 👌 Support for the GeoIP Anonymous Plus database has been added. To do a lookup
in this database, use theanonymous_plusmethod onReader. - 📚 Reorganized module documentation to improve language-server support.
- 👌 Support for the GeoIP Anonymous Plus database has been added. To do a lookup