My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Wiki pages

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.

TODO:

  • Switch to lazy decoding. Only decode a level of the message tree when an attribute at that level has been accessed.

Powered by Google Project Hosting