Python FastAPI ML backend kept intact; auth replaced with central hnf_session cookie verification. Frontend rebuilt on React 18 + TS + Vite with stack design system, Plotly charts retained. Shared Postgres via DATABASE_URL; schema applied on startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
475 B
Python
22 lines
475 B
Python
"""
|
|
Backend utilities module.
|
|
"""
|
|
from .time_alignment import (
|
|
get_prior_year_daily,
|
|
get_prior_year_weekly,
|
|
get_prior_year_week_dates,
|
|
get_prior_year_monthly,
|
|
get_comparison_info,
|
|
SQL_PRIOR_YEAR_DAILY,
|
|
SQL_PRIOR_YEAR_OFFSET,
|
|
)
|
|
|
|
__all__ = [
|
|
'get_prior_year_daily',
|
|
'get_prior_year_weekly',
|
|
'get_prior_year_week_dates',
|
|
'get_prior_year_monthly',
|
|
'get_comparison_info',
|
|
'SQL_PRIOR_YEAR_DAILY',
|
|
'SQL_PRIOR_YEAR_OFFSET',
|
|
]
|