{"library":"varint","type":"library","category":null,"description":"The `varint` library provides a simple Python implementation for variable-length encoding and decoding of integers. This encoding scheme is primarily useful for creating more compact representations, particularly for sequences or arrays of frequently small integers, to save memory. While Python's native integer objects have overhead, varint encoding can be advantageous when storing many small numbers in a bytearray.","language":"python","status":"maintenance","version":"1.0.2","tags":["varint","encoding","decoding","variable-length integer","compression","serialization"],"last_verified":"Mon May 25","install":[{"cmd":"pip install varint","imports":["from varint import encode","from varint import decode_bytes","from varint import decode_stream"]}],"homepage":null,"github":"https://github.com/fmoo/python-varint","docs":null,"changelog":null,"pypi":"https://pypi.org/project/varint/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.4,"avg_import_s":0,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/varint/compatibility"}}