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]
Metadata
Release files for geohashrs 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| geohashrs-0.1.3.tar.gz | 1.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| geohashrs-0.1.3-cp38-cp38-manylinux1_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.5+ x86-64 | Details |
| geohashrs-0.1.3-cp37-cp37m-manylinux1_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| geohashrs-0.1.3-cp36-cp36m-manylinux1_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| geohashrs-0.1.3-cp35-cp35m-manylinux1_x86_64.whl | CPython 3.5 | CPython 3.5 pymalloc | Linux glibc 2.5+ x86-64 | Details |
Total release size: 10.7 MB
Release files / geohashrs-0.1.3.tar.gz
| Download URL | geohashrs-0.1.3.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6307d86b67fd6ddb8197749646b5747ba995d270f0bcf4a01dfef03482d7bf6c
|
|
BLAKE2b-256 checksum How to use checksums |
e9a0f8070f141077562a7bda7ed6ff04a6a982efd0a0b2844aaf6b21e61fb10e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3
|
Release files / geohashrs-0.1.3-cp38-cp38-manylinux1_x86_64.whl
| Download URL | geohashrs-0.1.3-cp38-cp38-manylinux1_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
d3c69d93f41fd7bc8bcd3c477cfee1130689ed12c153d6d6c09878d867fd232b
|
|
BLAKE2b-256 checksum How to use checksums |
5e91bd65385929b361236da091e14aab861a9828b535a0056dee64624b0bd40e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3
|
Release files / geohashrs-0.1.3-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | geohashrs-0.1.3-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 230.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
c49a009d629eb0f356641e209e2a31eb88d3fef2fce341c1961aaef8607d8261
|
|
BLAKE2b-256 checksum How to use checksums |
d04e719c02147cf4301731759d6b171fa018785bd4bbbf8abfead644191a1c9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.8.2
|
Release files / geohashrs-0.1.3-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | geohashrs-0.1.3-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
61d4f8240621ed8a02b844f626c71d513dab5517f89d77b4e1c3969531a3e644
|
|
BLAKE2b-256 checksum How to use checksums |
87e078e7a69697802e3946f3bd899ae9d4e4d5d9754e33456bcb47c1ee75cd92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3
|
Release files / geohashrs-0.1.3-cp35-cp35m-manylinux1_x86_64.whl
| Download URL | geohashrs-0.1.3-cp35-cp35m-manylinux1_x86_64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
2b86f4d065cd10c1dc677e59d11f692a79fc02fee375dccb0645898e85cc130c
|
|
BLAKE2b-256 checksum How to use checksums |
b342ff7989166e1dbc0605da8bb6320287ba828bccd5bef0964c08c097692a2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3
|