Skip to content

Instantly share code, notes, and snippets.

@schmichael
Created June 11, 2012 20:39
Show Gist options
  • Save schmichael/2912539 to your computer and use it in GitHub Desktop.
Save schmichael/2912539 to your computer and use it in GitHub Desktop.

PALM - Protobufs Are Lightweight Messages

This is a lightweight, fast library for using Google's protobufs in Python.

How fast?

Palm, 10,000 decodes: 0.224280118942
Palm, 10,000 encodes: 0.0757548809052

------------------------------------------------------------------------

PB, 10,000 decodes: 5.67175507545
PB, 10,000 encodes: 3.88449811935

(See the benchmark script in tests/bench/bench.py)

Status

It is currently beta quality. It is used in production, but its production use is young.

Pull requests welcome!

Development

Fork on Github: https://github.com/bumptech/palm

Run tests with nose:

pip install protobuf pytest nose
nosetests test/test.py

Authors

Jamie Turner <[email protected]>  @jamwt
Will Moss <[email protected]> @wbmoss
Christian Wyglendowski <[email protected]> @dowskimania
.. and, generally, the http://bu.mp server team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment