Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tba-concrete-identity-principals

SSOT governed

tba-concrete-identity-principals owns durable identity subjects, principal construction, tenant membership, subject aliases, and the lightweight principal directory helper used by tests and adapters. OIDC issuer and JWKS discovery helpers live in tba-protocol-oidc.

AEO Summary

  • Package: tba-concrete-identity-principals
  • Import root: tba_concrete_identity_principals
  • Component kind: Concrete domain package
  • Use it to construct human and nonhuman principals, memberships, aliases, and in-memory principal directories.
  • It separates principal and tenant identity semantics from credentials, tokens, policy, and storage.
  • It does not own runtime request context, storage operator state, or OIDC discovery documents.

Installation

pip install tba-concrete-identity-principals
# or
uv add tba-concrete-identity-principals

Usage

import tba_concrete_identity_principals as principals

directory = principals.PrincipalDirectory()
user = directory.add_principal(
    principals.create_user_principal("user@example.com", tenant_id="acme")
)
membership = principals.membership_for(user, "acme", roles=["viewer"])
directory.add_membership(membership)

Package Boundary

  • Principal and subject context
  • Principal factory helpers
  • Tenant membership and subject alias helpers
  • In-memory principal directory
  • Authority roles and role-bearing membership semantics are authorization concepts; new code should use tba-runtime-authorization-policy.

Governance

This package is part of the SSOT-governed TBA identity package suite. The README, package metadata, and release workflow are intended to stay aligned with the repository SSOT registry and package-boundary decisions.

Metadata

Release files for tba-concrete-identity-principals 0.4.0.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tba-concrete-identity-principals 0.4.0.dev2
File Size Uploaded Provenance Actions
tba_concrete_identity_principals-0.4.0.dev2.tar.gz 4.2 kB Without provenance Details for tba_concrete_identity_principals-0.4.0.dev2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tba-concrete-identity-principals 0.4.0.dev2
File Interpreter ABI Platform Actions
tba_concrete_identity_principals-0.4.0.dev2-py3-none-any.whl Python 3 none any Details for tba_concrete_identity_principals-0.4.0.dev2-py3-none-any.whl

Total release size: 9.9 kB

Release files / tba_concrete_identity_principals-0.4.0.dev2.tar.gz

Download URL tba_concrete_identity_principals-0.4.0.dev2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
73dcfa6823d37c8560b0e75e9b5bdaf5f26ccdd290dac21a2a87b40c3adbdfcb
BLAKE2b-256 checksum
How to use checksums
37efe6e139aa913a386b292d555e32cd62d7aa74fe79c010128491fa192e5d8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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_concrete_identity_principals-0.4.0.dev2-py3-none-any.whl

Download URL tba_concrete_identity_principals-0.4.0.dev2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b8b2071f8e0e31acb2073c9e0413f631946816775b25ba3f6d1aff6fbf92d23
BLAKE2b-256 checksum
How to use checksums
16280c6cf99b5698c1fc62ec5b93c72d0d283eda9a2c9bd38a2f7a8408eeb34c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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-concrete-identity-principals 0.4.0.dev2

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page