pypi geoip2 5.0.0

latest release: 5.0.1
2 days ago
  • BREAKING: The raw attribute on the model classes has been replaced
    with a to_dict() method. This can be used to get a representation of
    the object that is suitable for serialization.
  • BREAKING: The ip_address property on the model classes now always returns
    a ipaddress.IPv4Address or ipaddress.IPv6Address.
  • BREAKING: The model and record classes now require all arguments other than
    locales and ip_address to be keyword arguments.
  • BREAKING: geoip2.mixins has been made internal. This normally would not
    have been used by external code.
  • IMPORTANT: Python 3.9 or greater is required. If you are using an older
    version, please use an earlier release.
  • metro_code on geoip2.record.Location has been deprecated. The
    code values are no longer being maintained.
  • The type hinting for the optional locales keyword argument now allows
    any sequence of strings rather than only list of strings.

Don't miss a new geoip2 release

NewReleases is sending notifications on new releases.