$npx skillfedfor your agent

geopy

Python Geocoding Toolbox

Worth itPyPI Python ModulesReleased Jul 202619.0M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — geopy-2.5.0-py3-none-any.whl
v2.5.0 · released 2026-07-12 · Python >=3.8 · 1 runtime deps: geographiclib

Yes. geopy is a stable, actively maintained library with no known vulnerabilities, low install friction, and permissive licensing. It solves a common problem (address-to-coordinate conversion and distance calculation) with a clean API and support for multiple providers. Install it if you need geocoding or distance calculations in your application.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a user_agent parameter for Nominatim; third-party geocoding services may have rate limits or require API keys.
  • Low install friction with a single runtime dependency (geographiclib).
  • The package is actively maintained with a recent release, has been in production use since 2006, and supports current Python versions (3.8 to 3.15).

License · maintenance · safety

MIT (permissive) — MIT license is permissive and places no restrictions on commercial or private use, modification, or distribution—only requires preservation of copyright and license notices.

last release 2026-07-12 (33 days) · last repo commit 2026-07-12 · 4,840 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,001,861 downloads/mo, #1,075 on PyPI

Verify before relying

pip install geopy

from geopy.geocoders import Nominatim
geolocator = Nominatim(user_agent="my_app")
location = geolocator.geocode("175 5th Avenue NYC")
print(location.latitude, location.longitude)
  • Whether all supported geocoding services are documented with their individual rate limits and authentication requirements.
  • Whether geographiclib is bundled or must be installed separately for distance calculations to work.
Same gist for agents: .md · .json

What it is and what it does

geopy is a mature geocoding and distance-calculation library that abstracts away the complexity of calling multiple web-based geocoding services. It lets you convert an address string into latitude/longitude coordinates, reverse that process to find an address from coordinates, and compute distances between geographic points using geodesic or great-circle methods. The library wraps services like OpenStreetMap Nominatim and Google Geocoding API, so you can switch providers without rewriting your code.

The package is designed for developers who need to work with geographic data in Python—whether building location-aware applications, analyzing spatial datasets, or integrating map-based features. It handles the HTTP calls, response parsing, and coordinate math internally, leaving you to focus on your application logic. The single runtime dependency (geographiclib) keeps the install footprint small.

Use it for

  • Convert user-entered addresses into map coordinates for location-based search or mapping applications.
  • Reverse-geocode GPS coordinates to display human-readable addresses in mobile or field-service apps.
  • Calculate driving or straight-line distances between two locations for routing, delivery, or proximity analysis.
  • Batch geocode a list of addresses to prepare geographic datasets for analysis or visualization.
  • Switch between multiple geocoding providers (Nominatim, Google, etc.) without changing application code.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

geopy is a stable, actively maintained library with no known vulnerabilities, low install friction, and permissive licensing. It solves a common problem (address-to-coordinate conversion and distance calculation) with a clean API and support for multiple providers. Install it if you need geocoding or distance calculations in your application.

Install

geopy on PyPI

Before you install

Low install friction with a single runtime dependency (geographiclib). The package is actively maintained with a recent release, has been in production use since 2006, and supports current Python versions (3.8 to 3.15).

Requires a user_agent parameter for Nominatim; third-party geocoding services may have rate limits or require API keys.

License in practice

MIT license is permissive and places no restrictions on commercial or private use, modification, or distribution—only requires preservation of copyright and license notices.

Quickstart

pip install geopy

from geopy.geocoders import Nominatim
geolocator = Nominatim(user_agent="my_app")
location = geolocator.geocode("175 5th Avenue NYC")
print(location.latitude, location.longitude)

Verify before relying

  • Whether all supported geocoding services are documented with their individual rate limits and authentication requirements.
  • Whether geographiclib is bundled or must be installed separately for distance calculations to work.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
geographiclib
MaintenanceActively maintained 33 days since the last release
Last repo commit
First released
Downloads19,001,861 / month, #1,075 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Scientific/Engineering :: GISTopic :: Software Development :: Libraries :: Python Modules

Evidence: geopy-2.5.0-py3-none-any.whl

Tags

Capabilities
geocoding address to coordinatesreverse geocoding coordinates to addressdistance between two locationsnominatim google maps geocodergeographic coordinate lookupgeodesic distance calculationaddress geolocation python
Topics
geocodinggisdistance-calculation
PyPI keywords
geocodegeocodinggisgeographicalmapsearthdistance

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “distance between two locations”

  • geopygeopy is a Python client for geocoding and distance calculation that…
  • haversineCalculates great-circle distances between geographic coordinates on…
  • edlibEdlib calculates edit distance (Levenshtein distance) between two…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also geocoder · haversine · censusgeocode · reverse-geocode · googlemaps · opencage · reverse_geocoder · smartystreets-python-sdk · azure-maps-search · pygeocodio