Metadata-Version: 2.4
Name: runtime-sdk
Version: 0.1.1
Summary: Runtime Python SDK and CLI
Project-URL: Repository, https://github.com/The-Money-Company-Limited/runtimevm
Project-URL: Issues, https://github.com/The-Money-Company-Limited/runtimevm/issues
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Environment :: Console
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.28.1

# runtime-sdk

Python SDK and CLI for Runtime.

## Install

```bash
uv tool install runtime-sdk
```

To upgrade an existing install:

```bash
uv tool upgrade runtime-sdk
```

## Configure

The CLI talks to `http://127.0.0.1:8080` by default. Override it with:

```bash
export RUNTIME_BASE_URL=https://runruntime.dev
```

Or pass `--base-url` per command.

## Usage

```bash
runtime signup you@example.com --name "Your Name"
runtime verify 123456
runtime whoami
runtime logout
```

## Python

```python
from runtime_sdk import RuntimeClient

client = RuntimeClient(base_url="https://runruntime.dev")
result = client.signup("you@example.com", "Your Name")
print(result["flow_id"])
```

## Development

Run the SDK tests through the backend project environment:

```bash
uv run python -m unittest scripts.tests.test_runtime_sdk
```
