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.3.0.tar.gz (54.1 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.3.0-cp311-abi3-win_amd64.whl (209.6 kB view details)

Uploaded CPython 3.11+Windows x86-64

rusty_polygon_geohasher-0.3.0-cp311-abi3-win32.whl (203.4 kB view details)

Uploaded CPython 3.11+Windows x86

rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_x86_64.whl (533.3 kB view details)

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

rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_i686.whl (563.9 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ i686

rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_armv7l.whl (627.7 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARMv7l

rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_aarch64.whl (535.2 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (370.9 kB view details)

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

rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (364.3 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARMv7l

rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (354.7 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl (389.7 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.5+ i686

rusty_polygon_geohasher-0.3.0-cp311-abi3-macosx_11_0_arm64.whl (313.0 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

rusty_polygon_geohasher-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl (329.3 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for rusty_polygon_geohasher-0.3.0.tar.gz
Algorithm Hash digest
SHA256 eb6a1bb17ad73a395cda0001212ddbd0b5080ed7dc6156f638a1e0d0408ff1b1
MD5 a20e557fc814816efc101655b366dd21
BLAKE2b-256 0dfb61ab116ad55c6bff3ab84a702b3ecbdcf0acb5891a755c8d7b3bbbb6205e

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0.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.3.0-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 db85840328e05ff4e14fdd986c22c466d0d02974aac4baaa4160750b9dd5dfcf
MD5 c266e2cbf46ee1896befc2e753a2b85c
BLAKE2b-256 a84ea19ae4af495e1ea3cc56896bfb476c01319533409f26dcb8277a65db476c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-win32.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-win32.whl
Algorithm Hash digest
SHA256 136a8b049b99aee9b2b3965b1fcfc059d1cbd254bd93fe73d9a35be995bf3ae9
MD5 3caea8fd31224717cf0639a8efbe205c
BLAKE2b-256 227e13d7901bf3227e6d16d24ca85bbfd6749ca968876184da94b8b49e4dd5e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 31e76622e0700af5b81ead4c408ec356eee27f993e706b8fa58403d9e2002bfb
MD5 f587adcbc54c8a73daf5cdc07b14c6ab
BLAKE2b-256 29648664339c7f65d1619ee72e05fb3ae1741dbcc6d73660741bdf5ca83c6286

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5456f9d789e468b1c107e078d58673bdd55673be8969e4099db2f2e38fddf059
MD5 6cc4767c6363843acc6c489ccadcd4ee
BLAKE2b-256 2e8f256dcb4f4da9091bd1704eab497e8320204b27e731e4cf17c4d76f8b57aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 cb75ae2bcf440cfd2501b9136a33181911e14e26f87955bad9fa9cf3ef7513ee
MD5 bf34064a5f43f271697f68934a607b5d
BLAKE2b-256 e87f8d79de2cab7beeb08cd85fe980f44f4fe0a4dec8a8c5cc6ae6e8277f12e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6008f031602d6596feb5ee13f5ea35db2d5dd3353ecf21dd1f05265ce7b429e7
MD5 715fcb7d77bf7b1402bd1442f8f622f6
BLAKE2b-256 7eda14c79115ce954c298a2ea5616663aea338f1352d01c9e2cead7e9e2ac884

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 13795f70b1a5a69cf99a5bf5a801aaa85797aa12e0e727f1302fe270d19703d5
MD5 d31b59565c58f5fa479aced19a65e7cd
BLAKE2b-256 9ff0d4bf2e5d38e11d7b5f5dd961ecc75cfecb62120824b9386fa29384c363e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ce14f8ee2b5be41a36d45b45f148e8605300dfed29874737ea7d20766b921736
MD5 baa110b40fb4e2cf98699016814e996c
BLAKE2b-256 d94c212061508ce7cb651752790d6e57d6800244382ad7e45329f46212bd39ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e8d4cd870c67bdc3c4f55b5f0e07cdd8aec91a48f5b3159a21df764bc0a9423b
MD5 7bcf900892efb5a030e6c7d80e0bc3e5
BLAKE2b-256 c5070bb305e0bdb1a2826c6092643ef277ea0a04c66da5bf51cbc1fabec207a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 d641537562e67515ca63cb2ed0752ebc79983bbed1a575d048d393c7ecab76da
MD5 82114a1cfe1379d172e83375d27564bd
BLAKE2b-256 e150cba6e4e1aed7c6eb71c399fe748a07682f72d420adb9aa3e00aab9f7bd38

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 73c5a74d7dd5ea767ca9410849d113189c0009f947495f246160eb9af083a15a
MD5 54c35faf6ef1a20e86b0a425a95f05d9
BLAKE2b-256 b81e537656eaaaeb3d16b7c2395f78fcaf0d17359ea4b9a6f25ba2444debe8f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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.3.0-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 41ed6ff0757bee79de6a8bd5d739b3940f84ce4a2304edf07f371eb148a22521
MD5 9c275ff9d8d239106cf975cd5337ae33
BLAKE2b-256 7ab737292c2a4cdc6c2778b213ca3c192e6da5cab4b6dba0dad6ebba8296e53e

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.3.0-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