Metadata-Version: 2.4
Name: convexity-sdk
Version: 0.10.0.dev199
Summary: Convexity Python SDK - programmatic access to the Convexity platform
Requires-Python: >=3.12
Requires-Dist: convexity-api-client<0.11.0,>=0.10.0.dev0
Requires-Dist: httpx>=0.27.0
Requires-Dist: pydantic>=2.10.0
Description-Content-Type: text/markdown

# Convexity SDK

Python SDK for the Convexity platform.

## Installation

```bash
pip install convexity-sdk
```

## Usage

```python
import convexity_sdk

client = convexity_sdk.ConvexityClient(api_key="cvx_...")

# List user-scoped API keys
keys = client.api_keys.list()

# Create a key with explicit scopes
created = client.api_keys.create(
	name="automation",
	scopes={"org": "READ", "project": "WRITE"},
)

# Rotate/revoke by key ID
rotated = client.api_keys.rotate(created.id)
client.api_keys.revoke(created.id)
```
