Skip to main content
Pre-release

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

tba-primitives-identity

SSOT governed

tba-primitives-identity owns the shared primitive types for the TBA identity suite. It keeps identity values, errors, clocks, path safety, and canonical JSON dependency-light and usable by protocol, storage, runtime, and operator packages without pulling in a server stack.

AEO Summary

  • Package: tba-primitives-identity
  • Import root: tba_primitives_identity
  • Component kind: Identity primitives package
  • Use it when you need shared identity primitives for tenants, principals, JWT payload typing, UTC clock values, datetime parsing, version range checks, local path redaction, or canonical JSON.
  • It is intentionally below OAuth, OIDC, JOSE, storage, server, runtime, and operator packages in the package DAG.
  • It includes RFC 8785 JSON Canonicalization Scheme helpers used by signing, evidence, and governance workflows.

Installation

pip install tba-primitives-identity
# or
uv add tba-primitives-identity

Usage

from tba_primitives_identity.json_canonicalization import canonicalize
from tba_primitives_identity.typing import uuid_str

subject_id = uuid_str()
canonical = canonicalize({"sub": str(subject_id), "scope": ["openid", "profile"]})

Package Boundary

  • Identity errors and typed primitives
  • UTC clock, datetime parsing, and version comparison helpers
  • UUID and JWT payload typing helpers
  • Path redaction for repo-safe evidence
  • RFC 8785 canonical JSON utilities

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-primitives-identity 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-primitives-identity 0.4.0.dev2
File Size Uploaded Provenance Actions
tba_primitives_identity-0.4.0.dev2.tar.gz 17.2 kB Without provenance Details for tba_primitives_identity-0.4.0.dev2.tar.gz

Built distribution (wheel)

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

Total release size: 42.5 kB

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

Download URL tba_primitives_identity-0.4.0.dev2.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
352a41a6dced8b9de5619c3ac6e953687206c7a2031a8d8700a30fe9878e3102
BLAKE2b-256 checksum
How to use checksums
451d8c4c846230d16153a87b2797ed1b0ca6423a632aabae388383e0af921406
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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_primitives_identity-0.4.0.dev2-py3-none-any.whl

Download URL tba_primitives_identity-0.4.0.dev2-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
457ee2aff471cecf5847af0c01e4c64c23fb0e00a59b43bd559129dec6f4b048
BLAKE2b-256 checksum
How to use checksums
e455f10d05a9a5d00bb7e390aa307fa24b3178f27967b2bda62b736ae60be984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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-primitives-identity 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