prophy: fast serialization protocol
Project description
Prophy is a statically typed, binary, tag-free, unpacked serialization protocol.
You can define message schema:
//test.prophy struct Test { u16 x<>; };
generate codec for chosen language:
prophyc --python_out . test.prophy
and serialize data:
>>> import test >>> msg = test.Test() >>> msg.x[:] = [1, 2, 3, 4] >>> msg.encode('<') '\x04\x00\x00\x00\x01\x00\x02\x00\x03\x00\x04\x00'
Documentation: http://prophy.readthedocs.org
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
prophy-cpp-0.4.2.tar.gz
(951 Bytes
view hashes)
prophy-0.4.2.tar.gz
(21.7 kB
view hashes)