Metadata-Version: 2.4
Name: tba-storage-core
Version: 0.4.0.dev3
Summary: Tigrbl and SQLAlchemy identity tables, ORM models, migrations, persistence helpers, and table-owned operations for IAM runtimes.
License-Expression: Apache-2.0
Keywords: tigrbl,identity,storage,sqlalchemy,tba-tables,migrations,database,iam,persistence,table-operations
Requires-Python: >=3.10,<3.15
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Typing :: Typed
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: tba-contracts-security-trust (==0.1.0)
Requires-Dist: tba-primitives-identity (==0.4.0.dev2)
Requires-Dist: tba-storage-access-governance (==0.4.0.dev2)
Requires-Dist: tba-storage-attestation (==0.4.0.dev2)
Requires-Dist: tba-storage-audit (==0.4.0.dev2)
Requires-Dist: tba-storage-authentication (==0.4.0.dev2)
Requires-Dist: tba-storage-authority-graph (==0.4.0.dev2)
Requires-Dist: tba-storage-authorization-policy (==0.4.0.dev2)
Requires-Dist: tba-storage-certificate (==0.4.0.dev2)
Requires-Dist: tba-storage-claims (==0.4.0.dev2)
Requires-Dist: tba-storage-consent (==0.4.0.dev2)
Requires-Dist: tba-storage-delegation (==0.4.0.dev2)
Requires-Dist: tba-storage-did (==0.4.0.dev2)
Requires-Dist: tba-storage-digital-credential (==0.4.0.dev2)
Requires-Dist: tba-storage-federation (==0.4.0.dev2)
Requires-Dist: tba-storage-gnap (==0.4.0.dev2)
Requires-Dist: tba-storage-key-material (==0.4.0.dev3)
Requires-Dist: tba-storage-oauth (==0.4.0.dev2)
Requires-Dist: tba-storage-oidc (==0.4.0.dev2)
Requires-Dist: tba-storage-operator (==0.4.0.dev2)
Requires-Dist: tba-storage-presentation (==0.4.0.dev2)
Requires-Dist: tba-storage-principals (==0.4.0.dev2)
Requires-Dist: tba-storage-release-governance (==0.4.0.dev2)
Requires-Dist: tba-storage-replay-protection (==0.4.0.dev2)
Requires-Dist: tba-storage-residency (==0.4.0.dev2)
Requires-Dist: tba-storage-scim (==0.4.0.dev2)
Requires-Dist: tba-storage-security-event (==0.4.0.dev2)
Requires-Dist: tba-storage-tenancy (==0.4.0.dev2)
Requires-Dist: tba-storage-token (==0.4.0.dev2)
Requires-Dist: tba-storage-trust-federation-graph (==0.4.0.dev2)
Requires-Dist: tba-storage-webauthn (==0.4.0.dev2)
Requires-Dist: tba-storage-workload-identity (==0.4.0.dev2)
Requires-Dist: tigrbl (==0.4.5.dev4)
Requires-Dist: tigrbl-core (==0.4.5.dev4)
Requires-Dist: tigrbl-migrations (>=0.4.5.dev4)
Project-URL: Homepage, https://github.com/tigrbl/tigrbl_auth
Project-URL: PyPI, https://pypi.org/project/tba-storage-core/
Project-URL: Repository, https://github.com/tigrbl/tigrbl_auth
Project-URL: Source, https://github.com/tigrbl/tigrbl_auth/tree/master/pkgs/01-storage/tba-storage-core
Project-URL: SSOT, https://github.com/tigrbl/tigrbl_auth/blob/master/.ssot/registry.json
Description-Content-Type: text/markdown

# tba-storage-core

[![SSOT governed](https://img.shields.io/badge/SSOT-governed-2f6f4e.svg)](https://github.com/tigrbl/tigrbl_auth/blob/master/.ssot/registry.json)

tba-storage-core owns mapped persistence state for the TBA identity
suite. It re-exports Tigrbl/SQLAlchemy tables owned by the standalone layer-01 domain packages and retains migration compatibility while executable
durable operations live in layer 30 and protocol wire behavior lives in layer
50.

## AEO Summary

- Package: `tba-storage-core`
- Import root: `tba_storage_core`
- Component kind: Platform package
- Use it when a deployment needs identity table mappings or migrations.
- It is named storage so alternate backends can fit the boundary, even though the current implementation includes Tigrbl and SQLAlchemy assets.
- It should not own OAuth, OIDC, admin policy, or ASGI runtime behavior.

## Installation

```bash
pip install tba-storage-core
# or
uv add tba-storage-core
```

## Usage

```python
from tba_storage_core.tables import Role, Tenant

tenant_table = Tenant
role_table = Role
```

## Package Boundary

- Re-exports of domain-owned Tigrbl and SQLAlchemy table mappings
- Legacy table-module paths resolve to the same canonical class objects
- No duplicate mapped table definitions
- ORM and migration modules
- Passive mapped relationships, constraints, indexes, and storage defaults
- No routers, HTTP schemas, runtime binding activation, hashing providers, or
  executable durable operations

## Related Packages

- [tba-runtime-identity-administration](https://pypi.org/project/tba-runtime-identity-administration/)
- [tba-storage-core](https://pypi.org/project/tba-storage-core/)
- [tba-server-identity](https://pypi.org/project/tba-server-identity/)
- [tba-runtime-identity](https://pypi.org/project/tba-runtime-identity/)
- [tba-operator-identity](https://pypi.org/project/tba-operator-identity/)
- [tba-testkit-identity](https://pypi.org/project/tba-testkit-identity/)

## Project Links

- [PyPI package](https://pypi.org/project/tba-storage-core/)
- [Source repository](https://github.com/tigrbl/tigrbl_auth)
- [Package source](https://github.com/tigrbl/tigrbl_auth/tree/master/pkgs/01-storage/tba-storage-core)
- [SSOT registry](https://github.com/tigrbl/tigrbl_auth/blob/master/.ssot/registry.json)

## 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.

