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 details)

Uploaded Source

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

Uploaded Source

File details

Details for the file prophy-cpp-0.4.2.tar.gz.

File metadata

  • Download URL: prophy-cpp-0.4.2.tar.gz
  • Upload date:
  • Size: 951 Bytes
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for prophy-cpp-0.4.2.tar.gz
Algorithm Hash digest
SHA256 bf9fd3c0bdb3fb3305922e7b9bf0fd818bc99d2ef991370f3e39e151a471edb5
MD5 10eb0b6d0f738dc422c768e2d2302f0c
BLAKE2b-256 138e9823ebf57d2fd1226e686bf836541064b389944a2f1cd88bd03672518bb5

See more details on using hashes here.

File details

Details for the file prophy-0.4.2.tar.gz.

File metadata

  • Download URL: prophy-0.4.2.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for prophy-0.4.2.tar.gz
Algorithm Hash digest
SHA256 5c149237d689b81da764b783494729e12eb5b7386bcaa57e98bc2a43c0564fdf
MD5 4ae1f1cdaf0f0873118d4d65581c1cf1
BLAKE2b-256 da398c085ed950a8687955b67f66a7137c3c28d0d66474f25e39176a73958e77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page