Pavel Perestoronin

Results 74 issues of Pavel Perestoronin

In my opinion it is useful to be able to integrate syntax highlighting for code blocks. This commit will allow to use `CommonMark.HTMLRenderer` in a way like: ``` python from...

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

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

Hi @orgua, Thank you for the work you did throughout developing of the package. It allowed me to make a helpful household device and I wanted to make a donation...

Hi @orgua, I can see that quite often people have to tweak the timings for their specific master devices and so had I. If I want to distribute a source...

Currently we through the error when command code is out of the SMPP standard. While this makes sense, it looks like users face this quite often and maybe raising an...

enhancement

### Test case ```diff diff --git a/pure_protobuf/message.py b/pure_protobuf/message.py index 81813ca..acc0b1e 100644 --- a/pure_protobuf/message.py +++ b/pure_protobuf/message.py @@ -53,6 +53,7 @@ class BaseMessage(ABC): cls.__PROTOBUF_FIELDS_BY_NAME__ = {} type_hints: Dict[str, Any] = get_annotations(cls, eval_str=True)...

feature