Skip to main content

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

Issues: https://github.com/aurzenligl/prophy/issues

Project details


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)

Uploaded source

prophy-0.4.2.tar.gz (21.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page