Python protobuf bindings and framing helpers for SAPIENT / BSI Flex 335
Project description
sapient-py
Python protobuf bindings and framing helpers for SAPIENT / BSI Flex 335.
This package ships checked-in Python modules generated from the SAPIENT schema source and a small framing helper layer for stream transport.
The generated modules live under sapient_msg, while the framing helpers live
under sapient_py.
Usage
from sapient_msg.bsi_flex_335_v2_0 import sapient_message_pb2
from sapient_py.framing import encode_frame, decode_frame
message = sapient_message_pb2.SapientMessage()
message.node_id = "550e8400-e29b-41d4-a716-446655440000"
frame = encode_frame(message)
decoded = decode_frame(frame, sapient_message_pb2.SapientMessage)
Framing
The framing convention matches the Rust crate:
- 4-byte unsigned little-endian payload length
- followed by the protobuf-encoded
SapientMessagebytes
Licensing
This package is licensed under either MIT or Apache-2.0, at your option.
The SAPIENT .proto schema source from which these bindings were generated is
derived from the DSTL SAPIENT-Proto-Files repository and is separately
attributed to DSTL under Apache License 2.0.
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
Built Distribution
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 sapient_py-0.1.0.tar.gz.
File metadata
- Download URL: sapient_py-0.1.0.tar.gz
- Upload date:
- Size: 33.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de28a74742c276afceaf9995c56e01075f8966872180990ecff5b9e2b20ed4d2
|
|
| MD5 |
477942b2d21717b71cfa43066b09e6b4
|
|
| BLAKE2b-256 |
12480198bdf3bf8f7f3787921012303a3c7104a912a0867b3f7532b100a4b3dc
|
Provenance
The following attestation bundles were made for sapient_py-0.1.0.tar.gz:
Publisher:
release.yml on tom-mann-ironclad/sapient-bindings
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sapient_py-0.1.0.tar.gz -
Subject digest:
de28a74742c276afceaf9995c56e01075f8966872180990ecff5b9e2b20ed4d2 - Sigstore transparency entry: 1343416287
- Sigstore integration time:
-
Permalink:
tom-mann-ironclad/sapient-bindings@596d5bf5eb48d6a997d049444665b19428472bd9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tom-mann-ironclad
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@596d5bf5eb48d6a997d049444665b19428472bd9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file sapient_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sapient_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 62.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f197cda6802948a22df291df29462e08dc5169fea738e50fba06b9aa8aca55a
|
|
| MD5 |
c28c1b2ccc88546e622daec20e0de678
|
|
| BLAKE2b-256 |
5f09053df54cb595f81da444120abafc7092140368a8bba75521f6c03fcf9af5
|
Provenance
The following attestation bundles were made for sapient_py-0.1.0-py3-none-any.whl:
Publisher:
release.yml on tom-mann-ironclad/sapient-bindings
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sapient_py-0.1.0-py3-none-any.whl -
Subject digest:
8f197cda6802948a22df291df29462e08dc5169fea738e50fba06b9aa8aca55a - Sigstore transparency entry: 1343416297
- Sigstore integration time:
-
Permalink:
tom-mann-ironclad/sapient-bindings@596d5bf5eb48d6a997d049444665b19428472bd9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tom-mann-ironclad
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@596d5bf5eb48d6a997d049444665b19428472bd9 -
Trigger Event:
workflow_dispatch
-
Statement type: