Skip to main content

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-contractsconsumed 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

litedbmodel_runtime-2.0.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

litedbmodel_runtime-2.0.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

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

Hashes for litedbmodel_runtime-2.0.0.tar.gz
Algorithm Hash digest
SHA256 39a5490a7cc08d6c3ca68a61d3ed9aed3b87c0be1ea32c96df000db7564a36fa
MD5 0a475f3802b2bd3a927c7fd52784f87f
BLAKE2b-256 acd1f697f41c3bf4c394f9b0f82b79bafab8a947a832f364632fb9f1f1a05b3a

See more details on using hashes here.

File details

Details for the file litedbmodel_runtime-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for litedbmodel_runtime-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96ff196f21c8823f39e531dc369af7412776683a0d6e85f82406d9f289890101
MD5 442a208721fa6265e9b04204abe709a6
BLAKE2b-256 5b898a3459584fc9e3f79fa38e03fa28981598ad6e892568e762e43e3875436a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page