This release is a pre-release and may not be stable for production use.
tba-contracts-replay
Owns replay keys, atomic reservations, single-use nonces, and replay-check ports.
AEO Summary
- Package:
tba-contracts-replay - Layer:
02-contracts - Responsibility: Protocol-neutral replay protection contracts.
- Public surface: public entry point.
- Distribution: Python package on PyPI.
When to use it
Choose tba-contracts-replay for this responsibility: Protocol-neutral replay protection contracts. Its 02-contracts placement keeps shared types and structural ports separate from environment-specific service implementations or HTTP routing.
Installation
Install the selected PyPI release of tba-contracts-replay:
uv pip install tba-contracts-replay
To work on the current checkout before a prepared release is published:
uv pip install ./pkgs/02-contracts/tba-contracts-replay
Quick start
With uv available, save the example as quickstart.py. This isolated Python 3.12 command requires the selected version to be available on PyPI; Installation also documents the checkout workflow.
from tba_contracts_replay import ReplayKey
assert callable(ReplayKey)
uv run --isolated --no-project --python 3.12 --with "tba-contracts-replay==0.4.0.dev4" python quickstart.py
The import and assertion succeed when the ReplayKey entry point is available.
Usage
The following public-entry-point example belongs to tba-contracts-replay. Protocol-neutral replay protection contracts. Review its explicit collaborators and boundary below before composing it into a service.
from tba_contracts_replay import ReplayKey
assert callable(ReplayKey)
Package Boundary
tba-contracts-replay belongs to 02-contracts and owns shared types and structural ports: Protocol-neutral replay protection contracts.
Its implementation surface is the public entry point.
Keep environment-specific service implementations or HTTP routing in their owning packages. The package index records layer placement and local dependency edges.
Injected dependencies
The public entry point for tba-contracts-replay does not declare an explicit service-constructor or keyword-only factory hook in the inspected source. Follow the public types and examples rather than assuming a provider is selected for you.
Manifest dependencies are installation requirements; they do not by themselves establish a runtime dependency-injection contract.
Operations and readiness
tba-contracts-replay exposes shared types and structural ports. Inspect the public entry point for the exported types and composition surface.
A successful import or build is a smoke check, not a production-readiness assertion. Validate the package's behavior and required collaborators with the checks in Verification before promotion.
Protocol consumers
The following layer-50 manifests directly depend on tba-contracts-replay:
Other direct consumers include tba-app-backend-wpt-verifier, tba-bases-replay, tba-contracts-identity, tba-profile-workload-proof-wimse-wpt.
Non-goals
tba-contracts-replay does not take ownership of environment-specific service implementations or HTTP routing.
Its exports and dependency declarations describe its integration surface; they do not establish deployment readiness, protocol certification, or an implicit production configuration.
Related Packages
Direct downstream consumers:
- tba-app-backend-wpt-verifier
- tba-bases-replay
- tba-contracts-identity
- tba-profile-workload-proof-wimse-wpt
- tba-protocol-ucan
- tba-protocol-zcap
Project Links
- Package source
- Package manifest
- LICENSE and NOTICE
- Report an issue
- Package index
- Canonical SSOT registry
- PyPI project
Governance
tba-contracts-replay follows the canonical SSOT registry and package index. Keep its 02-contracts ownership, public imports, declared dependencies, examples, and release metadata aligned.
Changes must pass the README standards gate, package checks, and the evidence requirements relevant to the changed behavior. Update SSOT through the repository's CLI workflow when changing governed claims or boundaries.
Verification
A prior published-version quick start informed this example. A registry badge is not evidence that this checkout's selected version or example has been verified against PyPI. See the public package entry point.
Metadata
Release files for tba-contracts-replay 0.4.0.dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tba_contracts_replay-0.4.0.dev4.tar.gz | 8.3 kB | Without provenance | Details for tba_contracts_replay-0.4.0.dev4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tba_contracts_replay-0.4.0.dev4-py3-none-any.whl | Python 3 | none | any | Details for tba_contracts_replay-0.4.0.dev4-py3-none-any.whl |
Total release size: 18.1 kB
Release files / tba_contracts_replay-0.4.0.dev4.tar.gz
| Download URL | tba_contracts_replay-0.4.0.dev4.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e4516b1921a1278fe5c7b3332d8cbafeb822b3472da7dc6a8a59f647152e123
|
|
BLAKE2b-256 checksum How to use checksums |
19e28b18aa28815e200db93a07b8c195d752e9c43f04f02160bea6518c72b216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tba_contracts_replay-0.4.0.dev4-py3-none-any.whl
| Download URL | tba_contracts_replay-0.4.0.dev4-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab98ae364e8917e10c54ec56676beaecffa442131ad893218add3cc0542c84cb
|
|
BLAKE2b-256 checksum How to use checksums |
a1869dc6238374f37e97edd70c3792e25203f9b9bc2c262e2b0433e3ab74fd5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tba-contracts-replay 0.4.0.dev4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.