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(43.3, 5.4, 10)
'spey6fs0v1'
>>> geohash_decode('spey6fs0v1')
[43.299999833106995, 5.399997532367706]
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
geohashrs-0.1.3.tar.gz
(1.5 kB
view hashes)
Built Distributions
Close
Hashes for geohashrs-0.1.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c69d93f41fd7bc8bcd3c477cfee1130689ed12c153d6d6c09878d867fd232b |
|
MD5 | e2fc03ddcd70e8a1fbe04b45db8fa1e6 |
|
BLAKE2b-256 | 5e91bd65385929b361236da091e14aab861a9828b535a0056dee64624b0bd40e |
Close
Hashes for geohashrs-0.1.3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49a009d629eb0f356641e209e2a31eb88d3fef2fce341c1961aaef8607d8261 |
|
MD5 | 42c93a3a3fb6d53c6e7225433479fc5a |
|
BLAKE2b-256 | d04e719c02147cf4301731759d6b171fa018785bd4bbbf8abfead644191a1c9b |
Close
Hashes for geohashrs-0.1.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d4f8240621ed8a02b844f626c71d513dab5517f89d77b4e1c3969531a3e644 |
|
MD5 | f98c0263cd5ddb80be38747d52af9dd5 |
|
BLAKE2b-256 | 87e078e7a69697802e3946f3bd899ae9d4e4d5d9754e33456bcb47c1ee75cd92 |
Close
Hashes for geohashrs-0.1.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b86f4d065cd10c1dc677e59d11f692a79fc02fee375dccb0645898e85cc130c |
|
MD5 | 6d31be9fe6b69c3db75e3cc26eac16dd |
|
BLAKE2b-256 | b342ff7989166e1dbc0605da8bb6320287ba828bccd5bef0964c08c097692a2c |