← Files Institutional Equity AnalystARCHIVED FILE

scripts/risk/debt_maturity_schedule.py

535 Bytes · Oct 3, 2026 · 06:37 UTC

↓ Download file

#!/usr/bin/env python3
"""Command wrapper for finance_core.debt_maturity_schedule."""
from __future__ import annotations
import json
from pathlib import Path
import sys

sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from finance_core import debt_maturity_schedule

if __name__ == "__main__":
    if len(sys.argv) != 2:
        raise SystemExit("usage: debt_maturity_schedule.py '{JSON keyword arguments}'")
    print(json.dumps(debt_maturity_schedule(**json.loads(sys.argv[1])), indent=2, sort_keys=True))

SHA-256: 384c084afac785b67d2d5db06b1ece24496312392cf1183440706bae26e5c44d