-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (58 loc) · 1.65 KB
/
pyproject.toml
File metadata and controls
64 lines (58 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "credibility"
version = "0.2.0"
description = "Bühlmann-Straub credibility models for non-life insurance pricing"
readme = "README.md"
license = { text = "MIT" }
authors = [
{ name = "Burning Cost", email = "pricing.frontier@gmail.com" }
]
keywords = [
"actuarial",
"credibility",
"buhlmann-straub",
"insurance",
"pricing",
"empirical-bayes",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Office/Business :: Financial",
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.21",
"polars>=0.20",
]
[project.optional-dependencies]
pandas = [
# Optional bridge: accept pd.DataFrame input without breaking existing users.
# Not required for the core library — install only if you pass pandas DataFrames.
"pandas>=1.3",
]
dev = [
"pytest>=7.0",
"pytest-cov",
"pandas>=1.3", # tests include a pandas-bridge test
]
[project.urls]
Repository = "https://github.com/burningcost/credibility"
Issues = "https://github.com/burningcost/credibility/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/credibility"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v"
[tool.coverage.run]
source = ["src/credibility"]