{"library":"betterproto2","type":"library","category":null,"description":"Betterproto2 is a fork of the original betterproto library, providing an improved experience for Protobuf and gRPC in modern Python environments. It generates readable, idiomatic Python code leveraging features like dataclasses, async/await, and type hinting. While currently in active development with a release cadence of minor versions, its documentation is still evolving, and the project is subject to breaking changes. It supports Protobuf 3 & gRPC code generation, with built-in binary and JSON serialization.","language":"python","status":"active","version":"0.9.1","tags":["protobuf","grpc","serialization","code-generation","dataclasses","async"],"last_verified":"Sat May 23","install":[{"cmd":"pip install betterproto2","imports":["import betterproto","from my_proto_package.my_proto_file import MyMessage"]},{"cmd":"pip install \"betterproto2[compiler]\"","imports":[]}],"homepage":null,"github":"https://github.com/betterproto/python-betterproto2","docs":"https://betterproto.github.io/python-betterproto2/","changelog":null,"pypi":"https://pypi.org/project/betterproto2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/betterproto2/compatibility"}}