pypi geopy 2.3.0

latest releases: 2.4.1, 2.4.0
17 months ago

New Features

  • .MapBox: add referer param to allow restricted api_keys.
    Contributed by Dennis Stritzke. (#501)
  • .MapBox: add language param to geocode.
    Contributed by Dennis Stritzke. (#503)
  • .Distance: add floor division + right multiplication
    operators. (#485)
  • .Distance: make hashable. (#485)
  • .Nominatim: add namedetails param to reverse. (#525)
  • .Pelias: add countries param to geocode. (#504)
  • .GoogleV3: pass the original error_message to exceptions.
    (#398)

Packaging Changes

  • Drop support for Python 3.5 and 3.6.
  • Add support for Python 3.10 and 3.11.
  • Relax geographiclib upper version constraint to allow 2.x.
    Contributed by David Hotham. (#520)
  • Raise geographiclib lower version constraint to 1.52 to fix possible
    ValueError in .distance.geodesic due to
    the floating point inaccuracy. (#466)
  • Move static metadata from setup.py to setup.cfg.

Deprecations

  • .Pelias: deprecate country_bias param, use countries
    instead. (#504)
  • .IGNFrance: authentication is no longer accepted by the API,
    so passing any credentials to the geocoder class has been deprecated.
    These arguments should be removed. (#496)

Bugfixes

  • Fix possible TypeError thrown by .RequestsAdapter
    on destruction. Contributed by Philip Kahn. (#488)
  • .ArcGIS: get address from LongLabel if Address is empty.
  • All geocoders: fix unexpected scientific point format for coordinates
    near zero in reverse geocoding. (#511)
  • .BANFrance: fix broken reverse (it looks like their API has
    changed in a backwards-incompatible way: the lng query arg has
    been renamed to lon).
  • .IGNFrance: fix broken geocoder due to removal of
    authentication in their API. (#496)

Docs Improvements

  • Add url to the GIS Stack Exchange geopy tag.
    Contributed by Taras Dubrava. (#516).
  • .GeocodeEarth: add docs and pricing urls.
    Contributed by Julian Simioni. (#505).

Don't miss a new geopy release

NewReleases is sending notifications on new releases.