FastAPI app that pulls interval usage from Sungrow iSolarCloud (OAuth2), caches AER Consumer Data Right electricity plan data, and compares actual metered usage against every available plan to estimate real annual cost (TOU, tiered feed-in, and flat tariffs). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
26 lines
564 B
TOML
26 lines
564 B
TOML
[project]
|
|
name = "power-compare"
|
|
version = "0.1.0"
|
|
description = "Compare Sungrow solar usage against AER-listed QLD electricity plans"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.30",
|
|
"httpx>=0.27",
|
|
"apscheduler>=3.10",
|
|
"sqlalchemy>=2.0",
|
|
"jinja2>=3.1",
|
|
"python-multipart>=0.0.9",
|
|
"pydantic>=2.7",
|
|
"pydantic-settings>=2.3",
|
|
"python-dotenv>=1.0",
|
|
"cryptography>=42.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["app"]
|