Skip to main content

burning-cost

PyPI Python License: MIT

One install. The full Burning Cost toolkit.

pip install burning-cost

That single command installs all 10 flagship libraries for insurance pricing with modern ML.


The problem this solves

The Burning Cost ecosystem has 10 libraries. They are designed to work together — causal inference to estimate treatment effects, conformal to put intervals on predictions, monitoring to track whether those predictions are still valid in production. But you should not have to remember which libraries to include in a requirements file when setting up a new pricing project or Colab notebook.

burning-cost is a meta-package: it has no code of its own. It is a single dependency that pulls in everything.


What you get

Library What it does
insurance-causal Double Machine Learning for causal treatment effects on observational data
insurance-fairness Fairness auditing under UK Equality Act 2010
insurance-monitoring PSI/CSI drift, A/E monitoring, Gini tests, anytime-valid A/B testing
insurance-conformal Distribution-free prediction intervals with coverage guarantees
insurance-whittaker Whittaker-Henderson graduation for triangles and rating factors
insurance-telematics Trip-level feature engineering and behavioural risk scoring
insurance-credibility Buhlmann-Straub and hierarchical Bayesian credibility models
insurance-frequency-severity Two-part freq/sev modelling with proper exposure handling
insurance-gam Generalised Additive Models for interpretable rating factor curves
insurance-governance FCA/PRA-aligned model risk management documentation

Usage

You do not import from burning_cost directly. Each library has its own namespace:

from insurance_causal import CausalPricingModel
from insurance_conformal import InsuranceConformalPredictor
from insurance_monitoring import MonitoringReport
from insurance_fairness import FairnessAudit

The meta-package just ensures they are all installed.


For new pricing projects

Add to your pyproject.toml:

[project]
dependencies = [
    "burning-cost",
]

Or for a requirements file:

burning-cost
catboost
polars

Resources


License

MIT

Metadata

Release files for burning-cost 0.1.0

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

Source distribution (sdist)

Source distribution for burning-cost 0.1.0
File Size Uploaded
burning_cost-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for burning-cost 0.1.0
File Interpreter ABI Platform
burning_cost-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / burning_cost-0.1.0.tar.gz

Download URL burning_cost-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
60e1ebb5a8755cf070d424b494e19582388800b556a2f1a38d66b970faca647a
BLAKE2b-256 checksum
How to use checksums
1752627556d2019ae8dcb872743f6a675bdbf5a4bee18ea5dfc759e7c28a9e43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / burning_cost-0.1.0-py3-none-any.whl

Download URL burning_cost-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a24c0fef3fb1008d0fa3254b7a5358a36a05423f261d914cb1ceb9aa5fbaca64
BLAKE2b-256 checksum
How to use checksums
06c2837237e57da703f5ce9268ea0b4988128641a05ad9a4f261a76b7e06e760
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

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