Skip to main content

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

Release files for cashflower 0.10.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cashflower 0.10.8
File Size Uploaded
cashflower-0.10.8.tar.gz 109.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cashflower 0.10.8
File
cashflower-0.10.8-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
cashflower-0.10.8-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details
cashflower-0.10.8-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
cashflower-0.10.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.5+ x86-64 Details
cashflower-0.10.8-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size:960.4 kB

Release files / cashflower-0.10.8.tar.gz

Download URL cashflower-0.10.8.tar.gz
Size 109.3 kB
Tags Source
SHA-256 checksum
How to use checksums
be9c5d167debda2d650f782b2209543d2e14c8776682e348d101d924681a4673
BLAKE2b-256 checksum
How to use checksums
4314a5067f7d6d3e9af9fb1a2b3841db16659bb845a34cd70abd62948b97504a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / cashflower-0.10.8-cp311-cp311-win_amd64.whl

Download URL cashflower-0.10.8-cp311-cp311-win_amd64.whl
Size 135.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
411d048c869b52c4b7000a2241a1e32e1cd83a17ea2a9259003c10c39060ffdb
BLAKE2b-256 checksum
How to use checksums
32f6d5966093138c880e511566f01d0dc30f8ee631e2bf6d12a80af8c8e950bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / cashflower-0.10.8-cp311-cp311-win32.whl

Download URL cashflower-0.10.8-cp311-cp311-win32.whl
Size 133.2 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
a68ba1b79004a2b7385684117273993ec4c4797a03b764480bd4c789b264b837
BLAKE2b-256 checksum
How to use checksums
862463efb36c11eee92598436c456c98924fe80f7750a2ec622ec320239cb731
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / cashflower-0.10.8-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL cashflower-0.10.8-cp311-cp311-musllinux_1_2_x86_64.whl
Size 223.9 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
bdadc99be35af3ee4d1b6146a1b5007e8288ee21450f6319930cfa3a74de4515
BLAKE2b-256 checksum
How to use checksums
51eb932273bb86f512568781de6ddfe290eac9b5848d258c12b701e30db65db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / cashflower-0.10.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cashflower-0.10.8-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 225.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
40caa51af36b3353a1823277ed87bbc20829a84a093cdaf46f2af051524cc4db
BLAKE2b-256 checksum
How to use checksums
56f1c6d9bb6c425d612be5a5c588e1dc017f7ba9e85bc65bc8317da243a7b7fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release files / cashflower-0.10.8-cp311-cp311-macosx_11_0_arm64.whl

Download URL cashflower-0.10.8-cp311-cp311-macosx_11_0_arm64.whl
Size 133.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f36f10a5e0a338431ea1e53034c2a596d422349b5db74630ef67c50b503b94d7
BLAKE2b-256 checksum
How to use checksums
8a3815e6709bf781f54b0522709d3ad13ea48c01b1368bfb72d12e46b188f62e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.10.8 This release

6 release files

0.10.7

6 release files

0.9.6

11 release files

0.9.2

11 release files

0.9.1

11 release files

0.8.5

21 release files

0.8.4

21 release files

0.8.3

21 release files

0.8.2

21 release files

0.8.1

21 release files

0.8.0

21 release files

0.7.3

21 release files

0.7.2

21 release files

0.7.1

21 release files

0.6.1

21 release files

0.6.0

21 release files

0.5.7

21 release files

0.5.5

21 release files

0.5.4

21 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.8

2 release files

0.2.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page