0df1638da868a7cd0032ee688c119a882b25424c
Add comprehensive Pydantic schemas for statistics management: - UsageStatsCreate: input validation for creating usage stats - UsageStatsResponse: orm_mode response schema - StatsSummary: aggregated statistics with totals and averages - StatsByModel: per-model breakdown with percentages - StatsByDate: daily usage aggregation - DashboardResponse: complete dashboard data structure All schemas use Decimal for cost precision and proper validation. Test: 16 unit tests, 100% coverage on stats.py
openrouter-watcher
Applicazione per monitorare l'uso delle api keys di attive in openrouter
Languages
Python
94.3%
HTML
4.7%
Dockerfile
0.3%
JavaScript
0.3%
CSS
0.3%
Other
0.1%