Skip to content

modeleon 0.2.1

Choose a tag to compare

@adilkhanovkz adilkhanovkz released this 06 Oct 14:44
· 5 commits to main since this release

Install or upgrade: pip install -U modeleon

  • Loop containers — rows that read each other across periods (mo.MultiVariable("Debt", loop=True)): written as ordinary rows, settled period by period, and emitted as plain previous-column references, so Excel sees no circular reference.
  • mo.time — each period's start, end, days, months and index for formulas. A window may start at a date, also inside its first quarter or year (a short first period); default_header puts a time header at the top of every sheet.
  • Excel's rules for blanks and error cells in SUM, MAX, MIN, AVERAGE, IF, AND, OR, NOT and CHOOSE.
  • New functions: YEARFRAC, DAYS, XNPV; IRR and XIRR solve from the root.
  • Units: Variable.set_unit() and mo.Unit.dimensionless(label).
  • The workbook's look as ExcelView settings, and mo.house_view for house styles.
  • Subtotals and coarser views fold in the workbook as the engine computes them.

The full list is in CHANGELOG.md.