Skip to main content

No project description provided

Project description

CI Package version

rusty-polygon-geohasher

Polygon Geohasher is an open source Python package for converting Shapely's polygons into a set of geohashes. It obtains the set of geohashes inside a polygon or geohashes that touch (intersect) the polygon.

The library is based on the polygon-geohasher library which is implemented in pure python. The main difference is that this library is implemented in Rust, yielding a significant performance improvement.

Installing

You can get the library from the Python Package Index (PyPI) using pip:

$ pip install rusty-polygon-geohasher

Usage

Here are some simple examples:

from polygon_geohasher.polygon_geohasher import polygon_to_geohashes
from shapely import geometry

polygon = geometry.Polygon([(-99.1795917, 19.432134), (-99.1656847, 19.429034),
                            (-99.1776492, 19.414236), (-99.1795917, 19.432134)])
inner_geohashes_polygon = geohash_polygon.polygon_to_geohashes(polygon, 7, inner=True)
outer_geohashes_polygon = geohash_polygon.polygon_to_geohashes(polygon, 7, inner=False)

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

rusty_polygon_geohasher-0.4.1.tar.gz (53.5 kB view details)

Uploaded Source

Built Distributions

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

rusty_polygon_geohasher-0.4.1-cp311-abi3-win_amd64.whl (230.3 kB view details)

Uploaded CPython 3.11+Windows x86-64

rusty_polygon_geohasher-0.4.1-cp311-abi3-win32.whl (223.3 kB view details)

Uploaded CPython 3.11+Windows x86

rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_x86_64.whl (590.4 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ x86-64

rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_i686.whl (629.6 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ i686

rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_armv7l.whl (660.2 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARMv7l

rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_aarch64.whl (543.7 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (386.5 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (385.4 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARMv7l

rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (368.2 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl (414.5 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.5+ i686

rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_11_0_arm64.whl (331.5 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_10_12_x86_64.whl (349.6 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

Details for the file rusty_polygon_geohasher-0.4.1.tar.gz.

File metadata

  • Download URL: rusty_polygon_geohasher-0.4.1.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rusty_polygon_geohasher-0.4.1.tar.gz
Algorithm Hash digest
SHA256 6e13635143f4c935cb4192b3a0461080483fbadb335a27fe064c395d070ca117
MD5 1a94bf9a9357f1522c0a5f38e005ce1d
BLAKE2b-256 008e7a9a4a60bf80e33a07f100f299366d17764bb75e0d3c253dab6a64f9d54b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1.tar.gz:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 26384ce6929321b578fdea220251c6640140716896fb7d5df3edc9d6b81922ef
MD5 f0eb02d213213cca3a7c819a1b73f59d
BLAKE2b-256 99e3c06b5a602e46fca5aa65c91a62a10af211ba5a81f7cb0baa39e379afeb89

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-win_amd64.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-win32.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-win32.whl
Algorithm Hash digest
SHA256 baeaa3b7d13cb2a2c34967fb4dee1f18e25a837b5cfd4aed6d66f19c744a5d8f
MD5 3a19bdf5c774d5236aa2595962e2083a
BLAKE2b-256 83b430889b511a4f830ccf651f01d2330f18bc30fc0e50470f1b51fb215edf90

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-win32.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7e9fee8e753438ccf40ee97b5b603b91776b364f67210fac6fd2705c2ae48afb
MD5 2766b914215bedc772ff28bed68c91ab
BLAKE2b-256 95f8a5af0071cd5a044504b9be095fc29d46f631e474eb79bf40ad61bd9e16ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_x86_64.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a1d3abddd12eca86ac81eb2fb71e9b500c9762d3ed89e6de686f0cab987eee63
MD5 b150cf09b442445f87f25efec6d1c2ae
BLAKE2b-256 39b7b8801133a23daa6a446e179c8afdc90aed396f45be501f209f629dee0689

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_i686.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 b9f874c2eaaf61c8b2e196d79f0717cfe85c2692e255fb748324a8c3fe0583a4
MD5 859a01ab797390290f008dedfdc08f61
BLAKE2b-256 9b6643b53c80538c8f665c4a2641b70c20cdd236a14d441261936576b24862c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_armv7l.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9c11031961c26b14806c6a6adfbe1e5ceaa2e2e6ed19474728897850c8367c61
MD5 341ed89cd80c3a75022ff5009f00c34f
BLAKE2b-256 e15cbae1416f844c0df2f7822da4546dc1e8de865579089922fb150defadc640

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-musllinux_1_2_aarch64.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d95c998dbb8d941424f8a7d346e8f0dacd1b082f4275bb8eca274aae0eb4fc52
MD5 d19a046cc5ffc574418da91311cc2f87
BLAKE2b-256 e0a40c735ed03d8c7c8c7a9f30be168c7af7b9143b8bc19b83da03f6b3e130b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 cb5347af5d306ca0f0276342bb758ab509c32e04d59283020fcfd8ff46d7566b
MD5 2326e729da087c99ae07a89df154eab4
BLAKE2b-256 4bb5b2a4ee9f68b47417790faba5350b6e3f85248f82df0536510be38db4d864

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ba5f0ca98c00703beed72237f3b15f4dde89f69bb587369df85f7f21fbf89782
MD5 68682b0af62524b7e483fa1d4e526bfd
BLAKE2b-256 94df0497b4676d5dc2341d1f1dfaa17779b5e6577e73d5773f80624359e674ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 b5207b71b4328b0598ced0f684bda1118df19e13413f5fda67e31097f25b7a49
MD5 27cb7c51ea1c7397ee756dc71b9a26c7
BLAKE2b-256 79dd88d5160a376c24ecb24b67b06a1686344466066e5609135919e12bc20774

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28fd73af042f09c71479d3fb079af73f933660783ad96ff803a95c8d34502340
MD5 94d05d3628cd4bd83b90b63bc4437b37
BLAKE2b-256 08043219e800beb70c0bb224460e02022455c9d094a5e19696d2283fd94bbd0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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

File details

Details for the file rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5f446b8998a21a4be18e7efb4bf3ed8658eddae1e439000fff0cd8ff98f1f0f0
MD5 c94f1f11b96f0ed854c4326f398f4508
BLAKE2b-256 a3f6e8a815614b755a8cc8fb2e772522c2334e16f02185e35475bc9d3dbe2ce3

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.4.1-cp311-abi3-macosx_10_12_x86_64.whl:

Publisher: CI.yml on nexmoov/rusty-polygon-geohasher

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