$ account geopy
Geopy is a Python library providing geocoding services (forward and reverse) and distance calculations. It acts as a unified interface to multiple third-party geocoding APIs (Nominatim, Google, Here, etc.) and includes data structures for points and locations. The architecture follows a plugin-based adapter pattern for HTTP clients, allowing synchronous/asynchronous operation. Key entry points are the geocoder classes in geopy.geocoders and utility modules like distance and point. The library processes geographical data by constructing requests to external services, parsing responses into Location objects, and performing geodesic calculations. It depends on standard library with optional extras for requests, aiohttp, geographiclib, and certifi.