Metadata-Version: 2.4
Name: kariz-sdk
Version: 0.2.1
Summary: Kariz local dev SDK — run code-node steps from your terminal
License: MIT
Keywords: kariz,sdk,workflow,script
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: click>=8.0
Requires-Dist: kariz-runtime-contract>=0.1.0

# kariz-sdk

Kariz local dev SDK — run code-node steps from your terminal.

## Install

```bash
pip install kariz-sdk
```

## Usage

```bash
# Run the repo entrypoint
kariz run

# Run a specific file
kariz run utils.py

# Run an inline snippet
kariz run "return context.FetchOrders"

# Pass inline input
kariz run --input '{"limit": 5}'

# Bind to a past execution for context.*
kariz run --execution-id "uuid-from-monitoring-panel"
```

## Config

Create `.kariz/settings.local.toml` in your project root:

```toml
[kariz]
api_url  = "https://api.trykariz.com"
api_key  = "kz_..."
repo_id  = 42

[kariz.session.user]
user_id           = "user-uuid"
client_user_email = "user@company.com"
client_id         = "client-uuid"
```
