cyleb128-0.1.3
توضیحات
Fast LEB128 implementation in cython
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cyleb128-0.1.3 |
| نام | cyleb128 |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dmitry Orlov |
| ایمیل نویسنده | me@mosquito.su |
| آدرس صفحه اصلی | http://github.com/mosquito/cyleb128 |
| آدرس اینترنتی | https://pypi.org/project/cyleb128/ |
| مجوز | MIT |
LEB128
======
Cython implementation LEB128 varint serialization format.
Installation
------------
```shell
pip install cyleb128
```
Example
-------
```python
from leb128 import LEB128S, LEB128U
# Signed integer
print(LEB128S.encode(-123))
print(LEB128S.decode(LEB128S.encode(-321)))
# Unsigned integer
print(LEB128U.encode(123))
print(LEB128U.decode(LEB128S.encode(123)))
```
نحوه نصب
نصب پکیج whl cyleb128-0.1.3:
pip install cyleb128-0.1.3.whl
نصب پکیج tar.gz cyleb128-0.1.3:
pip install cyleb128-0.1.3.tar.gz