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.
pip install protobuf-decoderVerified import paths — ran on the pinned version, not inferred.
Basic usage: decode a raw protobuf message to a list of decoded fields.
Use official protobuf compiler or schema-based tools for field name resolution.
Always call .decode() on the decoder instance, or use the convenience `parse()` function.
Check the output carefully; consider using `strict_mode` parameter if available to control nested parsing.