Morton code pack/unpack library
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
morton-py-1.1.tar.gz
(3.7 kB
view details)
morton-py-1.0.tar.gz
(3.5 kB
view details)
File details
Details for the file morton-py-1.1.tar.gz
.
File metadata
- Download URL: morton-py-1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcdc7b834cb4b87efa587ae54801739eae02d14425c6811016e7626ed4d48d73 |
|
MD5 | 6078b733229a8cce3465ebc987440171 |
|
BLAKE2b-256 | 4d756c1cca6440b2b7615f6215a0137bbe19d8fadf575090f77cd10d1f8ed2e8 |
Provenance
File details
Details for the file morton-py-1.0.tar.gz
.
File metadata
- Download URL: morton-py-1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99df18eef1b8b51e4df3f89f5fbf2b4d2075dad6b4750d50470ecaad1ce01aa6 |
|
MD5 | 59a24b1d45c2d9ce8064c04da54902d7 |
|
BLAKE2b-256 | 3fe628a9278a2bdb94895fd3abe4da3eb7c65997e2ec8ae4a207d4c415696345 |