How jaypatel1511/nmtc-calc works
nmtc-calc is a pedagogical Python model of a simplified single-CDE NMTC leveraged structure, not an underwriting tool. A user supplies an NMTCDeal, then independently requests the capital-stack structure, statutory credit schedule, credit-only investor analysis, QALICB subsidy analysis, and cash-flow/DSCR waterfall. Results disclose supplied versus derived figures and refuse unsupported calculations. The package also offers sensitivity sweeps. The graph follows the documented API and sampled source references; unsampled implementation details are not inferred beyond those references.
Main entry points: schema.py Deal contract · __init__.py Sensitivity sweeps · _format.py Money formatting · waterfall.py Cash flow waterfall
Components 11
Deal inputs
- Deal contract
nmtccalc/data/schema.py
NMTC analyses
- Capital stack
nmtccalc/models/transaction.py - Credit schedule
nmtccalc/models/credits.py - Investor returns
nmtccalc/models/investor.py - QALICB subsidy
nmtccalc/models/subsidy.py - Cash flow waterfall
nmtccalc/models/waterfall.py - Sensitivity sweeps
nmtccalc/utils/__init__.py
Rules and support
- Statutory rules
nmtccalc/statute.py - Validation errors
nmtccalc/exceptions.py - Money formatting
nmtccalc/_format.py
Other components
- Analyst
Connections 32
- Analyst → Deal contract: supplies inputs
README.md - Analyst → Capital stack: requests structure
README.md - Analyst → Credit schedule: requests schedule
README.md - Analyst → Investor returns: requests analysis
README.md - Analyst → QALICB subsidy: requests analysis
README.md - Analyst → Cash flow waterfall: requests analysis
README.md - Analyst → Sensitivity sweeps: requests sweep
README.md - Deal contract → Capital stack: provides inputs
README.md - Deal contract → Credit schedule: provides inputs
README.md - Deal contract → Investor returns: provides inputs
README.md - Deal contract → QALICB subsidy: provides inputs
README.md - Deal contract → Cash flow waterfall: provides inputs
README.md - Deal contract → Sensitivity sweeps: provides base case
README.md - Capital stack → Statutory rules: uses rules
nmtccalc/models/transaction.py - Credit schedule → Statutory rules: uses schedule rules
nmtccalc/models/credits.py - Investor returns → Statutory rules: uses allowance rules
nmtccalc/models/investor.py - QALICB subsidy → Statutory rules: uses statutory guidance
nmtccalc/models/subsidy.py - Cash flow waterfall → Statutory rules: uses recapture rules
nmtccalc/models/waterfall.py - Deal contract → Statutory rules: validates against rules
nmtccalc/data/schema.py - Deal contract → Validation errors: raises refusals
nmtccalc/data/schema.py - Cash flow waterfall → Validation errors: warns on shortfall
nmtccalc/models/waterfall.py - Deal contract → Money formatting: formats refusal details
nmtccalc/data/schema.py - Capital stack → Money formatting: formats figures
nmtccalc/models/transaction.py - Credit schedule → Money formatting: formats figures
nmtccalc/models/credits.py - Investor returns → Money formatting: formats figures
nmtccalc/models/investor.py - QALICB subsidy → Money formatting: formats figures
nmtccalc/models/subsidy.py - Cash flow waterfall → Money formatting: formats figures
nmtccalc/models/waterfall.py - Sensitivity sweeps → Money formatting: formats sweep tables
nmtccalc/utils/__init__.py - Sensitivity sweeps → Investor returns: analyzes each case
nmtccalc/utils/__init__.py - Sensitivity sweeps → QALICB subsidy: analyzes each case
nmtccalc/utils/__init__.py - Sensitivity sweeps → Cash flow waterfall: checks servicing
nmtccalc/utils/__init__.py - Sensitivity sweeps → Credit schedule: recomputes schedule
nmtccalc/utils/__init__.py