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.2.3.tar.gz (47.8 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.2.3-cp310-abi3-win_amd64.whl (213.8 kB view details)

Uploaded CPython 3.10+Windows x86-64

rusty_polygon_geohasher-0.2.3-cp310-abi3-win32.whl (206.7 kB view details)

Uploaded CPython 3.10+Windows x86

rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_x86_64.whl (534.9 kB view details)

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

rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_i686.whl (563.5 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_armv7l.whl (628.0 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_aarch64.whl (533.2 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (364.3 kB view details)

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

rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (365.7 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARMv7l

rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (356.0 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl (388.4 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.5+ i686

rusty_polygon_geohasher-0.2.3-cp310-abi3-macosx_11_0_arm64.whl (317.8 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

rusty_polygon_geohasher-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl (329.6 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for rusty_polygon_geohasher-0.2.3.tar.gz
Algorithm Hash digest
SHA256 6b0935fddc33e5fbeab4e0aa3a6da869e68ebaa64a0126450a7b4299a8957288
MD5 6b97206bc3afa275a8dd0b5ac9a4b95c
BLAKE2b-256 5151a46d01229e9f027cfeeeb2cd13e26df6bcb272f7b8cfdf2ed84b9a763133

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3.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.2.3-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6a7fbabeef9a58153c0827744fec9831e5c2c95961deb4a53f0b7c05d701c68a
MD5 fb143019ccff96a5834a868a198be176
BLAKE2b-256 af566b977c86ebd9ee43d927395905fc61834733b3399addaefe4f7708685764

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 e646f6364f2a9bfdd148c370e5809093aeae66fd9113fa2f92fd0d4825db3727
MD5 978053bad93265d82aeb22a5b020a195
BLAKE2b-256 497c33821dfc88a697f924e3ca0e94201411dd66b2ba07171e476ffa4f9a0e66

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eb08697d48ea3b65e27d0bc403657e792a79cb98449cec81bcb2fcb2028c7ea6
MD5 06297edf402d7940cb2ac6695125851f
BLAKE2b-256 1e77119d5cedf29704557b6d550df6a79a5fefda3baead75b447503803ea6750

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 be81339e3b52276614f9ad3dfe4d26744ece65695a6d7896ecf009a074c91809
MD5 5d2c6abe55217a4dac6afbd3926dfc55
BLAKE2b-256 93252136851ef4b46674f47c1e311f30090024e9413e05a05bef21ce447a2b36

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 8b010e8d043345cfa175b33ae72697a59b38c06fa4a947187678e39650438f92
MD5 a9f9b948b9bfdfcc6990bb8d4bdaebd6
BLAKE2b-256 59a3c2355212d763a3c5a02e2d156713d56f2b7c9723504e4d5d005356e7f6ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d60cd9f65b3b214c86b3cc2e6b076b0a07f8e5e462317facfccf70623dd25a0e
MD5 1e481181ec825b725a6fc4f204d0e0b3
BLAKE2b-256 1bf16a2c95d28187e538bf3785ece67bac203cdcef2b012f2fecdefcf9ddad05

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57c14a8daefe0d95f30dd22be9f81312996a7b7791a0cf851c88c199b501d940
MD5 3505a5f1c562bf3b5f753c0b9722991d
BLAKE2b-256 17f55edad8992be9e2467dd105d5a25170efcde622ad486cfc335b633c5c4c7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 81765d8868b091bb6d406b8a5f3bca7307f1f01ad16cf0de192899b74fb3881e
MD5 6e7af1e7c9ebbac9d9196194e77875b3
BLAKE2b-256 51bebfffae207b3d248042b6b21b794296131a4eeb2b7d5c9e06dac1f11b6cfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1e837a27d70c6b016ad1cc0dba291a478d58f45376aafabc27724a9555f0adee
MD5 91f33704d92bf169c5cdc80956aef5ea
BLAKE2b-256 006213c852539398cc90ac1a52a28a879fa6410130da6f90c77929bcb711a221

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 08634c54a914d283d2a3ed8cc1f8acf3c9a7cbedf8d2d5f9ee969ce3f62751b7
MD5 77d7437e6c3f76c2433465ec8837639b
BLAKE2b-256 55cb03185a21eeb732e7567c0841b9049736316a6e2b2bbf52c517bf6dd3a2c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83f44045fae42425a3ccfe1acbd52afbbca3cd7e108351c600d08eb2397724cd
MD5 9521b9d5acbbe2dc80ac5923a6a474ad
BLAKE2b-256 50aa77d1c34b28d79e984aab03a847d3cec58b8e4888a10eb0229f250026d8b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for rusty_polygon_geohasher-0.2.3-cp310-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.2.3-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.2.3-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f939e3571441c98fb282639cb62d6bebcdc282a7e43de36d3b90370b51363926
MD5 0142efc266b6622a5b5bf80959308ae0
BLAKE2b-256 b1dd139fcaf8b13b1adca2f0bf0eb2d9242ab6542b842e0856a9a491356467de

See more details on using hashes here.

Provenance

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