SkillAgentSearch skills...

Cashflower

An open-source Python framework for actuarial cash flow models

Install / Use

/learn @acturtle/Cashflower
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PyPI Latest Release pytest Documentation Status

Info

Cashflower is an open-source Python framework for actuarial cash flow models.

Installation

terminal

pip install cashflower

Create model

python console

from cashflower import create_model

create_model("my_model")

Creates:

my_model/
    input.py
    model.py
    run.py
    settings.py

Model

my_model/model.py

from cashflower import variable

@variable()
def survival_probability(t):
    mortality_rate = 0.01
    if t == 0:
        return 1
    return survival_probability(t - 1) * (1 - mortality_rate)

Calculate

terminal

python run.py

Contribution

GitHub repository:

https://github.com/acturtle/cashflower

Documentation:

https://cashflower.acturtle.com

View on GitHub
GitHub Stars55
CategoryFinance
Updated20d ago
Forks13

Languages

Python

Security Score

100/100

Audited on Mar 15, 2026

No findings