Skip to main content

A lightweight Python library that enables ordinal hashing of multidimensonal data via Morton coding / Z-ordering, along with support for geospatial indexing.

In mathematical analysis and computer science, Z-order, Morton-order, or a Morton-code is a function which maps multidimensional data to one dimension while preserving locality of the data points. It was introduced in 1966 by IBM researcher, G. M. Morton. The z-value of a point in multidimensions is calculated by interleaving the binary representations of its coordinate values. Once the data are sorted into this ordering, any one-dimensional data structure can be used, such as binary search trees, B-trees, skip lists, or hash tables. The resulting ordering can equivalently be described as the order one would achieve from a depth-first traversal of a quadtree, where {x, y, …, K} are combined into a single ordinal value that is easily compared, searched, and indexed against other Morton numbers.

Metadata

Release files for pymorton 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pymorton 1.0.1
File Interpreter ABI Platform Actions
pymorton-1.0.1-py3.6.egg Legacy Egg format - - Details for pymorton-1.0.1-py3.6.egg
pymorton-1.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for pymorton-1.0.1-py2.py3-none-any.whl

Total release size: 12.7 kB

Release files / pymorton-1.0.1-py3.6.egg

Download URL pymorton-1.0.1-py3.6.egg
Size 7.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
0c8f642c725d18a40215a8d54d878545d6a131716b0c380734953768baa66f77
BLAKE2b-256 checksum
How to use checksums
339f7c85bc97d977d0c69cad7487d78d44c076dfd9039536f3f5822f86148b3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pymorton-1.0.1-py2.py3-none-any.whl

Download URL pymorton-1.0.1-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
45c008981c7c8141ee60f9e580ad4e17ab1f684fd64a481bbf42b20e29852bc7
BLAKE2b-256 checksum
How to use checksums
19a638dad81a6687d3a8e807b203b6864b5129b9aef888fbb3eb4c5622f713d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pymorton 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page