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.1.0.tar.gz (39.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.1.0-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: litedbmodel_runtime-2.1.0.tar.gz
  • Upload date:
  • Size: 39.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.1.0.tar.gz
Algorithm Hash digest
SHA256 b9d3678dfd6ded8c70750a916a0bd1a52838af9cd0a3b7ff8ac2c1d75d7cb8f2
MD5 924d928f111ddb6b152bcb5ff588d327
BLAKE2b-256 a343962297cffb5f8b6faea48df0a3afce213fb2416c8dfd944332f3c2cf460d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for litedbmodel_runtime-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 931e9f1a85fdbdd9d0170dbbf91c1d111d2d3b76167c63fa89245c564bba9f60
MD5 47b2290d17f85d9987343bd53c848c42
BLAKE2b-256 40a6afeafc4021bd65b9dcb1cf0cf390d13656bf7fdf5a26a88eddde6d7b4b35

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