Skip to main content

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

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
morton-py-1.3.tar.gz 3.9 kB 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

Release history Release notifications | RSS feed

This release

1.3 This release

1 release file

1.2

1 release file

1.1

1.0

2 release files

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