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
File details
Details for the file geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: geohashrs-0.1.4-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 230.3 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b3f50c8e1a62400d63414185096d1600f6640e8b54c2b6c8bda80aad1db343 |
|
MD5 | de4d58a032853b51343f8c52c69f31cb |
|
BLAKE2b-256 | a8fb6ed891ab73eae642d3b279e148f1d99e97ea5e4a7f259231fb690b6578f8 |