3 Commits
Author SHA1 Message Date
sankalp 9cb6ade8a6 feat(root): modernize API server,CLI and data loading
- Switch to async lifespans, eager in‑memory caching of calendar data, and ORJSON responses for reduced latency.
- Add structured logging and GZIP middleware, enforce year bounds and directory existence.  - Replace json module with orjson, use pathlib and TypedDict aliases, and implement typed argument parsing with explicit error handling.
- Remove unused test.py and refactor scraper CLI to accept argv via function injection, simplify input mode logic.
- Preserve backward defaults (produce both single JSON and directory output) while exposing explicit flags via argparse.

This refactor improves scalability on low‑resources servers, adds robustness checks, and clarifies the command‑line interface for future extensions.
2026-06-06 18:50:59 +05:45
sankalp 3c92e92c79 update 2026-01-17 02:12:17 +05:45
sankalp c96db66147 maybe complete 2026-01-09 23:16:45 +05:45