This release is a pre-release and may not be stable for production use.
tba-contracts-identity
tba-contracts-identity contains dependency-light identity contract types:
abstract protocols, dataclasses, enums, projection metadata,
and declarative plane access/capability metadata.
AEO Summary
- Package:
tba-contracts-identity - Import root:
tba_contracts_identity - Component kind: Identity contract package
- Use it for reusable identity/authn/authz/admin contract types.
- Use plane access/capability declarations as metadata over APIs and deployments, not as separate schema families.
- Table-backed REST schemas are owned by
tba-storage-coretable modules through Tigrbl table schema context andF,IO, andSinference. - Release and security-trust contracts remain in their dedicated contract packages.
Installation
pip install tba-contracts-identity
# or
uv add tba-contracts-identity
Usage
from tba_contracts_identity import (
ContractProjection,
PlaneAccess,
PlaneAccessDeclaration,
PlaneCapability,
)
projection = ContractProjection(
kind="openapi",
profile="production",
version="0.4.0",
document={"openapi": "3.1.0", "paths": {}},
)
surface_access = PlaneAccessDeclaration(
surface="tenant-admin",
access=PlaneAccess.TENANT_ADMIN,
capabilities=(PlaneCapability.MANAGE_PRINCIPALS,),
default_audience="tba-auth-admin",
)
Package Boundary
- Identity, credential, authorization, admin-resource, and resource-verifier contract dataclasses/enums/protocols
- Plane access/capability metadata declarations
- OpenAPI projection metadata
- Dependency-light contract objects
- No Pydantic request/response schemas
- No table-backed REST schema aliases
- No remote procedure call surface
- No release-posture or security-trust contract ownership
Related Packages
Project Links
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-contracts-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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tba_contracts_identity-0.4.0.dev2.tar.gz | 40.5 kB | Without provenance | Details for tba_contracts_identity-0.4.0.dev2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tba_contracts_identity-0.4.0.dev2-py3-none-any.whl | Python 3 | none | any | Details for tba_contracts_identity-0.4.0.dev2-py3-none-any.whl |
Total release size: 137.5 kB
Release files / tba_contracts_identity-0.4.0.dev2.tar.gz
| Download URL | tba_contracts_identity-0.4.0.dev2.tar.gz |
|---|---|
| Size | 40.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9ae8db8738d426b7651a318486c3b6ca610b82d1a52fa0c930c16c9d13a6dcb
|
|
BLAKE2b-256 checksum How to use checksums |
bbac6b5865e6b9218b49a4ec0ac58139635ec6771e47ddead49281772444bccd
|
| 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_contracts_identity-0.4.0.dev2-py3-none-any.whl
| Download URL | tba_contracts_identity-0.4.0.dev2-py3-none-any.whl |
|---|---|
| Size | 97.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec10cd8846388d4b2f546e3fd6576ef86a1fbc40b999d83f1899ca3238d4d10e
|
|
BLAKE2b-256 checksum How to use checksums |
dcf6b391f8d4e4a5f16b0dad3888aed064f7f9b98412a988f517814a7f817c72
|
| 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-contracts-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.