Skip to main content

Local, no-backend resolver for Continuum demos

Project description

Continuum Local (Python)

Local (no-backend) semantic resolver for demos/tests.

Install

pip install continuum-local

CLI

continuum-local resolve --semantics demo/semantics.yaml --query "revenue" --context '{"team":"marketing"}'

Library

from continuum_local import load_semantics, resolve, to_semantic_contract

doc = load_semantics("demo/semantics.yaml")
out = resolve(doc, query="revenue", context={"team": "marketing"})
print(out)

if out.get("status") == "resolved":
    print(to_semantic_contract(out, context={"team": "marketing"}))

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

continuum_local-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

continuum_local-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file continuum_local-0.1.0.tar.gz.

File metadata

  • Download URL: continuum_local-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for continuum_local-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cf8c97f2fa4ad02ab60d78f9d9d7b12f350791f3050c95eb54a416881e27881
MD5 98638640507f2ab24b7d70d6060cbec7
BLAKE2b-256 af870a1a44ab1ac0dd6f91575909f18edf8b2f2354717e8075c444d0115c177b

See more details on using hashes here.

Provenance

The following attestation bundles were made for continuum_local-0.1.0.tar.gz:

Publisher: release-pypi.yml on get-continuum/continuum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file continuum_local-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for continuum_local-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbfcbc86b8d9c698973f3cec893f57e7b1c66b644313718b4ae2d35e5851b264
MD5 5f7b9f47d4a48fee2509e0575ba80fa3
BLAKE2b-256 a6d4f81cc6c250474137ec4e22db68d6d162f9eeefd55722e82ba5184e162084

See more details on using hashes here.

Provenance

The following attestation bundles were made for continuum_local-0.1.0-py3-none-any.whl:

Publisher: release-pypi.yml on get-continuum/continuum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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