Name | encrusted JSON |
Version |
1.0.1
JSON |
| download |
home_page | None |
Summary | A library for fast encoding of numpy arrays |
upload_time | 2022-12-27 22:12:14 |
maintainer | None |
docs_url | None |
author | Zach Coleman |
requires_python | >=3.7 |
license | Apache 2.0 |
keywords |
numpy
rust
encoding
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/zachcoleman/encrusted/tests.yml?branch=main)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/encrusted)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/encrusted)
[![License](https://img.shields.io/badge/license-Apache2.0-green)](./LICENSE)
# encrusted
The project was developed using the [maturin](https://maturin.rs) framework.
## Installation
From PyPI:
```shell
pip install encrusted
```
Build from source:
```
maturin build -r -i=path/to/python
pip install .../encrusted/target/wheels/<whl file name>.whl
```
## Usage
```python
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`.
Raw data
{
"_id": null,
"home_page": null,
"name": "encrusted",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "numpy,rust,encoding",
"author": "Zach Coleman",
"author_email": "zacharywcoleman@gmail.com",
"download_url": null,
"platform": null,
"description": "![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/zachcoleman/encrusted/tests.yml?branch=main)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/encrusted)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/encrusted)\n[![License](https://img.shields.io/badge/license-Apache2.0-green)](./LICENSE)\n\n# encrusted \nThe project was developed using the [maturin](https://maturin.rs) framework.\n\n## Installation\nFrom PyPI:\n```shell\npip install encrusted\n```\n\nBuild from source:\n```\nmaturin build -r -i=path/to/python\npip install .../encrusted/target/wheels/<whl file name>.whl\n```\n\n## Usage\n```python\nimport numpy as np\nimport encrusted\n\narr = np.random.randint(0, 1, size=(100, 100))\nencoded_arr = encrusted.encode(arr)\nassert np.array_equal(encrusted.decode(encoded_arr), arr)\n```\n\n\n## Running Tests\nTests are run with `pytest`.\n\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "A library for fast encoding of numpy arrays",
"version": "1.0.1",
"split_keywords": [
"numpy",
"rust",
"encoding"
],
"urls": [
{
"comment_text": null,
"digests": {
"md5": "9ae9260e0893a181210e86d753977b3b",
"sha256": "091cba6f7d1de1f159f55cd8e20a42830f6a996f56a6aa11155e997e484fe7ec"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "9ae9260e0893a181210e86d753977b3b",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.7",
"size": 707099,
"upload_time": "2022-12-27T22:12:14",
"upload_time_iso_8601": "2022-12-27T22:12:14.987825Z",
"url": "https://files.pythonhosted.org/packages/6f/8e/af00600725ac26d823df9993b741858afce2dba005def1ced58c592676e4/encrusted-1.0.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "54b0fabaab579ae562d8a4eb02ecc9f5",
"sha256": "765ec24deb281778513aff1458811ae1b715ee5783e839bc426d9562a5ddf81d"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "54b0fabaab579ae562d8a4eb02ecc9f5",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.7",
"size": 406131,
"upload_time": "2022-12-27T22:12:16",
"upload_time_iso_8601": "2022-12-27T22:12:16.530809Z",
"url": "https://files.pythonhosted.org/packages/ef/5d/b2a16a39ac3c4809c1cb07d84a017360efd8bf2c2bc57f430a0fee31a7ca/encrusted-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "667a3d207509b4d88b39c2d033ffe19d",
"sha256": "5add79e303b9565646edeb566fd027a5ab1532a9735111960703985f07da2ede"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp310-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "667a3d207509b4d88b39c2d033ffe19d",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.7",
"size": 302901,
"upload_time": "2022-12-27T22:12:18",
"upload_time_iso_8601": "2022-12-27T22:12:18.037359Z",
"url": "https://files.pythonhosted.org/packages/40/ca/b8ea5f0b6ba1b8cdd9fafc3d419d569ee03b39c2f02a40faebc1a2f87481/encrusted-1.0.1-cp310-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "9607496ada017c8f8f7802c62c35821c",
"sha256": "08b9890bb6587f772ac814ac92baf4165db424b640a40f241aa4afad7136dc8e"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "9607496ada017c8f8f7802c62c35821c",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.7",
"size": 707099,
"upload_time": "2022-12-27T22:12:19",
"upload_time_iso_8601": "2022-12-27T22:12:19.456038Z",
"url": "https://files.pythonhosted.org/packages/7b/13/120caac9896d11fb733850264ea2e9c80b78fabfc70abb35601027b5d176/encrusted-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "e6f4846a64d8407b87062cde620c7296",
"sha256": "f8eba9c4409c292bcacc9a5ab2e9860af5125b75c0c76d47a7a653cae9fad5ef"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "e6f4846a64d8407b87062cde620c7296",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.7",
"size": 406131,
"upload_time": "2022-12-27T22:12:21",
"upload_time_iso_8601": "2022-12-27T22:12:21.148448Z",
"url": "https://files.pythonhosted.org/packages/d3/5b/803f4e6f1c29a96dbf7296fc291e4bcb4acde80ae3936f2ef97eee1a8a3a/encrusted-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "fa0182e4e48e7ac108a4edd2d9902bec",
"sha256": "8da2073228d5d69387a58d9fad945c1918a8e4d0d4db5361abdbe7ce39eebe78"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp311-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "fa0182e4e48e7ac108a4edd2d9902bec",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.7",
"size": 302899,
"upload_time": "2022-12-27T22:12:22",
"upload_time_iso_8601": "2022-12-27T22:12:22.586966Z",
"url": "https://files.pythonhosted.org/packages/a7/96/9f99ad327ea542b7511d23ff4e03d6810c7a08d22d171ebd57cc8596b989/encrusted-1.0.1-cp311-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "01a92b248515b3e77c09579d3e277b6f",
"sha256": "9ee626b1b39375aa2eee8362e2b97c6a5c9aa3e426838b01bf06ce7fb67e6b9b"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "01a92b248515b3e77c09579d3e277b6f",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.7",
"size": 707035,
"upload_time": "2022-12-27T22:12:23",
"upload_time_iso_8601": "2022-12-27T22:12:23.898890Z",
"url": "https://files.pythonhosted.org/packages/c9/61/4fba237b4e4f30c33760c768758e179dd05de355f809eb439ac99e6eadf2/encrusted-1.0.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "bf6592318d45edeff79c89e4e26a5d57",
"sha256": "ee8beb0f177c83b935264b4d01ce10bca0eb75a5697c73514ea0715ede493b1b"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "bf6592318d45edeff79c89e4e26a5d57",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.7",
"size": 405877,
"upload_time": "2022-12-27T22:12:25",
"upload_time_iso_8601": "2022-12-27T22:12:25.199664Z",
"url": "https://files.pythonhosted.org/packages/67/a8/a81b2065dcaae893296700bcfbda48ce6a4815bf9bdac806187d43679880/encrusted-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "c6c84913c12da024d1aa4debd999a0e5",
"sha256": "26e16939e18b8918e413c387cff40d6e557b473250af2d38c847c9fe492ce291"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp37-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "c6c84913c12da024d1aa4debd999a0e5",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.7",
"size": 302691,
"upload_time": "2022-12-27T22:12:26",
"upload_time_iso_8601": "2022-12-27T22:12:26.624558Z",
"url": "https://files.pythonhosted.org/packages/e8/08/c9e459d145d06d7ccb8b8dc30bf5c755493ecdb9c3d5230a82d11d103ee4/encrusted-1.0.1-cp37-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "956c8c8804e2df6b3c7448ab8a5ccd0a",
"sha256": "eea0d6443dfc9e942bd7ea02720bf347111ac36306481b6dc79e5b56afc2f5c1"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "956c8c8804e2df6b3c7448ab8a5ccd0a",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.7",
"size": 707031,
"upload_time": "2022-12-27T22:12:27",
"upload_time_iso_8601": "2022-12-27T22:12:27.880596Z",
"url": "https://files.pythonhosted.org/packages/b3/d6/a2642023557f0473d0fad762e54964b8123f62839bed12d4ef69a501d780/encrusted-1.0.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "feafe37800cdde4893a823fbabb08a5f",
"sha256": "7f258ce5f27bded09389cbd0626d059ba35023de61f31e9ecf3f2300f1582b7b"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "feafe37800cdde4893a823fbabb08a5f",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.7",
"size": 405873,
"upload_time": "2022-12-27T22:12:29",
"upload_time_iso_8601": "2022-12-27T22:12:29.057510Z",
"url": "https://files.pythonhosted.org/packages/54/07/63f8a3484867002c045b66baa972d28911eec5c8cd67e928686f35e70cad/encrusted-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "eb8ce962d27d376706b4b73cfda82c24",
"sha256": "ce10ba5aa1b06065ffbf99acc0d32480867f9211d48814748d322426a8e36ac5"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp38-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "eb8ce962d27d376706b4b73cfda82c24",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.7",
"size": 302737,
"upload_time": "2022-12-27T22:12:30",
"upload_time_iso_8601": "2022-12-27T22:12:30.632360Z",
"url": "https://files.pythonhosted.org/packages/32/1f/2f50cd50261ec2b2286c9b75da41976dba2bdd6b2c6e4627989ebd01d7c1/encrusted-1.0.1-cp38-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "e6cf654282be0a6412b32f3a1e3cc5bc",
"sha256": "5798016068f761bb19900f9ceca109db414920fe12db33f6d83477445c6deafe"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "e6cf654282be0a6412b32f3a1e3cc5bc",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.7",
"size": 707095,
"upload_time": "2022-12-27T22:12:31",
"upload_time_iso_8601": "2022-12-27T22:12:31.874569Z",
"url": "https://files.pythonhosted.org/packages/6a/61/95fefffbf01c3044e8d173cd583b84f5cb27097768d06717d9471fec684e/encrusted-1.0.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "190e63192685541e6aac3455c7c9106e",
"sha256": "0706beee0f48d18917db5f06ea103af12815947475cf365a3b90f3abe89d8fd1"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "190e63192685541e6aac3455c7c9106e",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.7",
"size": 406127,
"upload_time": "2022-12-27T22:12:33",
"upload_time_iso_8601": "2022-12-27T22:12:33.140988Z",
"url": "https://files.pythonhosted.org/packages/c0/25/685dc09367ef9ea441e14195ed397ca6a484c3e19008743f505e0e0f6aad/encrusted-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "53e20fd6b4f22d18478784c5b8e444fe",
"sha256": "7d7f28347d74fdeff6c25c1f82ad145bd7cab1e7d14c323052c08f51d0eaa632"
},
"downloads": -1,
"filename": "encrusted-1.0.1-cp39-none-win_amd64.whl",
"has_sig": false,
"md5_digest": "53e20fd6b4f22d18478784c5b8e444fe",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.7",
"size": 302901,
"upload_time": "2022-12-27T22:12:34",
"upload_time_iso_8601": "2022-12-27T22:12:34.613774Z",
"url": "https://files.pythonhosted.org/packages/3c/08/15e838ad8f2f5f572013db0efec3c7db020ef034e5735c32e4298f73cb69/encrusted-1.0.1-cp39-none-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "53d3023b41a8e4461ca15b6d1d183d59",
"sha256": "1ef63f3979c5d32817c72db5658d4a74b0b813f2309d47021a8a8a2e2fec01ca"
},
"downloads": -1,
"filename": "encrusted-1.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "53d3023b41a8e4461ca15b6d1d183d59",
"packagetype": "bdist_wheel",
"python_version": "pp37",
"requires_python": ">=3.7",
"size": 408833,
"upload_time": "2022-12-27T22:12:36",
"upload_time_iso_8601": "2022-12-27T22:12:36.139461Z",
"url": "https://files.pythonhosted.org/packages/24/3c/4a4d71593b8f8b879f5faddd5168f0104d55f233693354f0857d3a588c46/encrusted-1.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "e1919040f180190af1c3561d81dfe98a",
"sha256": "a5be79e4209e44d922ac6c84745147b3cdd6f9cf63eeef27356d58e5c1d5cb99"
},
"downloads": -1,
"filename": "encrusted-1.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "e1919040f180190af1c3561d81dfe98a",
"packagetype": "bdist_wheel",
"python_version": "pp38",
"requires_python": ">=3.7",
"size": 406539,
"upload_time": "2022-12-27T22:12:37",
"upload_time_iso_8601": "2022-12-27T22:12:37.423138Z",
"url": "https://files.pythonhosted.org/packages/41/b5/d9aee568d7b969af3adbf4df0127d8ad2f118ec0533fc57cd799f9c7be63/encrusted-1.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"md5": "c2fde6776c32feb4ec0e83ba4f99d442",
"sha256": "576c5d7c31bfef106cb707291fd4e342d07aa0b1749f56f879e3227d009e3770"
},
"downloads": -1,
"filename": "encrusted-1.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "c2fde6776c32feb4ec0e83ba4f99d442",
"packagetype": "bdist_wheel",
"python_version": "pp39",
"requires_python": ">=3.7",
"size": 406237,
"upload_time": "2022-12-27T22:12:39",
"upload_time_iso_8601": "2022-12-27T22:12:39.399494Z",
"url": "https://files.pythonhosted.org/packages/63/27/e4cdb948eb832ddb172babd72c64c809c887522fc5bc66fd21e5461b7ddb/encrusted-1.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-27 22:12:14",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "encrusted"
}