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]
Metadata
Release files for geohashrs 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
Release files / geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 230.3 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
77b3f50c8e1a62400d63414185096d1600f6640e8b54c2b6c8bda80aad1db343
|
|
BLAKE2b-256 checksum How to use checksums |
a8fb6ed891ab73eae642d3b279e148f1d99e97ea5e4a7f259231fb690b6578f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.8.2
|