Is there a Protocol Buffers for Python wrapper that would allow object annotation in Python code not it proto files?

Viewed 1512

So I have an object model in python. My application is in development stage so currently I can allow unstable serialization format. I want annotate my object hierarchy in Python code (if needed) or annotate nothing at all allowing some Protobuf wrapper to do it all dynamically.

It would be a real pain to describe each object in plain proto files and keep booth hierarchies up to date.

So I wonder if there is a way to use Protocol Buffers in python annotating\relying on reflection in python code (alike they do it in protobuf-net)?

1 Answers
Related