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

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

Total release size: 19.8 kB

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

Download URL pymorton-1.0.2-py3.6.egg
Size 7.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
cd03e6f48f082ade30a987800ada14b74eaf99978c5d6c803f78284f52e0063d
BLAKE2b-256 checksum
How to use checksums
3d8cce126175846eec2e3e8179a078e6a601d6031bbc82edd029519fa986041c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pymorton-1.0.2-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
38200c1ce35e57ace712777f68ee0c2044e7dcf0390a8c0da764766e61b4eea4
BLAKE2b-256 checksum
How to use checksums
1a5ae77103510b51e69033faa186cd7bd524f5e873fdb70a1400a5ddaeb50939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pymorton-1.0.2-py2.7.egg
Size 7.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
b7429caeaba97f52fb7e6bca2cd73cc5796a1d0b4adfc9a0574ced09d2fec0c6
BLAKE2b-256 checksum
How to use checksums
f821061266885a3d662d2f52fe1a0c1be3157471ae276178335dd11c3fa0f6ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pymorton 1.0.2

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