Skip to content

LedgerInvesting/bermuda-ledger

Repository files navigation

build-status ruff docs

Bermuda

Bermuda is a Python package for the representation, manipulation, and exploration of insurance loss triangles, created by Ledger Investing. It offers a user-friendly interface for:

  • Loading and saving insurance loss triangles using a number of formats (e.g. JSON, CSV, Pandas DataFrame objects, binary files).
  • A single Triangle class for manipulating triangles of varying complexities (e.g. ragged, multi-program, cumulative or incremental triangles).
  • An intuitive Cell type that can hold multiple data types and metadata.
  • A collection of useful Cell- and Triangle-level functionality, including summarizing, aggregating, extending, filtering, and bootstrapping insurance loss triangles.

Check out the full documentation.

If you're new to Bermuda, take a look at the Quick Start guide for a brief overview of its functionality, or the User Guide for a more complete explanation of Bermuda's design decisions, insurance triangles, and Bermuda's overall architecture. The Tutorials section includes common usage patterns.

If you're interested in contributing to Bermuda, take a look at our Developer Guide.

Installation

Core:

python3.11 -m pip install bermuda-ledger

Developing:

python3.11 -m pip install 'bermuda-ledger[dev]'

Docs:

python3.11 -m pip install 'bermuda-ledger[docs]'

About

A module for the representation and manipulation of insurance loss triangles.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages