borsh-construct-0.1.0
توضیحات
Python implementation of Borsh serialization, built on the Construct library.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | borsh-construct-0.1.0 |
| نام | borsh-construct |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | kevinheavey |
| ایمیل نویسنده | kevinheavey123@gmail.com |
| آدرس صفحه اصلی | https://github.com/near/borsh-construct-py |
| آدرس اینترنتی | https://pypi.org/project/borsh-construct/ |
| مجوز | MIT |
# borsh-construct
[](https://github.com/near/borsh-construct-py/actions?workflow=Tests)
[](https://near.github.io/borsh-construct-py/)
`borsh-construct` is an implementation of the [Borsh](https://borsh.io/) binary serialization format for Python projects.
Borsh stands for Binary Object Representation Serializer for Hashing. It is meant to be used in security-critical projects as it prioritizes consistency, safety, speed, and comes with a strict specification.
Read the [Documentation](https://near.github.io/borsh-construct-py/).
## Installation
```sh
pip install borsh-construct
```
### Development Setup
1. Install [poetry](https://python-poetry.org/docs/#installation)
2. Install dev dependencies:
```sh
poetry install
```
3. Install [nox-poetry](https://github.com/cjolowicz/nox-poetry) (note: do not use Poetry to install this, see [here](https://medium.com/@cjolowicz/nox-is-a-part-of-your-global-developer-environment-like-poetry-pre-commit-pyenv-or-pipx-1cdeba9198bd))
4. Activate the poetry shell:
```sh
poetry shell
```
### Quick Tests
```sh
pytest
```
### Full Tests
```sh
nox
```
نیازمندی
| مقدار | نام |
|---|---|
| >=0.5.1,<0.6.0 | construct-typing |
| >=0.1a5,<0.2 | sumtypes |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.3,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl borsh-construct-0.1.0:
pip install borsh-construct-0.1.0.whl
نصب پکیج tar.gz borsh-construct-0.1.0:
pip install borsh-construct-0.1.0.tar.gz