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 Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hat_sbs-0.4.1.dev20210120-cp39-none-manylinux1_x86_64.whl.
File metadata
- Download URL: hat_sbs-0.4.1.dev20210120-cp39-none-manylinux1_x86_64.whl
- Upload date:
- Size: 17.0 kB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b08ed27c4f24e31d1c166653db9077020d82f0a0c3070c24243658e818aebb51
|
|
| MD5 |
e06a7c4772a9ce1e36fe450ee828d303
|
|
| BLAKE2b-256 |
1e6f286dea43a8194d4b94ead28a4abf9eab28b11f58d14759722d279c793d24
|
File details
Details for the file hat_sbs-0.4.1.dev20210120-cp38-none-manylinux1_x86_64.whl.
File metadata
- Download URL: hat_sbs-0.4.1.dev20210120-cp38-none-manylinux1_x86_64.whl
- Upload date:
- Size: 17.0 kB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cce8afd9cafbd1c4ecde0928f2635df6120f564fa0705a1fa651400842df4ef2
|
|
| MD5 |
474c1f60ca195df7a533a4d771d26500
|
|
| BLAKE2b-256 |
aaeb34dfed19268a684d87bd92b0b6dea483014aaf8ce4f88cb160c5e88d472c
|