sdkagent

geopy API reference

69 public APIs from geopy (geopy/geopy) — 43 classes, 20 functions, 6 methods. Signatures extracted by static analysis of the actual source.

Repository: geopy/geopy

KindCount
Classes43
Functions20
Methods6

API list

classgeopy.adapters.AioHTTPAdapter
The adapter which uses `aiohttp`_ library.
classgeopy.adapters.BaseAdapter
Base class for an Adapter.
classgeopy.adapters.BaseAsyncAdapter
Base class for asynchronous adapters.
classgeopy.adapters.BaseSyncAdapter
Base class for synchronous adapters.
classgeopy.adapters.RequestsAdapter
The adapter which uses `requests`_ library.
funcgeopy.adapters.get_retry_after(headers)
Return Retry-After header value in seconds.
classgeopy.distance.Distance
Base class for other distance algorithms.
classgeopy.distance.geodesic
Calculate the geodesic distance between points.
classgeopy.exc.ConfigurationError
When instantiating a geocoder, the arguments given were invalid.
classgeopy.exc.GeocoderParseError
Geopy could not parse the service's response.
classgeopy.exc.GeocoderRateLimited
The remote geocoding service has rate-limited the request.
classgeopy.exc.GeopyError
Geopy-specific exceptions are all inherited from GeopyError.
classgeopy.extra.rate_limiter.BaseRateLimiter
Base Rate Limiter class for both sync and async versions.
funcgeopy.format.format_degrees(degrees, fmt=DEGREES_FORMAT, symbols=None)
TODO docs.
funcgeopy.format.format_distance(kilometers, fmt=DISTANCE_FORMAT, unit='km')
TODO docs.
classgeopy.geocoders.arcgis.ArcGIS
Geocoder using the Esri ArcGIS API.
classgeopy.geocoders.azure.AzureMaps
AzureMaps geocoder based on TomTom.
classgeopy.geocoders.baidu.Baidu
Geocoder using the Baidu Maps v2 API.
classgeopy.geocoders.baidu.BaiduV3
Geocoder using the Baidu Maps v3 API.
classgeopy.geocoders.banfrance.BANFrance
Geocoder using the Base Adresse Nationale France API.
classgeopy.geocoders.base.Geocoder
Template object for geocoders.
classgeopy.geocoders.bing.Bing
Geocoder using the Bing Maps Locations API.
funcgeopy.geocoders.bing.Bing.parse_resource(resource)
Parse each return object.
classgeopy.geocoders.databc.DataBC
Geocoder using the Physical Address Geocoder from DataBC.
classgeopy.geocoders.geocodio.Geocodio
Geocoder using the Geocod.io API.
classgeopy.geocoders.geokeo.Geokeo
Geocoder using the Geokeo API.
classgeopy.geocoders.geolake.Geolake
Geocoder using the Geolake API.
classgeopy.geocoders.geonames.GeoNames
GeoNames geocoder.
funcgeopy.geocoders.geonames.GeoNames.parse_code(place)
Parse each record.
classgeopy.geocoders.google.GoogleV3
Geocoder using the Google Maps v3 API.
classgeopy.geocoders.here.Here
Geocoder using the HERE Geocoder API.
funcgeopy.geocoders.here.Here.parse_resource(resource)
Parse each return object.
classgeopy.geocoders.here.HereV7
Geocoder using the HERE Geocoding & Search v7 API.
funcgeopy.geocoders.here.HereV7.parse_resource(resource)
Parse each return object.
classgeopy.geocoders.ignfrance.IGNFrance
Geocoder using the IGN France GeoCoder OpenLS API.
classgeopy.geocoders.mapbox.MapBox
Geocoder using the Mapbox API.
classgeopy.geocoders.mapquest.MapQuest
Geocoder using the MapQuest API based on Licensed data.
classgeopy.geocoders.maptiler.MapTiler
Geocoder using the MapTiler API.
classgeopy.geocoders.nominatim.Nominatim
Nominatim geocoder for OpenStreetMap data.
classgeopy.geocoders.opencage.OpenCage
Geocoder using the OpenCageData API.
classgeopy.geocoders.openmapquest.OpenMapQuest
Geocoder using MapQuest Open Platform Web Services.
classgeopy.geocoders.pelias.Pelias
Pelias geocoder.
classgeopy.geocoders.pickpoint.PickPoint
PickPoint geocoder is a commercial version of Nominatim.
classgeopy.geocoders.tomtom.TomTom
TomTom geocoder.
classgeopy.geocoders.what3words.What3Words
What3Words geocoder using the legacy V2 API.
funcgeopy.geocoders.what3words.What3Words.parse_resource(resource)
Parse record.
classgeopy.geocoders.what3words.What3WordsV3
What3Words geocoder using the V3 API.
funcgeopy.geocoders.what3words.What3WordsV3.parse_resource(resource)
Parse record.
classgeopy.geocoders.woosmap.Woosmap
Geocoder using the Woosmap Address API.
classgeopy.geocoders.yandex.Yandex
Yandex geocoder.
funcgeopy.geocoders.yandex.Yandex.parse_code(place)
Parse each record.
classgeopy.location.Location
Contains a parsed geocoder response.
methodgeopy.location.Location.altitude()
Location's altitude.
methodgeopy.location.Location.latitude()
Location's latitude.
methodgeopy.location.Location.longitude()
Location's longitude.
methodgeopy.location.Location.raw()
Location's raw, unparsed geocoder response.
classgeopy.point.Point
A geodetic point with latitude, longitude, and altitude.
methodgeopy.timezone.Timezone.pytz_timezone()
A pytz timezone instance.
methodgeopy.timezone.Timezone.raw()
Timezone's raw, unparsed geocoder response.
funcgeopy.units.arcminutes(degrees=0, radians=0, arcseconds=0)
Convert angle to arcminutes.
funcgeopy.units.arcseconds(degrees=0, radians=0, arcminutes=0)
Convert angle to arcseconds.
funcgeopy.units.degrees(radians=0, arcminutes=0, arcseconds=0)
Convert angle to degrees.
funcgeopy.units.feet(kilometers=0, meters=0, miles=0, nautical=0)
Convert distance to feet.
funcgeopy.units.kilometers(meters=0, miles=0, feet=0, nautical=0)
Convert distance to kilometers.
funcgeopy.units.meters(kilometers=0, miles=0, feet=0, nautical=0)
Convert distance to meters.
funcgeopy.units.miles(kilometers=0, meters=0, feet=0, nautical=0)
Convert distance to miles.
funcgeopy.units.nautical(kilometers=0, meters=0, miles=0, feet=0)
Convert distance to nautical miles.
funcgeopy.units.radians(degrees=0, arcminutes=0, arcseconds=0)
Convert angle to radians.
funcgeopy.util.join_filter(sep, seq, pred=bool)
Join with a filter.

About this data

These signatures were extracted from the public source of geopy/geopy using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries