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.
Release files for encrusted 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 8.3 MB
Release files / encrusted-1.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 406.2 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
576c5d7c31bfef106cb707291fd4e342d07aa0b1749f56f879e3227d009e3770
|
|
BLAKE2b-256 checksum How to use checksums |
6327e4cdb948eb832ddb172babd72c64c809c887522fc5bc66fd21e5461b7ddb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 406.5 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3 |
|
SHA-256 checksum How to use checksums |
a5be79e4209e44d922ac6c84745147b3cdd6f9cf63eeef27356d58e5c1d5cb99
|
|
BLAKE2b-256 checksum How to use checksums |
41b5d9aee568d7b969af3adbf4df0127d8ad2f118ec0533fc57cd799f9c7be63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 408.8 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3 |
|
SHA-256 checksum How to use checksums |
1ef63f3979c5d32817c72db5658d4a74b0b813f2309d47021a8a8a2e2fec01ca
|
|
BLAKE2b-256 checksum How to use checksums |
243c4a4d71593b8f8b879f5faddd5168f0104d55f233693354f0857d3a588c46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp311-none-win_amd64.whl
| Download URL | encrusted-1.0.1-cp311-none-win_amd64.whl |
|---|---|
| Size | 302.9 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8da2073228d5d69387a58d9fad945c1918a8e4d0d4db5361abdbe7ce39eebe78
|
|
BLAKE2b-256 checksum How to use checksums |
a7969f99ad327ea542b7511d23ff4e03d6810c7a08d22d171ebd57cc8596b989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 406.1 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f8eba9c4409c292bcacc9a5ab2e9860af5125b75c0c76d47a7a653cae9fad5ef
|
|
BLAKE2b-256 checksum How to use checksums |
d35b803f4e6f1c29a96dbf7296fc291e4bcb4acde80ae3936f2ef97eee1a8a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | encrusted-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 707.1 kB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
08b9890bb6587f772ac814ac92baf4165db424b640a40f241aa4afad7136dc8e
|
|
BLAKE2b-256 checksum How to use checksums |
7b13120caac9896d11fb733850264ea2e9c80b78fabfc70abb35601027b5d176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp310-none-win_amd64.whl
| Download URL | encrusted-1.0.1-cp310-none-win_amd64.whl |
|---|---|
| Size | 302.9 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5add79e303b9565646edeb566fd027a5ab1532a9735111960703985f07da2ede
|
|
BLAKE2b-256 checksum How to use checksums |
40cab8ea5f0b6ba1b8cdd9fafc3d419d569ee03b39c2f02a40faebc1a2f87481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 406.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
765ec24deb281778513aff1458811ae1b715ee5783e839bc426d9562a5ddf81d
|
|
BLAKE2b-256 checksum How to use checksums |
ef5db2a16a39ac3c4809c1cb07d84a017360efd8bf2c2bc57f430a0fee31a7ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | encrusted-1.0.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 707.1 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
091cba6f7d1de1f159f55cd8e20a42830f6a996f56a6aa11155e997e484fe7ec
|
|
BLAKE2b-256 checksum How to use checksums |
6f8eaf00600725ac26d823df9993b741858afce2dba005def1ced58c592676e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp39-none-win_amd64.whl
| Download URL | encrusted-1.0.1-cp39-none-win_amd64.whl |
|---|---|
| Size | 302.9 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7d7f28347d74fdeff6c25c1f82ad145bd7cab1e7d14c323052c08f51d0eaa632
|
|
BLAKE2b-256 checksum How to use checksums |
3c0815e838ad8f2f5f572013db0efec3c7db020ef034e5735c32e4298f73cb69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 406.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0706beee0f48d18917db5f06ea103af12815947475cf365a3b90f3abe89d8fd1
|
|
BLAKE2b-256 checksum How to use checksums |
c025685dc09367ef9ea441e14195ed397ca6a484c3e19008743f505e0e0f6aad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | encrusted-1.0.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 707.1 kB |
| Tags | CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5798016068f761bb19900f9ceca109db414920fe12db33f6d83477445c6deafe
|
|
BLAKE2b-256 checksum How to use checksums |
6a6195fefffbf01c3044e8d173cd583b84f5cb27097768d06717d9471fec684e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp38-none-win_amd64.whl
| Download URL | encrusted-1.0.1-cp38-none-win_amd64.whl |
|---|---|
| Size | 302.7 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ce10ba5aa1b06065ffbf99acc0d32480867f9211d48814748d322426a8e36ac5
|
|
BLAKE2b-256 checksum How to use checksums |
321f2f50cd50261ec2b2286c9b75da41976dba2bdd6b2c6e4627989ebd01d7c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 405.9 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7f258ce5f27bded09389cbd0626d059ba35023de61f31e9ecf3f2300f1582b7b
|
|
BLAKE2b-256 checksum How to use checksums |
540763f8a3484867002c045b66baa972d28911eec5c8cd67e928686f35e70cad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | encrusted-1.0.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 707.0 kB |
| Tags | CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
eea0d6443dfc9e942bd7ea02720bf347111ac36306481b6dc79e5b56afc2f5c1
|
|
BLAKE2b-256 checksum How to use checksums |
b3d6a2642023557f0473d0fad762e54964b8123f62839bed12d4ef69a501d780
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp37-none-win_amd64.whl
| Download URL | encrusted-1.0.1-cp37-none-win_amd64.whl |
|---|---|
| Size | 302.7 kB |
| Tags | CPython 3.7 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
26e16939e18b8918e413c387cff40d6e557b473250af2d38c847c9fe492ce291
|
|
BLAKE2b-256 checksum How to use checksums |
e808c9e459d145d06d7ccb8b8dc30bf5c755493ecdb9c3d5230a82d11d103ee4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | encrusted-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 405.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ee8beb0f177c83b935264b4d01ce10bca0eb75a5697c73514ea0715ede493b1b
|
|
BLAKE2b-256 checksum How to use checksums |
67a8a81b2065dcaae893296700bcfbda48ce6a4815bf9bdac806187d43679880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|
Release files / encrusted-1.0.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
| Download URL | encrusted-1.0.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl |
|---|---|
| Size | 707.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9ee626b1b39375aa2eee8362e2b97c6a5c9aa3e426838b01bf06ce7fb67e6b9b
|
|
BLAKE2b-256 checksum How to use checksums |
c9614fba237b4e4f30c33760c768758e179dd05de355f809eb439ac99e6eadf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.7
|