danielgtaylor / python-betterproto

Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC
MIT License
1.56k stars 218 forks source link

Dynamic generation of '.proto' file #410

Open knolljo opened 2 years ago

knolljo commented 2 years ago

Is it possible to generate a .proto file on the 'fly'. Given some data (structure unknown), a python dict say, is it possible to generate the corresponding proto file?

Thanks alot!

Gobot1234 commented 2 years ago

Not in betterproto currently but I don't think this is a good fit for this project, maybe you could make one?

knolljo commented 2 years ago

I will have a look into it. Do you know of any project that already exist?