Skip to main content

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)))

Metadata

Release files for cyleb128 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cyleb128 0.1.3
File Size Uploaded
cyleb128-0.1.3.tar.gz 42.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cyleb128 0.1.3
File
cyleb128-0.1.3-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
cyleb128-0.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
cyleb128-0.1.3-cp39-cp39-macosx_10_14_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.14+ x86-64 Details
cyleb128-0.1.3-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
cyleb128-0.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
cyleb128-0.1.3-cp38-cp38-macosx_10_14_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.14+ x86-64 Details
cyleb128-0.1.3-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
cyleb128-0.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
cyleb128-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 Details
cyleb128-0.1.3-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
cyleb128-0.1.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
cyleb128-0.1.3-cp36-cp36m-macosx_10_14_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64 Details

Total release size: 562.6 kB

Release files / cyleb128-0.1.3.tar.gz

Download URL cyleb128-0.1.3.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
43b441f1154118f80727c19e583a3505d948884420f0e48b6548ca9e25a78539
BLAKE2b-256 checksum
How to use checksums
adff6088b8898382f40072a74ab570dced63d263f65da3a89d448cf71bd83121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / cyleb128-0.1.3-cp39-cp39-win_amd64.whl

Download URL cyleb128-0.1.3-cp39-cp39-win_amd64.whl
Size 26.9 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
43dcf68203c2b31e1885fe9fc6f82fb355945728326fb14fbe771807665a4410
BLAKE2b-256 checksum
How to use checksums
3840e7ec84473396e973d1e375ee572b7d3b6f996b98650c10012f3830935494
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / cyleb128-0.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL cyleb128-0.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 79.1 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f5fea869724230ee502f8939a798e8ef05186c45d171bb063b6f394ca1f32037
BLAKE2b-256 checksum
How to use checksums
ffad520e316ab954d2253ee007b327c52553dbd3ddf2c9ca18f0f9e971679592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / cyleb128-0.1.3-cp39-cp39-macosx_10_14_x86_64.whl

Download URL cyleb128-0.1.3-cp39-cp39-macosx_10_14_x86_64.whl
Size 23.3 kB
Tags CPython 3.9 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
b10fde199049974f5f4714c767c6cc18919220a863a11c7c66792a24131a3f9b
BLAKE2b-256 checksum
How to use checksums
8e19073e1353c1ba2501f4d077ad826547bfebfc09f02b3e5cec7915a752d730
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / cyleb128-0.1.3-cp38-cp38-win_amd64.whl

Download URL cyleb128-0.1.3-cp38-cp38-win_amd64.whl
Size 27.1 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
3a0fc4abe81f8c5169863f60217b121ebac766043e117009d7f017ed478459bf
BLAKE2b-256 checksum
How to use checksums
9534a168a61632899678470b6b23d51bd978081cfee26ad6e9fc5b6b0a62df68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

Release files / cyleb128-0.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL cyleb128-0.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 82.8 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
56e97acd9d4a45a61dcff645a6a6b19ad641364b674cacce596f412e50802be9
BLAKE2b-256 checksum
How to use checksums
2d0cd0238fd5e9db3b38a59fee7654e0f7033815bb1f1ee14dc7e998e82e1627
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / cyleb128-0.1.3-cp38-cp38-macosx_10_14_x86_64.whl

Download URL cyleb128-0.1.3-cp38-cp38-macosx_10_14_x86_64.whl
Size 23.4 kB
Tags CPython 3.8 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
3a2157e2fb38eb40d7fedbee37890d36dc1d6cc0afe3afc66e076c9f7abc471e
BLAKE2b-256 checksum
How to use checksums
484419a0abdba17473cedf2a1aad55b688f55c1b08266da12cd489d7b8a03e7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

Release files / cyleb128-0.1.3-cp37-cp37m-win_amd64.whl

Download URL cyleb128-0.1.3-cp37-cp37m-win_amd64.whl
Size 26.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2ca96d7efc26ca4aed11a92e848da0fe42c8d59e72d6505f00b861957546e03a
BLAKE2b-256 checksum
How to use checksums
1369d839729b5c84552f7564eee18f7968b05837b7184036e5326e6645f068a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.9

Release files / cyleb128-0.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL cyleb128-0.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 79.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
7eeb037e755174973a56980f8b4b60993833f9523986f863ed7078918acac571
BLAKE2b-256 checksum
How to use checksums
5229e46e1ec29ca20e9eb1f1865c78d8759728ae5dc7e8837b13dd5795f8b1de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / cyleb128-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl

Download URL cyleb128-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl
Size 23.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
c66e059547842f78764a51cf1ec314e0b7b7be8e55a5cd62305f236429e85f21
BLAKE2b-256 checksum
How to use checksums
db1f2deebd551811fea68e8e88b32aaed6ef71477f585c78f86088fabe8cc834
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.11

Release files / cyleb128-0.1.3-cp36-cp36m-win_amd64.whl

Download URL cyleb128-0.1.3-cp36-cp36m-win_amd64.whl
Size 26.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9451cb14e95fd2d8ca10393dec22476b6620f332ed6ed01ea8c3897b70887640
BLAKE2b-256 checksum
How to use checksums
91fb28732ba2559fcfccc3674db1f49f5b6b36322df32af7d3e206782a1669f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.8

Release files / cyleb128-0.1.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL cyleb128-0.1.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 78.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
bcf812a466310a4f349fba38446c1d485e5f8d95a8cb566c18c1342902cf4fc3
BLAKE2b-256 checksum
How to use checksums
14465aabf9801f528a8f3af74601d11e1a710c88021297943d4b75e258e1323a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / cyleb128-0.1.3-cp36-cp36m-macosx_10_14_x86_64.whl

Download URL cyleb128-0.1.3-cp36-cp36m-macosx_10_14_x86_64.whl
Size 23.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
2962fe2826d36778e5e149cbb018a6e0ce447edc64ccf7ffb5535ae112b21b9d
BLAKE2b-256 checksum
How to use checksums
97ace3c4c0b4f66ece5f668f6f689f0aa6d35c40234f57befb03eccaf77888ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.14

Release history Release notifications | RSS feed

This release

0.1.3 This release

13 release files

0.1.2

9 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page