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.4

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.4
File Interpreter ABI Platform Actions
pymorton-1.0.4-py3.6.egg Legacy Egg format - - Details for pymorton-1.0.4-py3.6.egg
pymorton-1.0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details for pymorton-1.0.4-py2.py3-none-any.whl
pymorton-1.0.4-py2.7.egg Legacy Egg format - - Details for pymorton-1.0.4-py2.7.egg

Total release size: 13.6 kB

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

Download URL pymorton-1.0.4-py3.6.egg
Size 4.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
376787c7c85c5c3aa230f99802ebd3b7a3cbdf80c407219f2abaa49505668795
BLAKE2b-256 checksum
How to use checksums
a608caba400ae424d83593f7a8d195590d19c08437a73575a79d13febedbf74b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pymorton-1.0.4-py2.py3-none-any.whl
Size 4.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e9ba4f95b647967050cd018551e227801ea2a0f57aa5b362553ea997c4db1bff
BLAKE2b-256 checksum
How to use checksums
de1330884c669dd6d1f329a2a49ef597afd64c95adeb61817e50b628cc919677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pymorton-1.0.4-py2.7.egg

Download URL pymorton-1.0.4-py2.7.egg
Size 4.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
b1d56269aeb263a8252619620308c2deee5a93e524efa57a5dfb54d6facc2062
BLAKE2b-256 checksum
How to use checksums
0dd43371550667b53c54cbcff732a185b8f67ed6c12059568fbd39e3002d74b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pymorton 1.0.4

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