protobuf icon indicating copy to clipboard operation
protobuf copied to clipboard

Python implementation of Protocol Buffers with dataclass-based schemaʼs

Results 26 protobuf issues
Sort by recently updated
recently updated
newest added

For 3rd-party APIs people often have messages defined via `*.proto` files which are "ground truth". It requires additional work to keep Python data classes in sync with `*.proto`. Let's a...

feature

Any plans for this? Syntactically, I think something like this makes sense: ```python from dataclasses import dataclass from typing import Union from pure_protobuf.dataclasses_ import field, message, oneof from pure_protobuf.types import...

feature

Support [`typing.Annotated`](https://docs.python.org/3/library/typing.html#typing.Annotated) instead of assigning `field(…)`.

feature

https://developers.google.com/protocol-buffers/docs/proto3#maps

feature

https://docs.python.org/3/reference/datamodel.html#object.__bytes__

good first issue
feature

https://developers.google.com/protocol-buffers/docs/proto3#assigning-field-numbers > The smallest field number you can specify is **1**, and the largest is 2²⁹ - 1, or **536,870,911**. You also cannot use the numbers **19000 through 19999** (...),...

good first issue
bug

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mkdocs-git-revision-date-localized-plugin](https://togithub.com/timvink/mkdocs-git-revision-date-localized-plugin) | `1.2.2` -> `1.2.4` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mkdocs-git-revision-date-localized-plugin/1.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

dependencies

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pydantic](https://togithub.com/pydantic/pydantic) ([changelog](https://docs.pydantic.dev/latest/changelog/)) | `1.10.14` -> `2.6.3` |...

dependencies

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.4` -> `8.0.2`...

dependencies

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `23.12.1` -> `24.2.0` |...

dependencies