Metadata-Version: 2.4
Name: continuum-local
Version: 0.1.0
Summary: Local, no-backend resolver for Continuum demos
Author: Continuum
License: Apache License
        Version 2.0, January 2004
        http://www.apache.org/licenses/
        
        This package is licensed under the Apache License, Version 2.0.
        See the repository root `LICENSE` for the full text.
        
        
Project-URL: Homepage, https://getcontinuum.ai
Project-URL: Documentation, https://docs.getcontinuum.ai
Project-URL: Repository, https://github.com/get-continuum/continuum
Project-URL: Issues, https://github.com/get-continuum/continuum/issues
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: pyyaml>=6.0.0
Dynamic: license-file

# Continuum Local (Python)

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

## Install

```bash
pip install continuum-local
```

## CLI

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

## Library

```python
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"}))
```

