No project description provided
Project description
BInaryhelpER
A small python package to make binary serialization faster and easier.
modules:
- EndianedBinaryIO - for parsing and writing streamed binary data.
- ComplexStreams (TODO)
- BlockStream - for more performant handling of e.g. streams consisting of compressed and/or encrypted blocks
- MultiStream - for handling concatent streams as single streams
- struct (TODO) - extrend struct module with additional features
- c - null terminated string
- v - varint
- () - tuples (groups)
- x*y - read an x, then read x times y (e.g. i*s for strings with their lengths described with a prior int)
- serialization - annotation based class serialization
Serialization
BinarySerializable
Annotation Types
- ints:
- u8
- u16
- u32
- u64
- i8
- i16
- i32
- i64
- floats:
- f16
- f32
- f64
- strings:
- cstr (null terminated string)
- str (default delimited length)
- str_d[T] (delimited length of type T)
- lists:
- list[S] (default delimited length)
- list_d[S, T] (delimited length of type T)
- tuples:
- tuple[T1, T2, ...]
- objects
- class (has to inherit from BinarySerializible as well)
- bytes:
- bytes (default delimited length)
- bytes_d[T] (delimited length of type T)
Example
class MyStruct(BinarySerializable):
field1: u8
field2: cstr
field3: str_d[u16]
field4: list_d[f32, u8]
field5: list_d[list_d[u16, u8], u8]
field6: tuple[u8, u16]
class MyStruct2(BinarySerializable):
field1: MyStruct
field2: list_d["MyStruct2", u8]
class MyStruct3(BinarySerializable[u32]):
field: str
field2: list[tuple[f16, f16, f16]]
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 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 bier-0.0.1.tar.gz.
File metadata
- Download URL: bier-0.0.1.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ef05ff041100e6cd5e128c9fc9dceb05a985777b2f853907d534d7ab29663e2
|
|
| MD5 |
7118090699683d2f417e27e1bf398d1e
|
|
| BLAKE2b-256 |
bf1c54a04a1bab4490c77264bb03328e5f81a686ec049f793421d794b3de7a00
|
Provenance
The following attestation bundles were made for bier-0.0.1.tar.gz:
Publisher:
release.yml on K0lb3/BInaryhelpER
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bier-0.0.1.tar.gz -
Subject digest:
2ef05ff041100e6cd5e128c9fc9dceb05a985777b2f853907d534d7ab29663e2 - Sigstore transparency entry: 605347371
- Sigstore integration time:
-
Permalink:
K0lb3/BInaryhelpER@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/K0lb3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bier-0.0.1-cp313-cp313-win_arm64.whl.
File metadata
- Download URL: bier-0.0.1-cp313-cp313-win_arm64.whl
- Upload date:
- Size: 57.3 kB
- Tags: CPython 3.13, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efd3b80265f330d2cf71ff67b97d4297845bd583d134dd651d03301aa05a4434
|
|
| MD5 |
6e478a6f49335f7a3ee2e442ef8ce126
|
|
| BLAKE2b-256 |
f158263be05caf51d66b1660e2344f751eb80cf4905e92d2983ddfc5034f726f
|
Provenance
The following attestation bundles were made for bier-0.0.1-cp313-cp313-win_arm64.whl:
Publisher:
release.yml on K0lb3/BInaryhelpER
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bier-0.0.1-cp313-cp313-win_arm64.whl -
Subject digest:
efd3b80265f330d2cf71ff67b97d4297845bd583d134dd651d03301aa05a4434 - Sigstore transparency entry: 605347391
- Sigstore integration time:
-
Permalink:
K0lb3/BInaryhelpER@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/K0lb3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bier-0.0.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: bier-0.0.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 62.4 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d59484ee5db4ec81d2f8b7e488f7135d82030780516a0e6ce63cff9a73b9892
|
|
| MD5 |
c716c72b963f19960de64c4355535aed
|
|
| BLAKE2b-256 |
4b235909e5975f190ff38d6775d0be987cdc2ff2b241bb6f791d7e59b9a08e54
|
Provenance
The following attestation bundles were made for bier-0.0.1-cp313-cp313-win_amd64.whl:
Publisher:
release.yml on K0lb3/BInaryhelpER
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bier-0.0.1-cp313-cp313-win_amd64.whl -
Subject digest:
5d59484ee5db4ec81d2f8b7e488f7135d82030780516a0e6ce63cff9a73b9892 - Sigstore transparency entry: 605347416
- Sigstore integration time:
-
Permalink:
K0lb3/BInaryhelpER@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/K0lb3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bier-0.0.1-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: bier-0.0.1-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c224b32f420733b8ff4fe5c0f071718f2412e4fdeb2305ecf6a0c4ec184f181b
|
|
| MD5 |
80875e7061c2ee291ee1ffab982cb899
|
|
| BLAKE2b-256 |
2cdb6166b9b8c0a60217a828fcc737a498db9c7a2406b27c82f8700fc18c11eb
|
Provenance
The following attestation bundles were made for bier-0.0.1-cp313-cp313-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on K0lb3/BInaryhelpER
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bier-0.0.1-cp313-cp313-musllinux_1_2_x86_64.whl -
Subject digest:
c224b32f420733b8ff4fe5c0f071718f2412e4fdeb2305ecf6a0c4ec184f181b - Sigstore transparency entry: 605347407
- Sigstore integration time:
-
Permalink:
K0lb3/BInaryhelpER@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/K0lb3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bier-0.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: bier-0.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 265.8 kB
- Tags: CPython 3.13, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8c06b28147ca1bbffddb97abfc814cbd81a8bedb70fd77cf55e601ff125d4aa
|
|
| MD5 |
9f0a39dd94df1f9e579712d47fe9f1f7
|
|
| BLAKE2b-256 |
4eeb2c7577bd71bddeca838be7e7ed31dd8e7ed6cf794cd1a3fc234fb7bc03a6
|
Provenance
The following attestation bundles were made for bier-0.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
release.yml on K0lb3/BInaryhelpER
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bier-0.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
d8c06b28147ca1bbffddb97abfc814cbd81a8bedb70fd77cf55e601ff125d4aa - Sigstore transparency entry: 605347380
- Sigstore integration time:
-
Permalink:
K0lb3/BInaryhelpER@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/K0lb3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bier-0.0.1-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: bier-0.0.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 60.7 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e0faa29545fda90f25f7588b53035059eb89961139d44a115781b50158839e
|
|
| MD5 |
d99739b4b53fe66a97c6afeba28494ab
|
|
| BLAKE2b-256 |
1ecf1c1dc3647dc7fe77b79716458e3bd49b6aac1a5601aec65660eb97216b30
|
Provenance
The following attestation bundles were made for bier-0.0.1-cp313-cp313-macosx_11_0_arm64.whl:
Publisher:
release.yml on K0lb3/BInaryhelpER
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bier-0.0.1-cp313-cp313-macosx_11_0_arm64.whl -
Subject digest:
f6e0faa29545fda90f25f7588b53035059eb89961139d44a115781b50158839e - Sigstore transparency entry: 605347401
- Sigstore integration time:
-
Permalink:
K0lb3/BInaryhelpER@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/K0lb3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bier-0.0.1-cp313-cp313-macosx_10_13_x86_64.whl.
File metadata
- Download URL: bier-0.0.1-cp313-cp313-macosx_10_13_x86_64.whl
- Upload date:
- Size: 61.5 kB
- Tags: CPython 3.13, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cc6dc78aa36c42fdac2910cb75f3490c503172c7da7a34934aa6b4d666e77c3
|
|
| MD5 |
982a179ff142ce91a403040a025f4263
|
|
| BLAKE2b-256 |
cfd595dddcaaa431a9845c1b7cff88414cf1393cf381c009a0d3c0e802a1457a
|
Provenance
The following attestation bundles were made for bier-0.0.1-cp313-cp313-macosx_10_13_x86_64.whl:
Publisher:
release.yml on K0lb3/BInaryhelpER
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bier-0.0.1-cp313-cp313-macosx_10_13_x86_64.whl -
Subject digest:
0cc6dc78aa36c42fdac2910cb75f3490c503172c7da7a34934aa6b4d666e77c3 - Sigstore transparency entry: 605347419
- Sigstore integration time:
-
Permalink:
K0lb3/BInaryhelpER@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/K0lb3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b6ea0a65fb0bcc14a31c08620af0425af1840c36 -
Trigger Event:
workflow_dispatch
-
Statement type: