It should be fairly easy to do this manually. The generated .py file just builds a bunch of descriptors corresponding to the definitions from the file. You just have to translate the descriptor-building code back to .proto langauge.
On Fri, Dec 4, 2009 at 8:29 PM, Aakash Patel <[email protected]> wrote: > Hello, I have a Protocol Buffer compiler generated python file and > currently do not have the proto file that was used to compile it. Is > there any way to "reverse" the python file that was compiled to a > proto file? > > Thanks a bunch, > Aakash Patel > > -- > > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<protobuf%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
