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

Uploaded Python 3

File details

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

File metadata

  • Download URL: litedbmodel_runtime-2.0.2.tar.gz
  • Upload date:
  • Size: 38.1 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.2.tar.gz
Algorithm Hash digest
SHA256 410dad6d47cf150e3cfb2e80b263b4badb4a772adf49c128a18edae7f7d43116
MD5 568ddb6ce7f355da38cb644922c165b0
BLAKE2b-256 67c247bf376746a6d52f8f05c9644710ca6cdd5f451f1025deb2eab2aa56c8f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for litedbmodel_runtime-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d549b903ed9294942a82fdab27af99fe31cd1f622ac124eb59a71eeedc1c0ac8
MD5 bae8123e99a44d26ab0e7ebb098aea6a
BLAKE2b-256 63804f4c24f5d7d5e8e413311984b597f9a0fe8b3a7a57f1c9a0f8854a6bb2c1

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