This release is a pre-release and may not be stable for production use.
band-sdk-core
Shared Rust core for the Band SDK stack, exposed to Python via PyO3: a message claims registry, a retry tracker, and a participant tracker, plus an optional tracing bridge. See the repo README for the full workspace layout and how this binding fits alongside the Rust crates and the Node binding.
pip install --pre band-sdk-core # currently pre-release only, see Versioning below
Usage
import band_sdk_core as core
registry = core.MessageClaimRegistry(max_completed=500)
with registry.claim("room-1", "msg-1") as acquired:
if acquired:
... # handle the message; released automatically on exit, even on exception
retry = core.MessageRetryTracker(max_retries=3)
attempt, exceeded = retry.record_attempt("msg-1")
participants = core.ParticipantTracker("room-1")
participants.add(core.TrackedParticipant(id="user-1", name="Alice"))
Optional tracing bridge (RUST_LOG-filtered, defaults to info):
with core.Tracing():
...
Versioning
This package is currently shipping as an ongoing pre-release stream
(X.Y.Z.devN) — install with pip install --pre band-sdk-core or pin an exact
version. A stable release will follow once the API settles.
Ships py.typed and a .pyi stub for full type-checker support.
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 band_sdk_core-0.2.1.dev4.tar.gz.
File metadata
- Download URL: band_sdk_core-0.2.1.dev4.tar.gz
- Upload date:
- Size: 34.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abbbae7841d5401888905fc9e936f48a5de36dc88ba0e5479048951386db4d5f
|
|
| MD5 |
22ff274f2dd0e9d0cc72e3f5fca9abc0
|
|
| BLAKE2b-256 |
094da446602e9e40510e695ea412351cffc19ca12ea33b810384f484c46684ed
|
Provenance
The following attestation bundles were made for band_sdk_core-0.2.1.dev4.tar.gz:
Publisher:
band-publish.yml on band-ai/band-sdk-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
band_sdk_core-0.2.1.dev4.tar.gz -
Subject digest:
abbbae7841d5401888905fc9e936f48a5de36dc88ba0e5479048951386db4d5f - Sigstore transparency entry: 2359585296
- Sigstore integration time:
-
Permalink:
band-ai/band-sdk-core@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/band-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
band-publish.yml@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file band_sdk_core-0.2.1.dev4-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: band_sdk_core-0.2.1.dev4-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 561.1 kB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7140eca1982bfc9791b94af173761c9b484b930f2cd223acd517bc510f66f100
|
|
| MD5 |
dc956a52ef074f81899176d941e1f396
|
|
| BLAKE2b-256 |
8c8081d474e0e82c0208f3a7f652789f0c7c14aee76ca437425ce7c0a4b3cae4
|
Provenance
The following attestation bundles were made for band_sdk_core-0.2.1.dev4-cp311-abi3-win_amd64.whl:
Publisher:
band-publish.yml on band-ai/band-sdk-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
band_sdk_core-0.2.1.dev4-cp311-abi3-win_amd64.whl -
Subject digest:
7140eca1982bfc9791b94af173761c9b484b930f2cd223acd517bc510f66f100 - Sigstore transparency entry: 2359586158
- Sigstore integration time:
-
Permalink:
band-ai/band-sdk-core@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/band-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
band-publish.yml@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 758.7 kB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1faef5a142c0f0191096bc48184f433ee51a6da2f48b394b64091ed371bacde3
|
|
| MD5 |
e23d0254fd79fd535f3826f8132c1826
|
|
| BLAKE2b-256 |
bf9f7c58cc7b67421f076a7f1e69129a567ed0d3bd4ec64798c2adc5760c7e9b
|
Provenance
The following attestation bundles were made for band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
band-publish.yml on band-ai/band-sdk-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
1faef5a142c0f0191096bc48184f433ee51a6da2f48b394b64091ed371bacde3 - Sigstore transparency entry: 2359586237
- Sigstore integration time:
-
Permalink:
band-ai/band-sdk-core@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/band-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
band-publish.yml@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 754.4 kB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bbc3d5017b08fd648ad93dfe242eea671fc73e342d5c23870f487439131368e
|
|
| MD5 |
b9ea63c10de5aee0dc508be992b7cf80
|
|
| BLAKE2b-256 |
391e7278ff4d21328c4224e49c2ffb817624598536188d7e4dedb2e3d0d26e1d
|
Provenance
The following attestation bundles were made for band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
band-publish.yml on band-ai/band-sdk-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
band_sdk_core-0.2.1.dev4-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
4bbc3d5017b08fd648ad93dfe242eea671fc73e342d5c23870f487439131368e - Sigstore transparency entry: 2359585456
- Sigstore integration time:
-
Permalink:
band-ai/band-sdk-core@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/band-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
band-publish.yml@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 678.0 kB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8fe9e1d05b28ab7bd8ae3edda46701c0028611aae1d544aaa72741662b95c51
|
|
| MD5 |
f07f06f3e67b2f628970bb9bcb6d6d32
|
|
| BLAKE2b-256 |
af7d0f501c8770611267ee360584593afe6f0cc9aa553201e802cb8b65efa30f
|
Provenance
The following attestation bundles were made for band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
band-publish.yml on band-ai/band-sdk-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
a8fe9e1d05b28ab7bd8ae3edda46701c0028611aae1d544aaa72741662b95c51 - Sigstore transparency entry: 2359587678
- Sigstore integration time:
-
Permalink:
band-ai/band-sdk-core@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/band-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
band-publish.yml@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 686.3 kB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bd7e47ceec948537f615b2ef5320a4d6a4810458b861ada78b6d72e4ad1f7a4
|
|
| MD5 |
e21b773693f43ebb438d61aed6e74638
|
|
| BLAKE2b-256 |
7c82462c7ca64eb1570faab57b16692bf25a9fcf1f782d691680414a1d0ca12a
|
Provenance
The following attestation bundles were made for band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_10_12_x86_64.whl:
Publisher:
band-publish.yml on band-ai/band-sdk-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
band_sdk_core-0.2.1.dev4-cp311-abi3-macosx_10_12_x86_64.whl -
Subject digest:
0bd7e47ceec948537f615b2ef5320a4d6a4810458b861ada78b6d72e4ad1f7a4 - Sigstore transparency entry: 2359586742
- Sigstore integration time:
-
Permalink:
band-ai/band-sdk-core@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/band-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
band-publish.yml@4bc372b485aab978f3c2ec5ed407e84fed90f0b3 -
Trigger Event:
workflow_dispatch
-
Statement type: