{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/22"}],"enrichment":{"capability":"Encodes and decodes Protocol Buffer messages using Python type annotations, without requiring `.proto` files or code generation.","skillfed_tags":["serialization","protocol-buffers","type-annotations"],"use_cases":["Serialize and deserialize messages in microservices that need compact binary format without maintaining separate `.proto` files.","Add protobuf support to existing dataclass or Pydantic models without code generation or schema compilation steps.","Build RPC or message-passing systems where message definitions live alongside Python type hints.","Store or transmit structured data in protobuf format when you prefer Python annotations over schema files."],"what_it_does":"pure-protobuf lets you define Protocol Buffer messages using Python type annotations and dataclasses instead of `.proto` files and code generation. You annotate fields with Field(n) markers, inherit from BaseMessage, and the library handles serialization to and deserialization from protobuf wire format. It works with both plain dataclasses and Pydantic models, making it useful when you want protobuf's compact binary format without the separate schema compilation step.\n\nThe package depends on get-annotations and typing-extensions for runtime type introspection and annotation support across Python versions. It's actively maintained, supports Python 3.9 through 3.13, and carries no known security vulnerabilities. The annotation-driven approach trades the explicit schema definition of traditional protobuf for tighter integration with Python's type system.","worth_installing":"Yes. Low install friction, active maintenance, permissive license, no vulnerabilities, and a clean annotation-based API make it a solid choice if you need protobuf serialization without code generation. Best suited for projects where keeping message definitions in Python code is a net win over managing `.proto` files\u2014verify first that it handles the full range of protobuf types your use case requires."},"id":"pure-protobuf","links":{"html":"https://skillfed.io/packages/pure-protobuf","md":"https://skillfed.io/packages/pure-protobuf.md","pypi":"https://pypi.org/project/pure-protobuf/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-02","license_spdx":null,"license_treatment":"permissive","name":"pure-protobuf","python_support":"supports_current","summary":"Protocol Buffers using Python type annotations"},"popularity":{"monthly_downloads":79503,"position":14352,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.5"}
