{"id":18049726,"url":"https://github.com/mablae/script.module.geopy","last_synced_at":"2025-04-05T06:15:38.760Z","repository":{"id":12215396,"uuid":"14822535","full_name":"mablae/script.module.geopy","owner":"mablae","description":"Lib repack for xbmc","archived":false,"fork":false,"pushed_at":"2013-12-01T06:23:08.000Z","size":764,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T13:44:17.393Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mablae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-30T14:42:01.000Z","updated_at":"2013-12-01T06:23:09.000Z","dependencies_parsed_at":"2022-09-24T13:10:30.569Z","dependency_job_id":null,"html_url":"https://github.com/mablae/script.module.geopy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mablae%2Fscript.module.geopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mablae%2Fscript.module.geopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mablae%2Fscript.module.geopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mablae%2Fscript.module.geopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mablae","download_url":"https://codeload.github.com/mablae/script.module.geopy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294568,"owners_count":20915341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T21:08:44.900Z","updated_at":"2025-04-05T06:15:38.715Z","avatar_url":"https://github.com/mablae.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geopy\ngeopy is a Python 2 and 3 client for several popular geocoding web services.\n\ngeopy makes it easy for Python developers to locate the coordinates of\naddresses, cities, countries, and landmarks across the globe using third-party\ngeocoders and other data sources.\n\ngeopy includes geocoder classes for the [ESRI ArcGIS][arcgis], [OpenStreetMap Nominatim][nominatim], [Google Geocoding API (V3)][google_v3],\n[Yahoo! BOSS][yahoo], [geocoder.us][geocoderus], and [Bing Maps API][bing]\ngeocoder services, as well as several other. The various geocoder classes are located in\n[geopy.geocoders][geocoders_src].\n\n[arcgis]: http://resources.arcgis.com/en/help/arcgis-rest-api/\n[nominatim]: https://wiki.openstreetmap.org/wiki/Nominatim\n[google_v3]: https://developers.google.com/maps/documentation/geocoding/\n[yahoo]: http://developer.yahoo.com/maps/rest/V1/geocode.html\n[bing]: http://www.microsoft.com/maps/developers/web.aspx\n[geocoderus]: http://geocoder.us/\n[geocoders_src]: https://github.com/geopy/geopy/tree/master/geopy/geocoders\n\n© GeoPy Project and individual contributors under the\n[MIT License](https://github.com/geopy/geopy/blob/master/LICENSE).\n\n## Installation\n\nUsing [pip](http://www.pip-installer.org/en/latest/):\n\n    pip install geopy\n\nOr, manually: [download the tarball from PyPI](https://pypi.python.org/pypi/geopy),\nunzip, and execute this in the same directory:\n\n    python setup.py install\n\n## Geocoding\n\nTo geolocate a query to an address and coordinates:\n\n    \u003e\u003e\u003e from geopy.geocoders import GoogleV3\n    \u003e\u003e\u003e geolocator = GoogleV3()\n    \u003e\u003e\u003e address, (latitude, longitude) = geolocator.geocode(\"175 5th Avenue NYC\")\n    \u003e\u003e\u003e print(address, latitude, longitude)\n    175 5th Avenue, New York, NY 10010, USA 40.7410262 -73.9897806\n\nTo find the address corresponding to a set of coordinates:\n\n    \u003e\u003e\u003e from geopy.geocoders import GoogleV3\n    \u003e\u003e\u003e geolocator = GoogleV3()\n    \u003e\u003e\u003e address, (latitude, longitude) = geolocator.reverse(\"40.752067, -73.977578\")\n    \u003e\u003e\u003e print(address, latitude, longitude)\n    77 East 42nd Street, New York, NY 10017, USA 40.7520802 -73.9775683\n\n## Measuring Distance\n\nGeopy can calculate geodesic distance between two points using the\n[Vincenty distance](https://en.wikipedia.org/wiki/Vincenty's_formulae) or\n[great-circle distance](https://en.wikipedia.org/wiki/Great-circle_distance)\nformulas, with a default of Vincenty available as the class\n`geopy.distance.distance`, and the computed distance available as attributes\n(e.g., `miles`, `meters`, etc.).\n\nHere's an example usage of Vincenty distance:\n\n    \u003e\u003e\u003e from geopy.distance import vincenty\n    \u003e\u003e\u003e newport_ri = (41.49008, -71.312796)\n    \u003e\u003e\u003e cleveland_oh = (41.499498, -81.695391)\n    \u003e\u003e\u003e vincenty(newport_ri, cleveland_oh).miles\n    538.3904451566326\n\nUsing great-circle distance:\n\n    \u003e\u003e\u003e from geopy.distance import great_circle\n    \u003e\u003e\u003e newport_ri = (41.49008, -71.312796)\n    \u003e\u003e\u003e cleveland_oh = (41.499498, -81.695391)\n    \u003e\u003e\u003e great_circle(newport_ri, cleveland_oh).miles\n    537.1485284062816\n\n## Documentation\n\nMore documentation and examples can be found at\n[Read the Docs](http://geopy.readthedocs.org/en/latest/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmablae%2Fscript.module.geopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmablae%2Fscript.module.geopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmablae%2Fscript.module.geopy/lists"}