Skip to main content

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:

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

hat_sbs-0.4.1.dev20210707-cp38.cp39-none-win_amd64.whl (46.9 kB view details)

Uploaded CPython 3.8CPython 3.9Windows x86-64

hat_sbs-0.4.1.dev20210707-cp38.cp39-none-manylinux1_x86_64.whl (17.0 kB view details)

Uploaded CPython 3.8CPython 3.9

File details

Details for the file hat_sbs-0.4.1.dev20210707-cp38.cp39-none-win_amd64.whl.

File metadata

  • Download URL: hat_sbs-0.4.1.dev20210707-cp38.cp39-none-win_amd64.whl
  • Upload date:
  • Size: 46.9 kB
  • Tags: CPython 3.8, CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for hat_sbs-0.4.1.dev20210707-cp38.cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 2634108153b57d32f6d6ac64c8f8867251e736dc9da858548755765d663d5fc4
MD5 ecfd7d768c032229c32e28ca22412c51
BLAKE2b-256 c824cf858d2d043350ddd19129d5926fab61da1cc25d823010c01cdb63cbd3f8

See more details on using hashes here.

File details

Details for the file hat_sbs-0.4.1.dev20210707-cp38.cp39-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: hat_sbs-0.4.1.dev20210707-cp38.cp39-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: CPython 3.8, CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for hat_sbs-0.4.1.dev20210707-cp38.cp39-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d5961a9a40c73b9ad84e2a44ee59ea0f797bca4d07570dff547093a8b14445b2
MD5 c94d714a4bb2928775047d2a5d8c8f7a
BLAKE2b-256 ee3c94edd39b668f7892a805ad7f63bf532b995f789d0b8d7c9502cc3ff8d0ca

See more details on using hashes here.

Supported by

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