types-maxminddb
Typing stubs for maxminddb
Decision gist · record as of 2026-08-14
Yes, if you are using maxminddb versions before 2.0.2 and rely on static type checking. No, if you are already on maxminddb 2.0.2 or later, since maxminddb itself now includes type annotations. Check your maxminddb version first to avoid redundant installation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single lightweight runtime dependency (types-ipaddress).
- The package is actively maintained via typeshed, though the latest release is from 2021-09-20.
License · maintenance · safety
Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restriction.
last release 2021-09-20 (1789 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 587,586 downloads/mo, #5,873 on PyPI
Alternatives
Verify before relying
pip install types-maxminddb
import maxminddb
# Type checker now understands maxminddb API types- Whether maxminddb version 2.0.2 or later is already installed (stub package may be unnecessary in that case)
- Current maintenance status relative to typeshed's active development cycle
What it is and what it does
types-maxminddb is a PEP 561 type stub package that provides type information for the maxminddb library. It allows static type checkers like mypy, PyCharm, and pytype to understand and validate the types of maxminddb's API, catching type errors at development time rather than runtime.
The package is maintained as part of typeshed. The description notes that maxminddb has shipped its own type annotations since version 2.0.2, so installing this stub package may be unnecessary if you are already using that version or later of maxminddb itself.
Use it for
- Enable type checkers to validate code that calls maxminddb functions for IP geolocation queries.
- Provide IDE autocomplete and type hints when working with maxminddb APIs.
- Catch type mismatches in geolocation lookup code before runtime in CI/CD pipelines.
- Support maxminddb versions that lack built-in type annotations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using maxminddb versions before 2.0.2 and rely on static type checking.
No, if you are already on maxminddb 2.0.2 or later, since maxminddb itself now includes type annotations. Check your maxminddb version first to avoid redundant installation.
Install
types-maxminddb on PyPI
Before you install
Low install friction with a single lightweight runtime dependency (types-ipaddress). The package is actively maintained via typeshed, though the latest release is from 2021-09-20.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restriction.
Quickstart
pip install types-maxminddb
import maxminddb
# Type checker now understands maxminddb API types
Verify before relying
- Whether maxminddb version 2.0.2 or later is already installed (stub package may be unnecessary in that case)
- Current maintenance status relative to typeshed's active development cycle
Package facts
| License | Apache-2.0 license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetypes-ipaddress |
| Maintenance | Actively maintained 1,789 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 587,586 / month, #5,873 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseTyping :: Typed |
Evidence: types_maxminddb-1.5.0-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 › “type stubs maxminddb”
- types-maxminddbProvides type stubs for the maxminddb package, enabling static type…
- maxminddbReads MaxMind DB files to look up geolocation and other data indexed…
- types-assertpyProvides type stubs enabling static type checkers like mypy and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-attrs · types-geoip2 · types-Werkzeug · types-backports · types-Jinja2 · types-dataclasses · types-click · types-Flask · types-tornado · mmdb-writer