mortgagemath vignettes
Cent-accurate mortgage amortization for Python
Library version: 0.7.0 · Rendered by Quarto.
mortgagemath is a stdlib-only Python library that produces amortization schedules reproducing published lender, regulator, and textbook examples to the cent. Decimal end-to-end, configurable rounding, balance-tracking, day-count, compounding, and payment cadence; convenience constructors for common US, Canadian, and Actual/360 loans; full ARM support (rate changes, optional recast, optional payment caps with negative amortization).
Vignettes
| Vignette | Audience | Length |
|---|---|---|
| Library at a glance | Evaluating fit in 60 seconds | 1 page |
| Validation against published sources | Audit / risk review | 2 pages |
| Worked examples | Picking the right configuration for your loan type | ~10 pages |
| A short history of the level-payment mortgage | Historical / academic context | 6 pages |
Each vignette is also available as a PDF (built deterministically from the same source).
Source
Repository: github.com/murraystokely/mortgagemath · PyPI: mortgagemath · Vignettes licensed CC-BY-4.0; library code MIT.