Metadata-Version: 2.4
Name: litedbmodel-runtime
Version: 2.0.2
Summary: Thin multi-language runtime for litedbmodel v2 SCP makeSQL bundles (Python port). Executes the published static-makeSQL artifacts (a read ReadGraph = a bc surrogate ComponentGraphIR + per-node static statement templates, or a gate-first TransactionPlan) against a SQL driver — semantics-identical to the TS reference. Delegates the Expression-IR evaluation + map/Φ/wiring orchestration to behavior-contracts.
Author: foo-ogawa
License: MIT
Keywords: orm,sql,ir,runtime,conformance,litedbmodel
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: behavior-contracts==0.5.0
Provides-Extra: test
Requires-Dist: pytest>=7.0; extra == "test"
Provides-Extra: livedb
Requires-Dist: psycopg[binary]>=3.1; extra == "livedb"
Requires-Dist: pymysql>=1.1; extra == "livedb"

# litedbmodel-runtime (Python)

The Python leg of the litedbmodel v2 SCP multi-language runtime. Interprets the language-neutral
§8 published bundle (`SqlBundle`) and executes it against a DB-API SQL driver,
semantics-identical to the TS reference (`src/scp`).

**Status: WS7a scaffold.** The buildable package skeleton + the conformance runner entry point are
here; the runtime body (render / execute / transaction) is **WS7b**.

## behavior-contracts dependency

The runtime delegates the CLOSED Expression-IR evaluation to the shared common core
[`behavior-contracts`](https://pypi.org/project/behavior-contracts/) — **consumed from PyPI**
(`behavior-contracts==0.2.0`), exactly as the TS reference imports it from npm. No local path
dependency (the `check-no-local-deps` gate forbids `../`-escaping deps).

## Layout

```
python/
  pyproject.toml                       # PyPI package (litedbmodel-runtime), version-synced from package.json
  litedbmodel_runtime/
    __init__.py
    runtime.py                         # WS7b: the §8 bundle interpreter surface
    vectors_runner.py                  # conformance runner entry (WS7b body)
  tests/                               # WS7b runtime tests
```
