-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (104 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
116 lines (104 loc) · 2.45 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "splita"
version = "0.1.0"
description = "A/B test analysis that is correct by default, informative by design, and composable by construction."
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Nareman" },
]
keywords = ["ab-testing", "experimentation", "statistics", "causal-inference"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"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",
"Typing :: Typed",
]
dependencies = [
"numpy>=1.24",
"scipy>=1.10",
]
[project.optional-dependencies]
ml = [
"scikit-learn>=1.2",
]
viz = [
"matplotlib>=3.5",
]
widget = [
"ipywidgets>=8.0",
]
api = [
"fastapi>=0.100",
"uvicorn>=0.20",
]
playground = [
"streamlit>=1.30",
"matplotlib>=3.5",
]
all = [
"scikit-learn>=1.2",
"matplotlib>=3.5",
"ipywidgets>=8.0",
"fastapi>=0.100",
"uvicorn>=0.20",
"streamlit>=1.30",
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.4",
"mypy>=1.0",
]
[project.urls]
Homepage = "https://github.com/Naareman/splita"
Documentation = "https://Naareman.github.io/splita"
Repository = "https://github.com/Naareman/splita"
[dependency-groups]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.4",
"mypy>=1.0",
"mkdocs-material>=9.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/splita"]
[tool.coverage.run]
omit = [
"src/splita/_playground_app.py",
"src/splita/integrations/polars_support.py",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
markers = [
"slow: marks tests as slow (simulation-heavy)",
]
[tool.ruff]
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.ruff.lint.per-file-ignores]
"src/splita/explain.py" = ["RUF001", "E501"]
"src/splita/_playground_app.py" = ["E501"]
"src/splita/report.py" = ["E501"]
"src/splita/_types.py" = ["E501"]
"src/splita/serve.py" = ["B904"]
"src/splita/what_if.py" = ["SIM108"]