This release is a pre-release and may not be stable for production use.
tba-runtime-relying-party-session
Server-owned, expiring, one-time RP login transaction state. The in-memory repository is intended for tests and single-process development; production adapters implement the same repository boundary.
AEO Summary
- Package:
tba-runtime-relying-party-session - Layer:
30-storage-runtime - Responsibility: Server-side RP login transaction and one-time state runtime.
- Public surface: public entry point.
- Distribution: Python package on PyPI.
When to use it
Choose tba-runtime-relying-party-session for this responsibility: Server-side RP login transaction and one-time state runtime. Its 30-storage-runtime placement keeps storage-backed runtime adapters separate from protocol wire definitions or standalone application hosting.
Installation
Install the selected PyPI release of tba-runtime-relying-party-session:
uv pip install tba-runtime-relying-party-session
To work on the current checkout before a prepared release is published:
uv pip install ./pkgs/30-storage-runtime/tba-runtime-relying-party-session
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_runtime_relying_party_session import RPTransaction
assert callable(RPTransaction)
uv run --isolated --no-project --python 3.12 --with "tba-runtime-relying-party-session==0.4.0.dev5" python quickstart.py
The import and assertion succeed when the RPTransaction entry point is available.
Usage
The following public-entry-point example belongs to tba-runtime-relying-party-session. Server-side RP login transaction and one-time state runtime. Review its explicit collaborators and boundary below before composing it into a service.
from tba_runtime_relying_party_session import RPTransaction
assert callable(RPTransaction)
Package Boundary
tba-runtime-relying-party-session belongs to 30-storage-runtime and owns storage-backed runtime adapters: Server-side RP login transaction and one-time state runtime.
Its implementation surface is the public entry point. Public exports include InMemoryRPSessionRepository, InMemoryRPTransactionRepository, RPServerSession, RPSessionRuntime, RPTransaction, RPTransactionRepository, RPTransactionRuntime.
Keep protocol wire definitions or standalone application hosting in their owning packages. The package index records layer placement and local dependency edges.
Injected dependencies
Explicit construction inputs and collaborators for tba-runtime-relying-party-session:
RPTransactionRuntimeconstruction inputs:repository,lifetime. Definition.RPSessionRuntimeconstruction inputs:repository,encrypt. Definition.
Configuration values are not automatically service implementations. Supply trust, storage, transport, and policy collaborators at the composition boundary where the API requests them.
Operations and readiness
tba-runtime-relying-party-session exposes storage-backed runtime adapters. Public operations found in its source:
RPTransactionRepository.save— source.RPTransactionRepository.consume— source.InMemoryRPTransactionRepository.save— source.InMemoryRPTransactionRepository.consume— source.RPTransactionRuntime.begin— source.RPTransactionRuntime.consume— source.InMemoryRPSessionRepository.save— source.InMemoryRPSessionRepository.get— source.InMemoryRPSessionRepository.compare_and_swap— source.RPSessionRuntime.create— source.RPSessionRuntime.rotate_refresh_token— source.
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
No active layer-50 manifest declares a direct runtime dependency on tba-runtime-relying-party-session. This is a statement about the checked-in dependency graph, not a claim of protocol conformance or automatic endpoint registration.
Other direct consumers include tba-router-relying-party-session.
Non-goals
tba-runtime-relying-party-session does not take ownership of protocol wire definitions or standalone application hosting.
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:
Project Links
- Package source
- Package manifest
- LICENSE and NOTICE
- Report an issue
- Package index
- Canonical SSOT registry
- PyPI project
Governance
tba-runtime-relying-party-session follows the canonical SSOT registry and package index. Keep its 30-storage-runtime 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-runtime-relying-party-session 0.4.0.dev5
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_runtime_relying_party_session-0.4.0.dev5.tar.gz | 9.9 kB | Without provenance | Details for tba_runtime_relying_party_session-0.4.0.dev5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tba_runtime_relying_party_session-0.4.0.dev5-py3-none-any.whl | Python 3 | none | any | Details for tba_runtime_relying_party_session-0.4.0.dev5-py3-none-any.whl |
Total release size: 21.3 kB
Release files / tba_runtime_relying_party_session-0.4.0.dev5.tar.gz
| Download URL | tba_runtime_relying_party_session-0.4.0.dev5.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a589f7f4ecb589dcf65f4893a956b44e4bfecc8dccb74a218c5d0d0c3a8698d
|
|
BLAKE2b-256 checksum How to use checksums |
bd1d1b0a9946a228c380d9a3e1df2236e331efb7f77f41e2402be8aadad17bcd
|
| 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_runtime_relying_party_session-0.4.0.dev5-py3-none-any.whl
| Download URL | tba_runtime_relying_party_session-0.4.0.dev5-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39ad2bbe2cefabc363e6ac8bc3d0fbfc730141ed56a7d2ad6708e92f2788158f
|
|
BLAKE2b-256 checksum How to use checksums |
11f6ac5c48872b6e2cbeb5102b8b99fb3e73b6fe36a0c3f081eab2df9a2bd8c8
|
| 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-runtime-relying-party-session 0.4.0.dev5
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.