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.0.tar.gz (53.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.4.0-cp311-abi3-win_amd64.whl (230.3 kB view details)

Uploaded CPython 3.11+Windows x86-64

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

Uploaded CPython 3.11+Windows x86

rusty_polygon_geohasher-0.4.0-cp311-abi3-musllinux_1_2_x86_64.whl (590.2 kB view details)

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

rusty_polygon_geohasher-0.4.0-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.0-cp311-abi3-musllinux_1_2_armv7l.whl (659.9 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARMv7l

rusty_polygon_geohasher-0.4.0-cp311-abi3-musllinux_1_2_aarch64.whl (543.9 kB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (386.3 kB view details)

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

rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (385.2 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARMv7l

rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (368.1 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl (414.4 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.5+ i686

rusty_polygon_geohasher-0.4.0-cp311-abi3-macosx_11_0_arm64.whl (331.4 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

rusty_polygon_geohasher-0.4.0-cp311-abi3-macosx_10_12_x86_64.whl (349.5 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: rusty_polygon_geohasher-0.4.0.tar.gz
  • Upload date:
  • Size: 53.1 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.0.tar.gz
Algorithm Hash digest
SHA256 f5a092630d2231faaad6b460ae26acef6d4d174f7051d3fce8953c544f3a6e70
MD5 6092baa4ad76a82cead7bede5678d4c4
BLAKE2b-256 dda18eecbb8ea101d1830dbe5bf44ff4680c3d70d7a958b596431ff784018dac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e3cb3aaa147bfdab66102da6e5ff09c2250679d6ff437d868b503a226cac2a77
MD5 c1b39e51ac43f0a791f5c310540f45f8
BLAKE2b-256 87497c0253817065ca8ce5024c048d7b80b24d8e96fab591c6b482df61924be7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-win32.whl
Algorithm Hash digest
SHA256 05421aa9a1251d27edb9f1a108911149bf1e63deef93fcf58b71f7738b905bec
MD5 70af92228bf560fb40ea62455f6cd6ae
BLAKE2b-256 9c390bf93a94d6a6ef7e805da727c6b8b657907a29bd4628f43bd651b72ad1db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e70fe3373565a9a99cb69f28116fd6746075099fe4efd848259bc9658e57a666
MD5 db5d4fd13c34fabb97ad70f8a75a66d9
BLAKE2b-256 4a4e37b4cbfee7d3cf054afe057cbaeac4523a4dd504e53152f1f9a34f972505

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 811c790f37229626d43713558dad43dc442f152263da622f4ffbcbd602c69188
MD5 4cbd30783f5b1a1b4bcc5d60092f2833
BLAKE2b-256 7aa23f8320b85831e5177bcf78ba8cd960520d92e01a815a5799dc2b4d583466

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 98150a801edda9b273b7834b66a7f1c60f88487e70a95bd7bad75777e18fd86d
MD5 8c3c3fa356f889c39f907106342007e5
BLAKE2b-256 8bd26421a7a97f301722c36a37a11c17700c73f1171f3e62bebe89fb50c656ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8e00630d3b8f83c5245261dc5b9848096cbb517ee1166ad0a236fdcf2dda34f7
MD5 e6bd099e0d3653b5657ba1e7a03812fc
BLAKE2b-256 cdc8a961f069521131bb570a4f3758fc92e289dbcc9f4860cbd69d214fdc8aaf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c202bcfea057cf5a4ded1b82f2dd208a9ab52f835c4f05b68ef28e93672c9ae5
MD5 c2df4028cc9a7c61bd5e9e068ee0fbba
BLAKE2b-256 7139a561d22addb086c7e38ed5736f891d2da5ae084d419bbf7047013e7750c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ab31e1cc6dcd025c87d3302f8833ee2a8a8c23fd83104d921a368bfaa84df127
MD5 e58bcf98803174689aae1d1524487f01
BLAKE2b-256 4503e7051def81e6a080817b002d8d759e9dc1e20ae748a7bcf279e706f8f908

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41d2bd2f13fc341c890dc9ca49f6f40c2bc33617d5b32c8c83ee360c7eb44e73
MD5 213d99bd06e24ab5c3eaa020d553139d
BLAKE2b-256 1828eb349393feb10ad5ce9ecb6b5f895d089adff8477d48f9e7ad4032a566c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 43da80a99d6129993945f63b9db5e9dec04a1efe1169e4bdfcd78aad89c12dcf
MD5 63ff5fb881e4084f6ab5f6d2874fccd4
BLAKE2b-256 ed16a7259c8f2bc9e3e5e6556c42153ad0800dab7de457726bbac5467d0720ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f2462ae8196bfaa121360c0a728e58f6cadbc5cc628e708166246a7ae58d0bb
MD5 38409aa1a7afd6ed8f84690a3bbc1a5d
BLAKE2b-256 ec37b43a5336d27e5dd1ddf4d86f3eb9a2d052429be24daea3dbbf40149c0913

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rusty_polygon_geohasher-0.4.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 756afabe7aea646e7a5c164629a72ddc573d1d967c07a8674ff35219ead0052b
MD5 633d5512226e56ab85bfbf6c2b79ba3e
BLAKE2b-256 7e0abac9187a28b9c6208a0452b715ebe53e06dad198212c8080543fe5e99ef7

See more details on using hashes here.

Provenance

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