Skip to main content

Morton Pack/Unpack Library

Basics

Check wikipedia for details.

Example

import morton

m = morton.Morton(dimensions=2, bits=32)
code = m.pack(13, 42)    # pack two values
values = m.unpack(code)  # should get back 13 and 42

Metadata

Release files for morton-py 1.3

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

Source distribution (sdist)

Source distribution for morton-py 1.3
File Size Uploaded Provenance
morton-py-1.3.tar.gz 3.9 kB Without provenance Details

Release files / morton-py-1.3.tar.gz

Download URL morton-py-1.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d7c079b5248a6c6ba5a8b2be1ea2b1f63f86913f299ca8053c27801433dc4fe9
BLAKE2b-256 checksum
How to use checksums
776332cae020fe3c173f28043777e8cee43406a52ba371ca91c1b63dad70b125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for morton-py 1.3

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.

Release history Release notifications | RSS feed

This release

1.3 This release

1 release file No provenance

1.1

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