Metadata-Version: 2.4
Name: essent-dynamic-pricing
Version: 0.2.1
Summary: Async client for Essent dynamic energy prices
Project-URL: Homepage, https://github.com/jaapp/py-essent-dynamic-pricing
Project-URL: Repository, https://github.com/jaapp/py-essent-dynamic-pricing
Author: Home Assistant Community
License: MIT
License-File: LICENSE
Requires-Python: >=3.13
Requires-Dist: aiohttp>=3.9
Requires-Dist: mashumaro>=3.17
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.24; extra == 'test'
Requires-Dist: pytest>=8.2; extra == 'test'
Description-Content-Type: text/markdown

# Essent dynamic pricing client

Async client for Essent's public dynamic price API, returning normalized electricity
and gas tariffs ready for Home Assistant or other consumers.

## Usage

```python
import asyncio
from aiohttp import ClientSession
from essent_dynamic_pricing import EssentClient

async def main():
    async with ClientSession() as session:
        client = EssentClient(session=session)
        data = await client.async_get_prices()
        print(data["electricity"]["min_price"])

asyncio.run(main())
```

## Development / tests

1. Install dev deps (adds pytest and pytest-asyncio):  
   `pip install -e .[test]`
2. Run tests:  
   `pytest`
