Metadata-Version: 2.4
Name: lumid-data-sdk
Version: 0.1.0
Summary: HTTP SDK for the lumid.data data plane (sync + async).
License-Expression: Apache-2.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.28.1
Requires-Dist: httpx-sse>=0.4.0
Requires-Dist: pydantic>=2.6.0
Dynamic: license-file

# lumid-data-sdk

HTTP SDK for the lumid.data data plane. Sync + async clients over the
unified URL — `db_*`, `storage_*`, `sql`, `agent_run`, `retrieve`,
`healthz`, `storage_stat`.

## Install

```bash
pip install lumid-data-sdk
```

## Usage

```python
from lumid_data.sdk import Client, AsyncClient

c = Client(base_url="http://localhost:9100", token=os.environ.get("LUMID_TOKEN"))
rows = c.sql("SELECT 1").rows
c.storage_put("photos", "cat.png", open("cat.png", "rb").read(), mime="image/png")

ac = AsyncClient(base_url="http://localhost:9100", token=os.environ.get("LUMID_TOKEN"))
rows = (await ac.sql("SELECT 1")).rows
```

`Client` and `AsyncClient` share the same surface — pick whichever
matches your event-loop posture. See lumid.data's main repo for the
underlying REST API.
