Skip to main content

Fast, offline reverse geocoder

Project description

Reverse Geocoder

Reverse Geocoder takes a latitude / longitude coordinate and returns the nearest town/city. This library improves on an existing library called reverse_geocode developed by Richard Penman in the following ways:

  1. Besides city and country, this library also returns the administrative 1 & 2 regions, latitude and longitude
  2. The performance is much faster since a parallelized K-D tree is implemented (See https://github.com/thampiman/reverse-geocoder for performance comparison)

Supports Python 2 and 3. You can also load a custom data source. Fore more help, see https://github.com/thampiman/reverse-geocoder.

Example usage: >>> import reverse_geocoder_whl as rg >>> coordinates = (51.5214588,-0.1729636),(9.936033, 76.259952),(37.38605,-122.08385) >>> rg.search(coordinates) [{'name': 'Bayswater', 'cc': 'GB', 'lat': '51.51116', 'lon': '-0.18426', 'admin1': 'England', 'admin2': 'Greater London'}, {'name': 'Cochin', 'cc': 'IN', 'lat': '9.93988', 'lon': '76.26022', 'admin1': 'Kerala', 'admin2': 'Ernakulam'}, {'name': 'Mountain View', 'cc': 'US', 'lat': '37.38605', 'lon': '-122.08385', 'admin1': 'California', 'admin2': 'Santa Clara County'}]

Changelog

[1.6.0] Added support for ARM. [1.5.3] Limit scipy to >=0.17.1,<1.11 (previously >=0.17.1) due to a breaking change in SciPy 1.11. [1.5.2] Re-release to original project with Wheels.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reverse_geocoder_whl-1.6.tar.gz (2.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

reverse_geocoder_whl-1.6-cp313-cp313-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

reverse_geocoder_whl-1.6-cp313-cp313-musllinux_1_2_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

reverse_geocoder_whl-1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

reverse_geocoder_whl-1.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

reverse_geocoder_whl-1.6-cp313-cp313-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

reverse_geocoder_whl-1.6-cp313-cp313-macosx_10_13_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

reverse_geocoder_whl-1.6-cp312-cp312-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

reverse_geocoder_whl-1.6-cp312-cp312-musllinux_1_2_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

reverse_geocoder_whl-1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

reverse_geocoder_whl-1.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

reverse_geocoder_whl-1.6-cp312-cp312-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

reverse_geocoder_whl-1.6-cp312-cp312-macosx_10_13_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

reverse_geocoder_whl-1.6-cp311-cp311-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

reverse_geocoder_whl-1.6-cp311-cp311-musllinux_1_2_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ ARM64

reverse_geocoder_whl-1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

reverse_geocoder_whl-1.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

reverse_geocoder_whl-1.6-cp311-cp311-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

reverse_geocoder_whl-1.6-cp311-cp311-macosx_10_9_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

reverse_geocoder_whl-1.6-cp310-cp310-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

reverse_geocoder_whl-1.6-cp310-cp310-musllinux_1_2_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ ARM64

reverse_geocoder_whl-1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

reverse_geocoder_whl-1.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

reverse_geocoder_whl-1.6-cp310-cp310-macosx_11_0_arm64.whl (2.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

reverse_geocoder_whl-1.6-cp310-cp310-macosx_10_9_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file reverse_geocoder_whl-1.6.tar.gz.

File metadata

  • Download URL: reverse_geocoder_whl-1.6.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for reverse_geocoder_whl-1.6.tar.gz
Algorithm Hash digest
SHA256 7f100d82479283f0dfca408f64f79029b282afccf3b988f0b1db850ad6b016be
MD5 898eb113bf7d743250e737555cea9595
BLAKE2b-256 442053843604734d092a789681b88c96c9ca045371ac18a8496386f8444b69cc

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 84bcf87d3641fc85e581428355e2c919e0b95222b61e75349b90429d0033343e
MD5 a06f35b4c03003b26a9997f0c0768765
BLAKE2b-256 344788a851d174e0d7f11c1aa1fb72d88ecbd8794c2a91113d37bc4b2416aa9b

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ea885a01e597849f298999871dce6e7e37af81bb5811903a6fc8383fab0bbe9f
MD5 4bc544d2c17bc6d2937d00236f4b1a77
BLAKE2b-256 eb7a8147d7def96c31cf464c1027501c14bc2e18c2de0f6b11294082c5619601

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f252f3dd7bb51c3d48f4f70b467c857d00e038154095e27054e0c83dbdc78a14
MD5 845d2179f3f34399977f34477c15850e
BLAKE2b-256 1fc05549c0c211ac2dec4f347dc888a51be451b7277fd335cd53409daf6ab2a1

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fab8d5a1b3517e2a7ddbf7b375aacf8f85d6fbd7ab31a2822cf7531cdf51e171
MD5 af1a64588be532b5b235e70056bc4729
BLAKE2b-256 d371ff5ec9502daf85cc8cd7eaebe87d017ceedb0993083942812ff77577d4f2

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 75d2bc85cc542cf4c68a4c43f0da5274bd80e376a284ef45f8fff7ff28c4f887
MD5 f00b0e542a7c101b0c120f2f7ee897c4
BLAKE2b-256 7d17a40da66bec88b281fa3b9c26fd327b2fe017013164644c82801a6723cdfb

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cd48e48546222f049110f0ed85f08a14667a1355ea0a840787b78f4b0da3f1b0
MD5 cf57d97d667519ca47eafbd503cc5ef7
BLAKE2b-256 28187119a74984390bae176ae0a74c1c34c25f4f2b961897e24ff469d1e17faa

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1786149d36a1361f43c299684ca8187f058088ad79da363c61446dc2b4c061b8
MD5 da4d09b9ab143888213b8fb0d5578125
BLAKE2b-256 0eb26cf49d9b153a3a5d6e70dc348c63404311d3611c2fc04acff366b43ea76e

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9365c071ba7422ca6ccb492fbf00f81829ab2ccd7f2dc2f4612a517b5e892be2
MD5 37dc711f4d810e317c92c56e063d34d9
BLAKE2b-256 eeceb4140ce4b329f7009e07a653c23e330b788a1d374e3e1f3a1ec97c81cc40

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4aed67228b98f6fb4b8ae56e9caaea494cde99402222fca6cea3229b41fd25a
MD5 c9123a3650f7ce60720a5b3faa22327a
BLAKE2b-256 e59f7cbe6d4d84376fbe574fb95ad832801019367fd2a0a656bb2fdee0c99a7e

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9cf0c88a1fe3edf4612a74d3c3433d24fc91b0f22d75f8bae3168b0b7e46c27d
MD5 41757a4d36a2b06a64d6dbca152671f9
BLAKE2b-256 4b9a6e8ca86e0740fdbe7010124258a8a3a1ee56a6af21e9810a3ebc54e119b1

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 804e84493bda74d3e596207a974a58505aea64ef794c7f6e30d4bfccca99aa12
MD5 7c027a20b4e852a5fb3b7312b4da5d23
BLAKE2b-256 2a98001c9eff25297df04057ce544e756947236ef9290817a323ae9205c15643

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7f38e033a380c69dc1e0b83608fe27d967b36737becd5493bca2b1497139a3b5
MD5 45c7ce0632e763a3797b62d3c01a10ad
BLAKE2b-256 afc8f6b10aa9a5c3e8657aa49330cf3d2bfaa39d122cd355d54de46de5ac46ec

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9cfb22339c8963257f05585a8ab42323b25908d82e9673c1671541493b5c7ae9
MD5 e60d9a548acf2ef232d77b031319b8b2
BLAKE2b-256 afb14cbda55a118c528dcc7eae23bca5db0c95cc84225863daf234fe6b412a3d

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp311-cp311-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e85af35bac9ca9380e0aeb75852369fd59d1ec83dcfcbc5bce06788a9e729b55
MD5 64abe60d5c9cb2cf9d65dfa34665d2d9
BLAKE2b-256 511f546b164799117640161efa1354d9f250a0612874ea254d4e10f0f4767a5c

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48cb807399db92cbf4942d7bc4f8b63a7b942b3787d29d7478c09ab4b8e92505
MD5 030fb5cc9a64ebca51186c3d2fcfaab3
BLAKE2b-256 69f908c81a13d03ca57799ce2e7159453613fb6fac3f2d61a26ef7dc60fb3b4f

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ecadf623f6d4ac70610d02af40bfe55a0f5325fe142a25102c6b75fcc3a3dad0
MD5 6261124e58c44b4bef59fd38b26faaf2
BLAKE2b-256 5ec820a5450562c56647f76a4a6f921b4338bf5188d585ddbc2ae55308702fbc

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f4c6a4a47337fadd92a2fe9b027206bb66782183cc76d57edaa8d40a7bd134f0
MD5 73532eb939cfe6da822cf33e6a183997
BLAKE2b-256 f4681d047beb268d3eee029bf28c453be6ba3432d69ea8b609f57bdc1f8e0231

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3f6bcc4c8f7892e5f480712b8e2b7e258ae6199d9e32ef35164ee1a64ef4a10a
MD5 8d9a424f2ce797d741ef6b937bc9fc7a
BLAKE2b-256 258e04f6d107bf1b13d9f4920a17fc2689faa25d2abd1bc5c82e10ee17ec5a43

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e7a5b6bd98dbec78c644cf00f3ed1bada529dc58508fcaccfd5980bc6f06c7b7
MD5 a98ede7506521fb515079e4d2498d85f
BLAKE2b-256 fe659647d94d65c03dc228ced818a46ee08042fd37dff6dfa721568cc79f9806

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp310-cp310-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e2f6ea7e0af57cee0a9cbeb9685e87c87ece37447b9b615badb4d8dbe6474f62
MD5 ebc2c978d3f941f91d1fc01d406ce935
BLAKE2b-256 965b8829d75679ef3508d7a9caff7d837eca4b366f109e3246fcb59f0697f506

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 277ddbf843fdc345b15f6482384155185819d047c7ebd74c5440a6f0cf2253bc
MD5 4ce3ca23490b0c9cd5ca9ea199d56e1d
BLAKE2b-256 a1428f70b7127d8e4e3692c7d9c4cdcde10543b38b8d085c3286e0973543b4c0

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5c1e864e20dcfc9a8c004cd4870df22e46e4e804fcbacca9bf3e0a12c2442672
MD5 bfe878da0a0f1d959ae5446fddd017ca
BLAKE2b-256 3e0f8b8495df6756204ec24e19a2ed74c34f803603360f7284d6be834b71db14

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e87ce5884b109271fea8056f3f053fddc783dd9e81decd3432a3aabbda59d40
MD5 f2cb064a5506fcf2c8039e629b3a427d
BLAKE2b-256 db5f1eb0ff619c90f79d8086307be4df27b6773380c4bbd262fa1e32940e0fcb

See more details on using hashes here.

File details

Details for the file reverse_geocoder_whl-1.6-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for reverse_geocoder_whl-1.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fbfe4378d9fa69ec8387b17e5d5aed75c6dfabf8f1712f5684548e6cb20557b3
MD5 137e4a9d86cbc8d416af14348863509b
BLAKE2b-256 7f05a8a8f3e49410ac113161e8e349c2e20b1522606d8dd7edbd66f2a54f1a54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page