A python library for simple mortgage calculations
- cuffnote.mortgages.Mortgage: The base class represents a plain vanilla mortgage
- cuffnote.mortgages.ExtraMonthlyPrincipal: Inherits from the base class & allows modelling a mortgage with extra monthly principal payments. The start date of the extra payments does not have to be the same as the start date of the loan.
- cuffnote.mortgages.AnnualLumpPayment: Inherits from both base class & ExtraMonthlyPrincipal. Allows modelling a mortgage with annual principal lump payments that occur only once a year.
Launch the unittests using coverage:
$ coverage run -m unittest -v tests/test_* ; coverage html