Metadata-Version: 2.4
Name: evorozen-sdk
Version: 1.0.0
Summary: Official Python SDK for the Pulse Evorozen Neural DB API — AI-native database with plain-English schema design.
Author: Evorozen
License: MIT
Project-URL: Homepage, https://pulse.evorozen.com/docs
Project-URL: Repository, https://github.com/Raza-Abbas32/evorozen-sdk
Project-URL: Issues, https://github.com/Raza-Abbas32/evorozen-sdk/issues
Keywords: evorozen,database,ai,agentic,backend,api,sdk
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.28

# evorozen-sdk

Official Python SDK for the [Pulse Evorozen](https://pulse.evorozen.com) Neural DB API.

## Install

```bash
pip install evorozen-sdk
```

## Usage

```python
import os
from evorozen import EvorozenClient

client = EvorozenClient(api_key=os.environ["EVOROZEN_API_KEY"])

# Design a schema from plain English
result = client.chat("Create a products table with name, price, and stock")
print(result["response"])

# Insert a record
client.insert("products", {"name": "Widget", "price": 9.99, "stock": 100})

# Query records
result = client.select("products", limit=10)
print(result["data"])
```

## API

| Method | Description |
|---|---|
| `chat(prompt)` | Natural-language chat — schema design, Q&A, guidance |
| `insert(table, record)` | Insert a record |
| `bulk_insert(table, records)` | Insert multiple records |
| `update(table, filter, updates)` | Update matching records |
| `upsert(table, record, conflict_columns=None)` | Insert or update |
| `delete(table, filter)` | Delete matching records |
| `bulk_delete(table, filter)` | Delete multiple records |
| `select(table, filter=None, columns=None, limit=None, order_by=None, order_dir=None)` | Query records |
| `count(table, filter=None)` | Count matching records |
| `paginate(table, page, page_size, filter=None)` | Paginated query |
| `aggregate(table, column, function, filter=None)` | Run count/sum/avg/min/max |
| `search(table, column, query)` | Full-text search |
| `list_tables()` | List all tables |
| `get_schema(table=None)` | Get schema definition |
| `create_schema(schema)` | Create tables from a schema definition |
| `alter_schema(table, changes)` | Modify a table |
| `drop_table(table)` | Drop a table |
| `analytics(prompt, table=None)` | AI-powered data analysis |
| `vector_search(table, query, limit=None)` | Semantic search |
| `audit_logs(limit=None)` | Fetch audit logs |
| `generate_sdk(language)` | Generate SDK source code for another language |
| `raw(payload)` | Low-level escape hatch for any action_type |

Full docs: **[pulse.evorozen.com/docs](https://pulse.evorozen.com/docs)**

## License

MIT
