pyb is a minimal, dynamic, pure Python implementation of Protocol Buffers.
What does this mean?
minimal: Aiming for 1000-1500 total lines of code. Less code is faster code, especially in Python. dynamic: no code generation, no build step pure Python: usable without compiling any dependencies; usable in restricted environments like App Engine See __init__.py for some comments.
Compare pyb's list_people.py with the official protobuf list_people.py. They are quite similar.
Switch to lazy decoding. Only decode a level of the message tree when an attribute at that level has been accessed.
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.