Maxminddb

Latest version: v2.6.2

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

Scan your dependencies

Page 2 of 6

2.3.0

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

* IMPORTANT: Python 3.7 or greater is required. If you are using an older
version, please use an earlier release.
* ``distutils`` is no longer used for building the C extension.
* Missing ``Py_INCREF`` was added to module initialization for the C
extension. Pull request by R. Christian McDonald. GitHub 106.

2.2.0

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

* The return type for ``maxminddb.open_database()`` has been simplified
to be just the ``Reader`` class as opposed to a union of that with
the extension class. This is done by casting the extension to
``Reader``. The extension class has the same public API as the
pure Python implementation. This simplifies type checking for users of
this library. The ``Reader`` class is exposed as ``maxminddb.Reader``.
Pull request by wouter bolsterlee. GitHub 88.
* ``maxminddb.__all__`` is now set to define a public API. Pull request
by wouter bolsterlee. GitHub 88.
* Fix minor regression in ``repr`` output of ``maxminddb.reader.Metadata``
in 2.1.0.

2.1.0

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

* The C extension now correctly supports objects that implement the
``os.PathLike`` interface.
* When opening a database fails due to an access issue, the correct
``OSError`` subclass will now be thrown.
* The ``Metadata`` class object is now available from the C extension
module as ``maxminddb.extension.Metadata`` rather than
``maxminddb.extension.extension``.
* Type stubs have been added for ``maxminddb.extension``.

2.0.3

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

* The 2.0.0 release unintentionally required Python to be compiled with
``mmap`` support for the module to work. ``mmap`` is now optional
again. Reported by john-heasman-cg. GitHub 76.

2.0.2

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

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

2.0.1

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

* Fix minimum required python version in ``setup.py``. Pull request by
Boros Gábor. GitHub 69 & 70.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.