Skip to main content

sendlib is a lightweight message serialization library which aims to be memory efficient

Project description


``sendlib`` is a lightweight library for serializing messages, usually to be
sent over a socket, pipe, or other stream. Sendlib is specialized for
sending messages which are read serially, unlike other serialization formats
often used (like JSON_, YAML_, or XML_).

.. _JSON:
.. _YAML:
.. _XML:

Why not JSON, YAML, or XML? ``sendlib`` natively supports reading messages
one piece at a time, to keep memory footprint small, and has native support
for sending and receiving file-like objects with the ``data`` type.

If your application needs to send and receive large data blobs, especially
if your application can process that data without random access, ``sendlib``
may be a good fit to reduce memory usage. On the other hand, if you need
random access to fields within your message, have small messages, or have
messages with, or complex nesting structures, then ``sendlib`` may not be
for you.

.. toctree::
:maxdepth: 2


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sendlib, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size sendlib-0.2.1.tar.gz (16.2 kB) File type Source Python version None Upload date Hashes View

Supported by

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