Releases: maxmind/MaxMind-DB-Reader-python
Releases · maxmind/MaxMind-DB-Reader-python
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 asmaxminddb.extension.Metadata
rather than
maxminddb.extension.extension
. - Type stubs have been added for
maxminddb.extension
.
2.0.3
2.0.2
2.0.1
2.0.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
- Python 3.3 and 3.4 are no longer supported.
- The extension source directory was moved to prevent an
ImportWarning
when importing the module on Python 2 with-Wdefault
set. Reported by
David Szotten and Craig de Stigter. GitHub #31. - The
get
method now acceptsipaddress.IPv4Address
and
ipaddress.IPv6Address
objects in addition to strings. This works with
both the pure Python implementation as well as the extension. Based on a
pull request #48 by Eric Pruitt. GitHub #50. - A new method,
get_with_prefix_len
, was added. This method returns a
tuple containing the record and the prefix length.