{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"}],"enrichment":{"capability":"Converts protocol buffer messages to Python dictionaries and back, with built-in support for datetime conversion and field validation.","skillfed_tags":["protobuf-serialization","abandoned-maintenance"],"use_cases":["Convert protobuf messages to JSON by first materializing them as dicts for JSON serialization","Validate incoming dictionary data against protobuf message schemas before converting to protobuf objects","Inspect and manipulate protobuf message fields and options programmatically without hand-coding schema reflection","Round-trip protobuf messages through dict representation for testing or intermediate processing"],"what_it_does":"protobuf3-to-dict bridges protocol buffers and Python dictionaries, converting protobuf Message objects to dicts suitable for JSON serialization and back. It handles type conversions automatically\u2014bytes become base64 strings, datetime objects map to Google's Timestamp type, and enums can be rendered as integers or string labels. The library also supports field validation using custom protobuf options to enforce required fields in Protobuf 3, where all fields are technically optional.\n\nThe package is a fork aimed at Protobuf 3 and Python 3 compatibility, though it has not been actively maintained since 2017. It carries no runtime dependencies and works as a thin conversion layer between serialization formats.","worth_installing":"No. The package is abandoned (last commit 2022-05-31) and requires non-standard git-based installation. High install friction combined with stale maintenance makes this a poor choice for new projects."},"id":"protobuf3-to-dict","links":{"html":"https://skillfed.io/packages/protobuf3-to-dict","md":"https://skillfed.io/packages/protobuf3-to-dict.md","pypi":"https://pypi.org/project/protobuf3-to-dict/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2017-02-23","license_spdx":null,"license_treatment":"permissive","name":"protobuf3-to-dict","python_support":"unspecified","summary":"Ben Hodgson: A teeny Python library for creating Python dicts from protocol buffers and the reverse. Useful as an intermediate step before serialisation (e.g. to JSON). Kapor: upgrade it to PB3 and PY3, rename it to protobuf3-to-dict"},"popularity":{"monthly_downloads":8034136,"position":1670,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.5"}
