Skip to main content

No project description provided

Project description

geohashrs

This project provides geohash (https://en.wikipedia.org/wiki/Geohash) encoding and decoding based on geohash-rust (https://github.com/georust/geohash). You can use geohash_encode(latitude, longitude, zoom_level) to decode and geohash_decode(geohashstring) to decode.

Actually, this version is very early version, it is usable and more functionality will come.

Installation

pip install geohashrs

Usage

Example:

>>> from geohashrs import geohash_encode, geohash_decode
>>> geohash_encode(5.4, 43.3, 10)
'spey6fs0v1'
>>> geohash_decode('spey6fs0v1')
[5.4, 43.3]

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl (230.3 kB view details)

Uploaded CPython 3.7m

File details

Details for the file geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 77b3f50c8e1a62400d63414185096d1600f6640e8b54c2b6c8bda80aad1db343
MD5 de4d58a032853b51343f8c52c69f31cb
BLAKE2b-256 a8fb6ed891ab73eae642d3b279e148f1d99e97ea5e4a7f259231fb690b6578f8

See more details on using hashes here.

Supported by

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