Metadata-Version: 2.4
Name: denki-client
Version: 0.2.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: narwhals>=1.39.0
Requires-Dist: python-dateutil>=2.9.0.post0
Requires-Dist: pytz>=2025.2
Requires-Dist: tenacity>=9.1.2
License-File: LICENSE
License-File: LICENSE
Summary: Agnostic client for ENTSO-e API.
Home-Page: https://github.com/Tijoxa/denki-client
Author-email: Tijoxa <92037181+Tijoxa@users.noreply.github.com>
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# denki-client
Python client to retreive data from ENTSO-e API.

## Installation
Install it from [PyPI](https://pypi.org/project/denki-client/):

```bash
pip install denki-client
```

## Usage
```python
import asyncio
from denki_client import EntsoeClient

client = EntsoeClient("API_KEY_ENTSOE", backend="polars")

df = asyncio.run(client.query_day_ahead_prices("FR", start="20250101", end="20250201"))
df.to_native()
```

## Features
- asynchronous client (use of [httpx](https://github.com/encode/httpx))
- agnostic DataFrame library (use of [narwhals](https://github.com/narwhals-dev/narwhals))

## References
Inspired by [entsoe-py](https://github.com/EnergieID/entsoe-py) repository.

