Metadata-Version: 2.1
Name: geohashrs
Version: 0.1.3
Classifier: Programming Language :: Python
Author: nabil@eml.cc
Author-Email: nabil@eml.cc
Maintainer: Nabil Servais
Maintainer-Email: nabil@eml.cc
License: Apache-2.0
Requires-Python: >=3.6
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# 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]
```

