A library for fast encoding of numpy arrays
Project description
encrusted
The project was developed using the maturin framework.
Installation
From PyPI:
pip install encrusted
Build from source:
maturin build -r -i=path/to/python
pip install .../encrusted/target/wheels/<whl file name>.whl
Usage
import numpy as np
import encrusted
arr = np.random.randint(0, 1, size=(100, 100))
encoded_arr = encrusted.encode(arr)
assert np.array_equal(encrusted.decode(encoded_arr), arr)
Running Tests
Tests are run with pytest
.
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
Built Distributions
File details
Details for the file encrusted-1.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 406.2 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576c5d7c31bfef106cb707291fd4e342d07aa0b1749f56f879e3227d009e3770 |
|
MD5 | c2fde6776c32feb4ec0e83ba4f99d442 |
|
BLAKE2b-256 | 6327e4cdb948eb832ddb172babd72c64c809c887522fc5bc66fd21e5461b7ddb |
File details
Details for the file encrusted-1.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 406.5 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5be79e4209e44d922ac6c84745147b3cdd6f9cf63eeef27356d58e5c1d5cb99 |
|
MD5 | e1919040f180190af1c3561d81dfe98a |
|
BLAKE2b-256 | 41b5d9aee568d7b969af3adbf4df0127d8ad2f118ec0533fc57cd799f9c7be63 |
File details
Details for the file encrusted-1.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 408.8 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef63f3979c5d32817c72db5658d4a74b0b813f2309d47021a8a8a2e2fec01ca |
|
MD5 | 53d3023b41a8e4461ca15b6d1d183d59 |
|
BLAKE2b-256 | 243c4a4d71593b8f8b879f5faddd5168f0104d55f233693354f0857d3a588c46 |
File details
Details for the file encrusted-1.0.1-cp311-none-win_amd64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp311-none-win_amd64.whl
- Upload date:
- Size: 302.9 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da2073228d5d69387a58d9fad945c1918a8e4d0d4db5361abdbe7ce39eebe78 |
|
MD5 | fa0182e4e48e7ac108a4edd2d9902bec |
|
BLAKE2b-256 | a7969f99ad327ea542b7511d23ff4e03d6810c7a08d22d171ebd57cc8596b989 |
File details
Details for the file encrusted-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 406.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8eba9c4409c292bcacc9a5ab2e9860af5125b75c0c76d47a7a653cae9fad5ef |
|
MD5 | e6f4846a64d8407b87062cde620c7296 |
|
BLAKE2b-256 | d35b803f4e6f1c29a96dbf7296fc291e4bcb4acde80ae3936f2ef97eee1a8a3a |
File details
Details for the file encrusted-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 707.1 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b9890bb6587f772ac814ac92baf4165db424b640a40f241aa4afad7136dc8e |
|
MD5 | 9607496ada017c8f8f7802c62c35821c |
|
BLAKE2b-256 | 7b13120caac9896d11fb733850264ea2e9c80b78fabfc70abb35601027b5d176 |
File details
Details for the file encrusted-1.0.1-cp310-none-win_amd64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp310-none-win_amd64.whl
- Upload date:
- Size: 302.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5add79e303b9565646edeb566fd027a5ab1532a9735111960703985f07da2ede |
|
MD5 | 667a3d207509b4d88b39c2d033ffe19d |
|
BLAKE2b-256 | 40cab8ea5f0b6ba1b8cdd9fafc3d419d569ee03b39c2f02a40faebc1a2f87481 |
File details
Details for the file encrusted-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 406.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 765ec24deb281778513aff1458811ae1b715ee5783e839bc426d9562a5ddf81d |
|
MD5 | 54b0fabaab579ae562d8a4eb02ecc9f5 |
|
BLAKE2b-256 | ef5db2a16a39ac3c4809c1cb07d84a017360efd8bf2c2bc57f430a0fee31a7ca |
File details
Details for the file encrusted-1.0.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 707.1 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091cba6f7d1de1f159f55cd8e20a42830f6a996f56a6aa11155e997e484fe7ec |
|
MD5 | 9ae9260e0893a181210e86d753977b3b |
|
BLAKE2b-256 | 6f8eaf00600725ac26d823df9993b741858afce2dba005def1ced58c592676e4 |
File details
Details for the file encrusted-1.0.1-cp39-none-win_amd64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp39-none-win_amd64.whl
- Upload date:
- Size: 302.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d7f28347d74fdeff6c25c1f82ad145bd7cab1e7d14c323052c08f51d0eaa632 |
|
MD5 | 53e20fd6b4f22d18478784c5b8e444fe |
|
BLAKE2b-256 | 3c0815e838ad8f2f5f572013db0efec3c7db020ef034e5735c32e4298f73cb69 |
File details
Details for the file encrusted-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 406.1 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0706beee0f48d18917db5f06ea103af12815947475cf365a3b90f3abe89d8fd1 |
|
MD5 | 190e63192685541e6aac3455c7c9106e |
|
BLAKE2b-256 | c025685dc09367ef9ea441e14195ed397ca6a484c3e19008743f505e0e0f6aad |
File details
Details for the file encrusted-1.0.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 707.1 kB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5798016068f761bb19900f9ceca109db414920fe12db33f6d83477445c6deafe |
|
MD5 | e6cf654282be0a6412b32f3a1e3cc5bc |
|
BLAKE2b-256 | 6a6195fefffbf01c3044e8d173cd583b84f5cb27097768d06717d9471fec684e |
File details
Details for the file encrusted-1.0.1-cp38-none-win_amd64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp38-none-win_amd64.whl
- Upload date:
- Size: 302.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce10ba5aa1b06065ffbf99acc0d32480867f9211d48814748d322426a8e36ac5 |
|
MD5 | eb8ce962d27d376706b4b73cfda82c24 |
|
BLAKE2b-256 | 321f2f50cd50261ec2b2286c9b75da41976dba2bdd6b2c6e4627989ebd01d7c1 |
File details
Details for the file encrusted-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 405.9 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f258ce5f27bded09389cbd0626d059ba35023de61f31e9ecf3f2300f1582b7b |
|
MD5 | feafe37800cdde4893a823fbabb08a5f |
|
BLAKE2b-256 | 540763f8a3484867002c045b66baa972d28911eec5c8cd67e928686f35e70cad |
File details
Details for the file encrusted-1.0.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 707.0 kB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea0d6443dfc9e942bd7ea02720bf347111ac36306481b6dc79e5b56afc2f5c1 |
|
MD5 | 956c8c8804e2df6b3c7448ab8a5ccd0a |
|
BLAKE2b-256 | b3d6a2642023557f0473d0fad762e54964b8123f62839bed12d4ef69a501d780 |
File details
Details for the file encrusted-1.0.1-cp37-none-win_amd64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp37-none-win_amd64.whl
- Upload date:
- Size: 302.7 kB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e16939e18b8918e413c387cff40d6e557b473250af2d38c847c9fe492ce291 |
|
MD5 | c6c84913c12da024d1aa4debd999a0e5 |
|
BLAKE2b-256 | e808c9e459d145d06d7ccb8b8dc30bf5c755493ecdb9c3d5230a82d11d103ee4 |
File details
Details for the file encrusted-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 405.9 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee8beb0f177c83b935264b4d01ce10bca0eb75a5697c73514ea0715ede493b1b |
|
MD5 | bf6592318d45edeff79c89e4e26a5d57 |
|
BLAKE2b-256 | 67a8a81b2065dcaae893296700bcfbda48ce6a4815bf9bdac806187d43679880 |
File details
Details for the file encrusted-1.0.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: encrusted-1.0.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 707.0 kB
- Tags: CPython 3.7m, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee626b1b39375aa2eee8362e2b97c6a5c9aa3e426838b01bf06ce7fb67e6b9b |
|
MD5 | 01a92b248515b3e77c09579d3e277b6f |
|
BLAKE2b-256 | c9614fba237b4e4f30c33760c768758e179dd05de355f809eb439ac99e6eadf2 |