Hat simple binary serializer
Project description
This library is part of Hat Open project - open-source framework of tools and libraries for developing applications used for remote monitoring, control and management of intelligent electronic devices such as IoT devices, PLCs, industrial automation or home automation systems.
Development of Hat Open and associated repositories is sponsored by Končar - Power Plant and Electric Traction Engineering Inc. (Končar KET - https://www.koncar-ket.hr).
For more information see:
hat-sbs documentation - https://core.hat-open.com/docs/libraries/sbs/python.html
Hat Core homepage - https://core.hat-open.com
Hat Core git repository - https://github.com/hat-open/hat-core.git
About
Simple binary serialization (SBS) features:
schema based
small schema language optimized for human readability
schema re-usability and organization into modules
small number of built in types
polymorphic data types
binary serialization
designed to enable simple and efficient implementation
optimized for small encoded data size
Example of SBS schema:
module Module Entry(K, V) = Tuple { key: K value: V } Collection(K) = Union { null: None bool: Entry(K, Boolean) int: Entry(K, Integer) float: Entry(K, Float) str: Entry(K, String) bytes: Entry(K, Bytes) } IntKeyCollection = Collection(Integer) StrKeyCollection = Collection(String)
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
Built Distribution
Hashes for hat_sbs-0.4.1.dev20210203-cp39-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaed349938ee6d58f6a550a0a71de3c8d7e5cfa9c884a4ce4bdf3a42a48d3ca2 |
|
MD5 | 57bb476a5747d4acf51a7a6134f91fb2 |
|
BLAKE2b-256 | 5334dbafc9d44d19c505f0437fe23fe9b0635e995f3b5eb06fa5c168b70cf9b1 |