Metadata-Version: 2.3
Name: gravi-model-client
Version: 0.1.1
Summary: Python client for Gravitate's Demand & Supply optimization models
Keywords: optimization,demand-model,supply-model,api-client
Author: Gravitate Energy
Author-email: Gravitate Energy <engineering@gravitate.energy>
License: Proprietary
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: httpx>=0.27.0
Requires-Dist: pydantic>=2.9.0
Requires-Dist: pyhumps>=3.8.0
Requires-Python: >=3.12
Project-URL: Homepage, https://gravitate.energy
Project-URL: Repository, https://github.com/gravitate-energy/demand-only-model
Description-Content-Type: text/markdown

# gravi-model-client

Python client for Gravitate's demand and supply optimization models.

## Installation

```bash
pip install gravi-model-client
```

## Usage

```python
from gravi_model_client import GraviModelClient, ModelRunRequest, OptimizationInput

with GraviModelClient(api_key="your-api-key", base_url="https://...") as client:
    # Health check
    client.health_check()

    # Run demand model
    result = client.run_demand_model(request)

    # Run TSD (supply) model
    result = client.run_tsd_model(optimization)
```
