12 lines
536 B
Python
12 lines
536 B
Python
"""Pricing profile framework and strategy registry.
|
|||
|
|
|
||
|
|
This package provides:
|
||
|
|
|
||
|
|
- ``profiles``: Pydantic models describing the structure of pricing profiles
|
||
|
|
(``ManualProfile`` / ``TibberProfile``), YAML loaders, and contract-values
|
||
|
|
validation (``load_profile`` / ``list_profiles`` / ``validate_values``).
|
||
|
|
- ``strategies``: A lightweight registry of price-calculation strategies
|
||
|
|
(``register_strategy`` / ``get_strategy``), with built-in implementations for
|
||
|
|
the ``manual`` (fixed dual-tariff) and ``tibber`` (dynamic API) kinds.
|
||
|
|
"""
|