Metadata-Version: 2.4
Name: lossratio
Version: 0.0.1.dev1
Summary: Loss ratio analysis for insurance experience data (Python sibling of the R lossratio package; in development).
Project-URL: Homepage, https://seokhoonj.github.io/lossratio/
Project-URL: Source, https://github.com/seokhoonj/lossratio-py
Project-URL: R package, https://github.com/seokhoonj/lossratio
Project-URL: Issues, https://github.com/seokhoonj/lossratio-py/issues
Author-email: Seokhoon Joo <seokhoonj@gmail.com>
License-Expression: MPL-2.0
License-File: LICENSE
Keywords: actuarial,chain ladder,health insurance,insurance,loss ratio,reserving
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Requires-Dist: polars>=1.0
Provides-Extra: dev
Requires-Dist: build>=1.0; extra == 'dev'
Requires-Dist: pandas>=2.0; extra == 'dev'
Requires-Dist: pyarrow>=10; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Requires-Dist: twine>=5.0; extra == 'dev'
Provides-Extra: pandas
Requires-Dist: pandas>=2.0; extra == 'pandas'
Requires-Dist: pyarrow>=10; extra == 'pandas'
Description-Content-Type: text/markdown

# lossratio (Python)

Python sibling of the R `lossratio` package: loss-ratio analysis and
projection for long-term health insurance from long-format experience
data. Stage-adaptive (SA) projection uses an exposure-driven (ED)
model before the maturity point and chain ladder (Mack, CL) after,
supported by maturity point detection, cohort regime detection, and
a calendar-diagonal backtest framework.

This Python implementation is in development. The package is
reserved on PyPI under PEP 541 legitimate future-use provisions.

## Current status

- `pip install lossratio` installs this placeholder
  (version `0.0.1.dev0`).
- The package currently only exposes a `__version__` attribute.
- The working implementation is the R package; the Python version
  is being built up incrementally.

## R package

- Source: <https://github.com/seokhoonj/lossratio>
- Documentation: <https://seokhoonj.github.io/lossratio/>
- 한국어 문서: <https://seokhoonj.github.io/lossratio/ko/>

```r
remotes::install_github("seokhoonj/lossratio")
library(lossratio)
```

## Author

Seokhoon Joo (<seokhoonj@gmail.com>) — author of both the R and
Python implementations.

## License

MPL-2.0 (Mozilla Public License 2.0).
