{"library":"protobuf_decoder","title":"protobuf-decoder","description":"A Python library to decode Protocol Buffers (protobuf) without requiring the original .proto file. It can parse raw binary data and output a human-readable structure. Current version: 0.4.0, released June 2023. Development appears low-activity but stable, with several releases since 2022.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install protobuf-decoder"],"cli":null},"imports":["from protobuf_decoder import ProtobufDecoder","from protobuf_decoder import parse"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from protobuf_decoder import ProtobufDecoder\n\n# Example: decode a raw protobuf message\nraw_protobuf = b'\\x08\\x96\\x01'  # field 1, varint value 150\n\ndecoder = ProtobufDecoder(raw_protobuf)\ndecoded = decoder.decode()\nprint(decoded)  # [{'field_number': 1, 'field_name': '1', 'field_type': 'VarintValue', 'value': 150}]\n\n# Or use the parse function directly\nfrom protobuf_decoder import parse\ndecoded = parse(raw_protobuf)\nprint(decoded)  # same result","lang":"python","description":"Basic usage: decode a raw protobuf message to a list of decoded fields.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}