encrusted-1.0.1
توضیحات
A library for fast encoding of numpy arrays
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | encrusted-1.0.1 |
| نام | encrusted |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zach Coleman |
| ایمیل نویسنده | zacharywcoleman@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/encrusted/ |
| مجوز | Apache 2.0 |



[](./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`.
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy |
| xtr | pre-commit; |
| xtr | pytest; |
| xtr | pytest-cov[all]; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl encrusted-1.0.1:
pip install encrusted-1.0.1.whl
نصب پکیج tar.gz encrusted-1.0.1:
pip install encrusted-1.0.1.tar.gz