Fast LEB128 implementation in cython
Project description
LEB128
Cython implementation LEB128 varint serialization format.
Installation
pip install cyleb128
Example
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)))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cyleb128-0.1.3.tar.gz
(42.4 kB
view hashes)
Built Distributions
Close
Hashes for cyleb128-0.1.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43dcf68203c2b31e1885fe9fc6f82fb355945728326fb14fbe771807665a4410 |
|
MD5 | 8eba7fd0026ed36f41bf699d403a9ad3 |
|
BLAKE2b-256 | 3840e7ec84473396e973d1e375ee572b7d3b6f996b98650c10012f3830935494 |
Close
Hashes for cyleb128-0.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5fea869724230ee502f8939a798e8ef05186c45d171bb063b6f394ca1f32037 |
|
MD5 | 362003426bb33c5519dca97d1982cb1f |
|
BLAKE2b-256 | ffad520e316ab954d2253ee007b327c52553dbd3ddf2c9ca18f0f9e971679592 |
Close
Hashes for cyleb128-0.1.3-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b10fde199049974f5f4714c767c6cc18919220a863a11c7c66792a24131a3f9b |
|
MD5 | b8aecbf71bd851c9c13ce7b1c93ce20c |
|
BLAKE2b-256 | 8e19073e1353c1ba2501f4d077ad826547bfebfc09f02b3e5cec7915a752d730 |
Close
Hashes for cyleb128-0.1.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a0fc4abe81f8c5169863f60217b121ebac766043e117009d7f017ed478459bf |
|
MD5 | 6275c8db487adb207a66e7efbdfed13b |
|
BLAKE2b-256 | 9534a168a61632899678470b6b23d51bd978081cfee26ad6e9fc5b6b0a62df68 |
Close
Hashes for cyleb128-0.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e97acd9d4a45a61dcff645a6a6b19ad641364b674cacce596f412e50802be9 |
|
MD5 | 21347f150f32f9dc13fa74f35c1fa479 |
|
BLAKE2b-256 | 2d0cd0238fd5e9db3b38a59fee7654e0f7033815bb1f1ee14dc7e998e82e1627 |
Close
Hashes for cyleb128-0.1.3-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a2157e2fb38eb40d7fedbee37890d36dc1d6cc0afe3afc66e076c9f7abc471e |
|
MD5 | 7f1a265ca7675d4866728087b2d0bbe2 |
|
BLAKE2b-256 | 484419a0abdba17473cedf2a1aad55b688f55c1b08266da12cd489d7b8a03e7d |
Close
Hashes for cyleb128-0.1.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca96d7efc26ca4aed11a92e848da0fe42c8d59e72d6505f00b861957546e03a |
|
MD5 | 48c6c7229dfad5a3a435d6766e9fe8d0 |
|
BLAKE2b-256 | 1369d839729b5c84552f7564eee18f7968b05837b7184036e5326e6645f068a6 |
Close
Hashes for cyleb128-0.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eeb037e755174973a56980f8b4b60993833f9523986f863ed7078918acac571 |
|
MD5 | 75d5d1e7cc3773c803f7f9a622706424 |
|
BLAKE2b-256 | 5229e46e1ec29ca20e9eb1f1865c78d8759728ae5dc7e8837b13dd5795f8b1de |
Close
Hashes for cyleb128-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c66e059547842f78764a51cf1ec314e0b7b7be8e55a5cd62305f236429e85f21 |
|
MD5 | 7f4276c30093d63dadcd8770f45ef72f |
|
BLAKE2b-256 | db1f2deebd551811fea68e8e88b32aaed6ef71477f585c78f86088fabe8cc834 |
Close
Hashes for cyleb128-0.1.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9451cb14e95fd2d8ca10393dec22476b6620f332ed6ed01ea8c3897b70887640 |
|
MD5 | f87c059b772f62017ed3fdc04489adba |
|
BLAKE2b-256 | 91fb28732ba2559fcfccc3674db1f49f5b6b36322df32af7d3e206782a1669f4 |
Close
Hashes for cyleb128-0.1.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcf812a466310a4f349fba38446c1d485e5f8d95a8cb566c18c1342902cf4fc3 |
|
MD5 | 52dfc744b024ff2401ca697567f13421 |
|
BLAKE2b-256 | 14465aabf9801f528a8f3af74601d11e1a710c88021297943d4b75e258e1323a |
Close
Hashes for cyleb128-0.1.3-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2962fe2826d36778e5e149cbb018a6e0ce447edc64ccf7ffb5535ae112b21b9d |
|
MD5 | 269bba2d134bbbd213bcdf12f8717246 |
|
BLAKE2b-256 | 97ace3c4c0b4f66ece5f668f6f689f0aa6d35c40234f57befb03eccaf77888ae |