geoip2-tools
Automatic updates and administration of MaxMind GeoIP2 databases.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit 2022-02-06, no updates since 0.1.1 in 2020), creating significant risk of incompatibility with current MaxMind APIs and modern Python environments. While the MIT license and low install friction are favorable, the maintenance gap makes it unsafe for production use. Consider using geoip2 directly with your own update logic, or evaluate actively maintained alternatives.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a MaxMind license key (free for geolite2 version); must be obtained from MaxMind account before use.
- Low install friction with three straightforward dependencies (click, requests, geoip2), but the package is abandoned—last commit was 2022-02-06 and no updates have shipped since the initial 0.1.1 release in 2020.
- Maintenance risk is substantial.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use or redistribution, making it safe to adopt from a licensing standpoint.
last release 2020-10-29 (2115 days) · last repo commit 2022-02-06 · 7 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 403,652 downloads/mo, #6,915 on PyPI
Alternatives
Verify before relying
pip install geoip2-tools
from geoip2_tools.manager import Geoip2DataBaseManager
geoip2_manager = Geoip2DataBaseManager('your_license_key')
print(geoip2_manager['country'].reader.country('1.1.1.1').country.name)- Whether the package works with current versions of MaxMind's GeoIP2 API and database formats, given the 2022 abandonment date.
- Compatibility with Python versions beyond 3.8, which was the latest listed at release time.
- Whether the 7-day default refresh interval remains appropriate for current MaxMind database release cycles.
What it is and what it does
geoip2-tools wraps the geoip2 library to automate the lifecycle of MaxMind's GeoIP2 databases. Instead of manually downloading and updating geolocation data files, it provides a manager that handles periodic refreshes (defaulting to every 7 days) and exposes a simple interface to query IP addresses against the cached databases. You supply a MaxMind license key, and the tool keeps your local copy of the country, city, or ASN database current.
The package is built on click, requests, and geoip2, making it a thin administrative layer rather than a geolocation engine itself. It's designed for applications that need reliable, up-to-date geolocation lookups without manual database management—but it has been abandoned since early 2022, so compatibility with modern MaxMind services and Python versions is uncertain.
Use it for
- Automatically refresh GeoIP2 databases in a long-running service without manual intervention or cron jobs.
- Query IP addresses to determine geographic location (country, city) or autonomous system information for logging or analytics.
- Build a geolocation lookup microservice that keeps its data fresh without external orchestration.
- Integrate geolocation checks into an application that needs to block or route traffic by country or ASN.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit 2022-02-06, no updates since 0.1.1 in 2020), creating significant risk of incompatibility with current MaxMind APIs and modern Python environments. While the MIT license and low install friction are favorable, the maintenance gap makes it unsafe for production use. Consider using geoip2 directly with your own update logic, or evaluate actively maintained alternatives.
Install
geoip2-tools on PyPI
Before you install
Low install friction with three straightforward dependencies (click, requests, geoip2), but the package is abandoned—last commit was 2022-02-06 and no updates have shipped since the initial 0.1.1 release in 2020. Maintenance risk is substantial.
Requires a MaxMind license key (free for geolite2 version); must be obtained from MaxMind account before use.
License in practice
MIT license is permissive and imposes no restrictions on use or redistribution, making it safe to adopt from a licensing standpoint.
Quickstart
pip install geoip2-tools
from geoip2_tools.manager import Geoip2DataBaseManager
geoip2_manager = Geoip2DataBaseManager('your_license_key')
print(geoip2_manager['country'].reader.country('1.1.1.1').country.name)
Verify before relying
- Whether the package works with current versions of MaxMind's GeoIP2 API and database formats, given the 2022 abandonment date.
- Compatibility with Python versions beyond 3.8, which was the latest listed at release time.
- Whether the 7-day default refresh interval remains appropriate for current MaxMind database release cycles.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesclickrequestsgeoip2 |
| Maintenance | Abandoned 2,115 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 403,652 / month, #6,915 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: geoip2_tools-0.1.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “geoip2 database manager”
- geoip2-toolsAutomates downloading and updating of MaxMind GeoIP2 databases,…
- geoip2Queries MaxMind's GeoIP web services and databases to look up…
- maxminddbReads MaxMind DB files to look up geolocation and other data indexed…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also maxminddb-geolite2 · geoip2fast · geoip2 · maxminddb · mmdb-writer · IP2Location · types-geoip2 · ipinfo · ip3country