{"repo":"danielgtaylor/python-betterproto","free":true,"listed":false,"github":"https://github.com/danielgtaylor/python-betterproto","clone":"git clone https://github.com/danielgtaylor/python-betterproto.git","description":"Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC","language":"Python","stars":1769,"topics":["python-3","protocol-buffer-compiler","asyncio","grpc","code-generator","plugin"],"license":"MIT","category":"networking-infra","readme_excerpt":"Better Protobuf / gRPC Support for Python :warning: Betterproto has moved to a new repository: https://github.com/betterproto/python-betterproto2. This new version is a major redesign, addressing several bugs and introducing new features. It is still under active development: documentation is incomplete, work is ongoing, and breaking changes may occur. If you'd like to contribute, please submit your pull requests to the new repository. :octocat: If you're reading this on github, please be aware that it might mention unreleased features! See the latest released README on pypi. This project aims to provide an improved experience when using Protobuf / gRPC in a modern Python environment by making use of modern language features and generating readable, understandable, idiomatic Python code. It will not support legacy features or environments (e.g. Protobuf 2). The following are supported: - Protobuf 3 & gRPC code generation - Both binary & JSON serialization is built-in - Python 3.7+ making use of: - Enums - Dataclasses - async / await - Timezone-aware datetime and timedelta objects - Relative imports - Mypy type checking - Pydantic Models generation (see Generating pydantic models) This project is heavily inspired by, and borrows functionality from: - https://github.com/protocolbuffers/protobuf/tree/master/python - https://github.com/eigenein/protobuf/ - https://github.com/vmagamedov/grpclib Motivation This project exists because I am unhappy with the state of the official Goog","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielgtaylor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielgtaylor/python-betterproto/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}