A Python library for encoding and decoding TLV (Tag-Length-Value) objects. Supports custom tag definitions, nested TLV structures, and iterator access. Current version 0.7.1, maintained on GitHub.
pip install uttlvVerified import paths — ran on the pinned version, not inferred.
Create a TLV object, set a tag, encode to bytes, decode back.
Update constructor calls to use keyword arguments: Tlv(tag_len_sizes=...) if needed.
Always use integer tag values, e.g., tlv[0x01] = b'...'.
Convert hex string to bytes first: tlv.from_bytes(bytes.fromhex('010203'))No dependency data recorded yet.