Skip to main content

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.

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.1.tar.gz (37.5 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.1-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file litedbmodel_runtime-2.0.1.tar.gz.

File metadata

  • Download URL: litedbmodel_runtime-2.0.1.tar.gz
  • Upload date:
  • Size: 37.5 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.1.tar.gz
Algorithm Hash digest
SHA256 73c19616fd2f6ec32d98d74c369d830d7b6cf53e544868f5a0d0ba7e39b3d045
MD5 971586769807c93230560d1a3dc4565b
BLAKE2b-256 3fd0302a8afd64f9788bb618f2c32b6e3c4c260daae0d82956d653f960cb7a3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for litedbmodel_runtime-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89fafdb8e44b5ab89acf13e609a1f21f212d7b17e24b36d196fd1ee1bacab740
MD5 3ffe0fdca61c2ea61340d0c29b71b614
BLAKE2b-256 2246060b840b22ae5a390ded37a819b738842ecc9ca3cfff3200472ba93dec66

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