Metadata-Version: 2.3
Name: sigmashake
Version: 0.1.1
Summary: Python SDK for the SigmaShake platform API
Project-URL: Homepage, https://github.com/sigmashakeinc/sigmashake-sdk-python
Project-URL: Documentation, https://docs.sigmashake.com/sdk/python
Project-URL: Repository, https://github.com/sigmashakeinc/sigmashake-sdk-python
Author-email: SigmaShake Inc <engineering@sigmashake.com>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.9
Requires-Dist: httpx>=0.24.0
Requires-Dist: pydantic>=2.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: respx>=0.20; extra == 'dev'
Description-Content-Type: text/markdown

# sigmashake

Python SDK for the SigmaShake platform API.

## Installation

```bash
pip install sigmashake
```

## Quick Start

```python
from sigmashake import SigmaShake

client = SigmaShake(api_key="sk-...")

# Create an auth token
token = client.auth.create_token(agent_id="agent-1", scopes=["read", "write"])

# Register an agent with Shield
session = client.shield.register_agent(
    agent_id="agent-1",
    agent_type="coding",
    session_ttl_secs=3600,
)

# Store agent memory
client.memory.store(key="context", value="important data", tags=["session-1"])

# Query the database
results = client.db.query("events", filters=[{"column": "id", "op": "gt", "value": 1}])
```

## Async Usage

```python
from sigmashake import SigmaShake

async with SigmaShake(api_key="sk-...", async_mode=True) as client:
    token = await client.auth.create_token(agent_id="agent-1", scopes=["read"])
```

## License

MIT
