Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for geohashrs, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl (230.3 kB) File type Wheel Python version cp37 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page