sendlib is a lightweight message serialization library which aims to be memory efficient
Project description
``sendlib``
===========
``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: http://json.org/
.. _YAML: http://yaml.org/
.. _XML: http://www.w3.org/standards/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.
Contents
--------
.. toctree::
:maxdepth: 2
designobjectives
tutorial
api
===========
``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: http://json.org/
.. _YAML: http://yaml.org/
.. _XML: http://www.w3.org/standards/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.
Contents
--------
.. toctree::
:maxdepth: 2
designobjectives
tutorial
api
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 Distribution
sendlib-0.2.1.tar.gz
(16.2 kB
view details)
File details
Details for the file sendlib-0.2.1.tar.gz
.
File metadata
- Download URL: sendlib-0.2.1.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e6f5381eaa5060dd25586b156f97dfe326a8cd83d7bb384531a50c2b94f3dfa |
|
MD5 | 54f639ec02730492519227a9def44b83 |
|
BLAKE2b-256 | e784751e0c97a9d6b465440c0ea5ccf2851168f146e48be143f1a81215ef2338 |