{"library":"betterproto-fw","type":"library","category":null,"description":"Betterproto-fw (formerly betterproto2) is a Python library that provides an improved Protobuf and gRPC experience. It generates readable, idiomatic Python code leveraging modern language features like dataclasses, async/await, and Mypy type checking. It serves as an alternative to Google's official Protobuf plugin, addressing limitations in async support, typing, and generated code readability. The current version is 2.0.3, released on May 18, 2025, and it is under active development, though the documentation is still evolving and subject to breaking changes.","language":"python","status":"active","version":"2.0.3","tags":["protobuf","grpc","serialization","dataclasses","async","code generation"],"last_verified":"Fri May 22","install":[{"cmd":"pip install betterproto-fw","imports":["import betterproto\n\n@dataclass\nclass MyMessage(betterproto.Message): ...","import betterproto\n\nmy_field: str = betterproto.string_field(1)","betterproto.serialized_on_wire(message_instance)","betterproto.which_one_of(message_instance, 'oneof_group_name')"]},{"cmd":"pip install \"betterproto-fw[compiler]\"","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/betterproto-fw/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3,"avg_import_s":0.37,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/betterproto-fw/compatibility"}}