What’s New


lifelib and modelx are in their early alpha-release stage, and their specifications are subject to changes without consideration on backward compatibility. The source files of you models may need to be modified manually, if there are updates that break backward compatibility in newer versions of modelx.

Likewise, model files saved with one version may not load with a newer version. When updating modelx to a newer version, make sure you rebuild model files saved using older versions of modelx from their source code.


… See more updates


The contents of lifelib.io are constantly updated based on the development version of lifelib. Documentation for released versions of lifelib is available under Archive page.

v0.0.12 (6 July 2019)


modelx needs to be updated to v0.0.22 for this version of lifelib.

This version fixes the trouble resulted from erroneous packaging in v0.0.11, and includes minor code improvements.

  • Fix the packaging error in v0.0.11 (Issue #6).
  • Update ifrs to include the loss component logic.
  • Fix the sign in AmortAcqCashflow().
  • Update build_input to make a better use of updated new_space_from_excel.

v0.0.11 (24 March 2019)


This version of lifelib should not be used, as the uploaded files in PyPI were not properly packaged and some older files were included by mistake. You will see an error when you try to run the default models. For more on th error and how to fix it, see this discussion on github.


modelx needs to be updated to v0.0.21 for this version of lifelib.

  • simplelife Space Overview notebook is added.
  • The input file is renamed from “input.xlsm” to “input.xlsx” and redundant data and macros are removed from the file to gain speed in reading.
  • Parameter module_ of Space’s import_module method is renamed to module.
  • Reserved name _self is renamed to _space.

v0.0.10 (2 February 2019)

v0.0.9 (5 August 2018)


modelx needs to be updated to v0.0.13 for this version of lifelib.

Accordingly, Support for Python 3.4 and 3.5 is dropped. Now Python 3.6 or 3.7 is required.

v0.0.8 (17 June 2018)

  • Naming Convention is introduced, and most source functions and some space and modules are renamed to be consistent with the naming convention and to improve readability.
  • The source code of gallery examples is updated, and it’s shorter, cleaner and more readable, thanks to the introduction of space.cells[varnames].to_frame(args) expression.

v0.0.7 (3 June 2018)

  • Replace present value cells in projection with those in present_value.
  • Add cells to draw IFRS17 P&L in ifrs.
  • Add draw_waterfall function in draw_charts module.
  • Add a Jupyter notebook and gallery sample for IFRS waterfall chart.
  • Add a Jupyter notebook for CSM waterfal chart.
  • Update IFRS charts in the gallery of examples.

v0.0.6 (7 May 2018)

  • Product defined in the table in PolicyData tab in input.xlsm are now strings (TERM, WL, ENDW) instead of integer IDs (1, 2, 3).
  • The assumption data is updated so that the selected sample policies become profitable. The default scenario number is changed from 3 to 1.
  • Removed redundant local variables in cells in assumption.
  • Fixed a bug in the formula of ExpsMaintSA().
  • Input loading messages are now output to the standard error.
  • build_input() now saves models as their template names.
  • New project template Project ifrs17sim and its examples are added.
  • Insuranc in-force cells and present value cells are added in projection module.
  • new_space_from_module methods are replaced with import_module.