"""Daly Energy SDK — Python client for the Daly Energy REST API.

Usage::

    from dalysdk import DalyClient

    client = DalyClient(
        workspace_api_key="wk_...",
        user_api_key="uk_...",
    )

    locations = client.locations.list()
    client.close()

Or as a context manager::

    with DalyClient(workspace_api_key="wk_...", user_api_key="uk_...") as client:
        projects = client.projects.list()
"""

from dalysdk.batch import BatchRunner
from dalysdk.client import DalyClient
from dalysdk.exceptions import (
    AuthenticationError,
    ConflictError,
    DalyAPIError,
    ForbiddenError,
    NotFoundError,
    RateLimitError,
    ServerError,
    TimeoutError,
    ValidationError,
)
from dalysdk.legacy import LegacyEnergyModel

__all__ = [
    "BatchRunner",
    "DalyClient",
    "LegacyEnergyModel",
    "DalyAPIError",
    "AuthenticationError",
    "ConflictError",
    "ForbiddenError",
    "NotFoundError",
    "RateLimitError",
    "ServerError",
    "TimeoutError",
    "ValidationError",
]

__version__ = "2.0.0"
