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

Metadata

Release files for cashflower 0.10.9

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.9
File Size Uploaded
cashflower-0.10.9.tar.gz 111.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cashflower 0.10.9
File
cashflower-0.10.9-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
cashflower-0.10.9-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details
cashflower-0.10.9-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
cashflower-0.10.9-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.9-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details

Total release size: 975.9 kB

Release files / cashflower-0.10.9.tar.gz

Download URL cashflower-0.10.9.tar.gz
Size 111.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3d2226e9c4046a7b8b1f9bbae103f94ad343aa197095cca0904b4b5d07ea80f6
BLAKE2b-256 checksum
How to use checksums
0d11286eab021d213d1110e091390dd1e85d0bd709745587801fc09269c32aec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL cashflower-0.10.9-cp311-cp311-win_amd64.whl
Size 136.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
53138d68a50700c70828228dee12260297b2ba1ae7373f5e4869114bc56f181f
BLAKE2b-256 checksum
How to use checksums
4b4e5bab37533248b237c88d860ef046cb184fcacb4fa3156ce120d28e53bdbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL cashflower-0.10.9-cp311-cp311-win32.whl
Size 134.7 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
1e2e637cedd2d294076479bf44ad58e71e35740fb878a0bc9c8234f78e5dcb18
BLAKE2b-256 checksum
How to use checksums
e92ead8ba8f395649c44fecea0d9de2c688772628da66e48af5e6199c54170fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL cashflower-0.10.9-cp311-cp311-musllinux_1_2_x86_64.whl
Size 229.8 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
0db15b71c05d18c6a0691af2d335c0f14bde12b82e7fba118a8a06918e35760f
BLAKE2b-256 checksum
How to use checksums
2359e4099d3063317b5cc4f41acca6334323eb5e1910b0bade0bdc0ed6df97c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL cashflower-0.10.9-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 229.1 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
471840bba0b6cef5a74c6f6c2430fff735f48395bc0ed60bc89e9cf07b108ed6
BLAKE2b-256 checksum
How to use checksums
038f40f0a0b16e3f248030a2880c8f3ddfce01a25e45a45ab4639f84e0bfbba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL cashflower-0.10.9-cp311-cp311-macosx_11_0_arm64.whl
Size 134.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6e38e38c38330edd5065156f3ab3b3b3d8f1fcd2f80e696c2275b3754647d04f
BLAKE2b-256 checksum
How to use checksums
9ebff9c0b8d33ba7d6a57136c018c6206c2b0f11139620f0b51efd85004624b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.10.9 This release

6 release files

0.10.8

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