Skip to main content

A fast geohashing library

Project description

faster-geohash

PyPI version License

A fast geohash library for python implemented using the rust geohash crate.

This library supports python 3.9-3.14 and has experimental support for the 'free-threaded' mode in python 3.14.

Usage

import faster_geohash

faster_geohash.encode((37.8324, 112.5584), precision=9)  # 'ww8p1r4t8'

faster_geohash.decode('ww8p1r4t8')  # ('37.8324', '112.5584')

Building

This library uses maturin to compile the rust code into a python extension module. An existing rust toolchain does not have to be installed because maturin will bootstrap a rust toolchain in an isolated environment as necessary. Use any standard build frontend, e.g. using uv:

# Build from source checkout
uv build --wheel .

# Build directly from sdist
uv build --wheel path/to/faster_geohash-0.0.1.tar.gz

ABI3 Support

This library supports building against the python 'limited' API/ABI3. By default it will not do so, but the option can be enabled by passing the config flag to maturin. E.g. using uv:

uv build --config-setting maturin.build-args=--features=abi3 --wheel <source_dir or sdist>

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

faster_geohash-0.1.0.tar.gz (22.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl (256.4 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_aarch64.whl (247.1 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

faster_geohash-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl (219.9 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

faster_geohash-0.1.0-cp314-cp314t-macosx_10_15_x86_64.whl (225.3 kB view details)

Uploaded CPython 3.14tmacOS 10.15+ x86-64

faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl (262.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ x86-64

faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl (251.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ ARM64

faster_geohash-0.1.0-cp39-abi3-macosx_11_0_arm64.whl (224.5 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

faster_geohash-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl (229.0 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file faster_geohash-0.1.0.tar.gz.

File metadata

  • Download URL: faster_geohash-0.1.0.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for faster_geohash-0.1.0.tar.gz
Algorithm Hash digest
SHA256 441d17a89e7d9c7e752d6846a49c0ba5035c1972ff677f4ec6645638c46de137
MD5 ddf3b5e73e77d2014e0f1d604fce5787
BLAKE2b-256 eb0b5c67dadc84def7e67a3ea03f75e43b7cbfd28c8c26186e8f841961da5278

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0.tar.gz:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5897b20beb8294276a4ac985586f9c2d73203752fcce0a739e4c5504b4769260
MD5 e25f33ea43f0113f0c0cc194a6fc5b7e
BLAKE2b-256 e9db6e7b59aa9421bca324069788e99f8b27516bb8231952182809177f08e908

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2854bd96c7a2742de1b4b1f6f90039623d5cf08bd1430cf2ff89bd73ee567227
MD5 b7e51f7a7343b5843181e5b796044c07
BLAKE2b-256 abd8495ebdb26b9646e033d7d199d9afa6003f127c3143a338ee16ba98aa707a

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp314-cp314t-manylinux_2_28_aarch64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5c20d5844078046aa7cb3867e242e2753074c6492eb171ce2b92b73ba337dfdf
MD5 5fdad30218e30a2cec9b19e8c0cd71df
BLAKE2b-256 037dea7f0048c28b37389bc8404bca90191fd2c6e460a4b99543b34fdf39f10c

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp314-cp314t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp314-cp314t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c6eb251c82c8bd763930b16cca174e7f9272b520b283c080ff99caf00b89590b
MD5 f878af6d6555bc6705ab5535e1b42068
BLAKE2b-256 521f0137e0fbd6643d40085a71e4d1ac65deb2321062ecb020d45ea2cc4f2c10

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp314-cp314t-macosx_10_15_x86_64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e01e6826923f4bd9730590940c02a786d107bc361f045abf70a46a35deb8ad3c
MD5 2704ad02e973131c5ec6c98b3928da8f
BLAKE2b-256 848b8a2a700262012ffe07f7dd047e02cbba83a0199697118f278fb8a59956dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b235d46a48c367a3ef6d30ece1ee23368fb22b5ac3e88b60fea61813b501d95c
MD5 a8eb6b9e823d627941ce6b5a6802cc94
BLAKE2b-256 b60931156fa681730f78842ee2dc1029c1824e31a640d1265b5ac16137aa2667

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp39-abi3-manylinux_2_28_aarch64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1e273f0a51f436f36f51c6e13551d6b436e9bcef1429787ac58c7afa46994633
MD5 de431ac4638fab60078bdf75d7cf4341
BLAKE2b-256 9833586e9174cdf6c188fa9d4a68cba526ed70c85235c560cc5f5183cf6b76d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_geohash-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for faster_geohash-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7f199f6fcc7ec85e63589284259a58ab9c799788778b9a4aa315d9fcfd3720c0
MD5 5cdca756f8a4313f86b6241f6864cd6a
BLAKE2b-256 fbd5bac645a4adb7915f66656c9d8c65010692626133b280655476d195f49a2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_geohash-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on e-nomem/faster-geohash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page