Projection Tool for Life Insurance Cash Flows
Project description
An Actuarial Projection Tool for Life Insurance Cash Flows.
This package allows to project future cash flows for portfolios of life & health insurance policies. It comes with a number of built-in standard products but can also be used to project custom products by the user.
Documentation
For extended documentation cf. https://pyprotolinc.readthedocs.io/en/latest/index.html.
Project Objectives
The key objective for PyProtolinc is to model cash flows for a variety of simple life and health insurance products, going forward also beyond stylized textbook examples.
The tool should provide a command line interface which can be used with configuration files as well as an extensible programming API which provides flexibility to adapt to own purposes.
Calculations should be laid out to deal with portfolios of insureds in a batch style and an attempt shall be made that forecast projections for reasonably large portfolios (of, say, a few 10s or 100s of thousands of policies) can be made in an acceptable amount of time (seconds or up to a few minutes rather than hours).
Basic Usage
Installation
To install from PyPI run:
pip install -U pyprotolinc
Alternatively, or for delevoplement clone (or download) the repository from https://github.com/mseehafer/PyProtolinc.git and run:
pip install -e .
from the root directory of the repository.
Quickstart
Usage is illustrated in detail by the prepared use cases in the examples folder. To try those out cd into the respective subfolder and run the tool from the command line:
pyprotolinc run
This will pick up the configuration file (config.yml) in the working directory (which points to the portfolio file in the subdirectory portfolio) and initiate a projection run. Once completed the (aggregate) results of the computation are written into a CSV file in the subfolder results. Now one can start playing around by changing the configuration. Note that the examples are commented in the documentation, cf. https://pyprotolinc.readthedocs.io/en/latest/examples/intro.html .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file PyProtolinc-0.1.7.tar.gz
.
File metadata
- Download URL: PyProtolinc-0.1.7.tar.gz
- Upload date:
- Size: 542.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87594011b96f25cf84a0e2497f02c94e2dabe2d7db7374e53a483887be2d2c0 |
|
MD5 | 3a991257b9b61958441952b21f0154eb |
|
BLAKE2b-256 | 5b8102c6faad2f3b7c46fe867a038d74380e25c4be505534f7c675bbc1f4bec0 |
File details
Details for the file PyProtolinc-0.1.7-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: PyProtolinc-0.1.7-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 749.9 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8619a41f3f3cedec8fb27ff2668bd6641945f56e8305cdfdb7be07dc5ca24b |
|
MD5 | 52f83aa3f5fe24706e7d393eeb2a8381 |
|
BLAKE2b-256 | f4d5ca82ef76c9b54a6159c01c4467f6b88130d878d65846c54069303be1b9da |
File details
Details for the file PyProtolinc-0.1.7-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: PyProtolinc-0.1.7-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 749.5 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f612c2ab4e07af7f663da541874362c6d3b5ec6a83d4caab5680acdac67f9e |
|
MD5 | fa613e6b9ab54927e37472bcee329394 |
|
BLAKE2b-256 | 2e822133936e6290acffe0d9f1967ccbe13d1a1ac37e7ec86c68309070b5b19c |
File details
Details for the file PyProtolinc-0.1.7-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: PyProtolinc-0.1.7-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 749.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0071d410ec774301d07c7efec98539b82422c3ac32a969cc29dc729a242a4d6 |
|
MD5 | be2154e7c5409cdffe5c9da9b761d184 |
|
BLAKE2b-256 | 73023550f8f93372d93c9a104a4355b3912edf014d6fd0a74041964f14e341de |