Geoip2

Latest version: v5.0.1

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

4.4.0

++++++++++++++++++

* The public API on ``geoip2.database`` is now explicitly defined by
setting ``__all__``.
* The return type of the ``metadata()`` method on ``Reader`` is now
``maxminddb.reader.Metadata`` rather than a union type.

4.3.0

++++++++++++++++++

* Previously, the ``py.typed`` file was not being added to the source
distribution. It is now explicitly specified in the manifest.
* The type hints for the database file in the ``Reader`` constructor have
been expanded to match those specified by ``maxmindb.open_database``. In
particular, ``os.PathLike`` and ``IO`` have been added.
* Corrected the type hint for the ``metadata()`` method on ``Reader``. It
will return a ``maxminddb.extension.Metadata`` if the C extension is being
used.

4.2.0

++++++++++++++++++

* You may now set a proxy to use when making web service requests by passing
the ``proxy`` parameter to the ``AsyncClient`` or ``Client`` constructor.

4.1.0

++++++++++++++++++

* Added the ``is_residential_proxy`` attribute to ``geoip2.model.AnonymousIP``
and ``geoip2.record.Traits``.
* ``HTTPError`` now provides the decoded response content in the
``decoded_content`` attribute. Requested by Oleg Serbokryl. GitHub 95.

4.0.2

++++++++++++++++++

* Added ``py.typed`` file per PEP 561. Reported by Árni Már Jónsson.

4.0.1

++++++++++++++++++

* Re-release to fix bad reStructuredText in ``README.md``. No substantive
changes.

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.