Thin multi-language runtime for litedbmodel v2 SCP §8 bundles (Python port). Interprets the published SqlBundle (sql + fragment tree + Expression-IR param slots + transaction plan, dialect-tagged) and executes it against a SQL driver — semantics-identical to the TS reference. Delegates Expression-IR evaluation to behavior-contracts.
Project description
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 — 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file litedbmodel_runtime-2.0.0.tar.gz.
File metadata
- Download URL: litedbmodel_runtime-2.0.0.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39a5490a7cc08d6c3ca68a61d3ed9aed3b87c0be1ea32c96df000db7564a36fa
|
|
| MD5 |
0a475f3802b2bd3a927c7fd52784f87f
|
|
| BLAKE2b-256 |
acd1f697f41c3bf4c394f9b0f82b79bafab8a947a832f364632fb9f1f1a05b3a
|
File details
Details for the file litedbmodel_runtime-2.0.0-py3-none-any.whl.
File metadata
- Download URL: litedbmodel_runtime-2.0.0-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96ff196f21c8823f39e531dc369af7412776683a0d6e85f82406d9f289890101
|
|
| MD5 |
442a208721fa6265e9b04204abe709a6
|
|
| BLAKE2b-256 |
5b898a3459584fc9e3f79fa38e03fa28981598ad6e892568e762e43e3875436a
|