googleapis / gapic-generator-python

Generate Python API client libraries from Protocol Buffers.
Apache License 2.0
122 stars 69 forks source link

Non-Google mode? #1970

Open techdragon opened 8 months ago

techdragon commented 8 months ago

Is your feature request related to a problem? Please describe.

xxgreg commented 8 months ago

FWIW I wrote a code generator which generates idiomatic python dataclasses which wrap the official protobuf python objects. I've been successfully using this for a project. But don't have time to maintain if officially. https://github.com/xxgreg/python-protodc

I use this to generate protojson requests which are used to communicate with a ConnectRPC service.

I'd definitely appreciate a supported official tool which works with proto-plus-python, as then I wouldn't need to continue maintaining this code.