Skip to main content

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)

Table of built distributions (wheels) for geohashrs 0.1.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

5 release files

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page