-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
105 lines (98 loc) · 2.47 KB
/
pyproject.toml
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
[tool.poetry]
name = "Ambrosia"
version = "0.4.1"
description = "A Python library for working with A/B tests."
license = "Apache-2.0"
authors = [
"Aslan Bayramkulov <[email protected]>",
"Artem Khakimov <[email protected]>",
"Artem Vasin <[email protected]>",
]
readme = "README.rst"
homepage = "https://github.com/MobileTeleSystems/Ambrosia"
repository = "https://github.com/MobileTeleSystems/Ambrosia"
documentation = "https://ambrosia.readthedocs.io"
keywords = [
"ambrosia",
"ab testing",
"split testing",
"experiment design",
"groups split",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: Mathematics",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
]
packages = [
{ include = "ambrosia", from = "." },
]
[tool.poetry.dependencies]
python = ">=3.7.2, <3.11.0"
jinja2 = "^3.0.0"
joblib = "^1.1.0"
nmslib = "^2.0.4"
numpy = ">=1.19.5, <2.0.0"
pandas = ">=0.25.3, <2.0.0"
pyspark = { version = "^3.2", optional = true }
PyYAML = "6.0"
scikit-learn = "^1.0.2"
scipy = "^1.6.3"
tqdm = "^4.27.0"
hyperopt = "^0.2.7"
catboost = "^1.0.4"
statsmodels = ">=0.13.0"
[tool.poetry.dev-dependencies]
autopep8 = "1.6.0"
black = "22.6.0"
isort = "5.10.1"
pylint = "2.14.5"
flake8 = "4.0.1"
flake8-docstrings = "1.6.0"
pytest = "7.1.2"
pytest-cov = "3.0.0"
pytest-lazy-fixture = "0.6.3"
[tool.poetry.extras]
spark = ["pyspark"]
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
)/
)
'''
[tool.pytest.ini_options]
console_output_style = "progress"
testpaths = ["tests"]
junit_family = "xunit2"
python_functions = "test_"
markers = [
"unit: mark a test as a unit test",
"smoke: mark a test as smoke test"
]
[build-system]
requires = ["poetry>=1.0.5"]
build-backend = "poetry.masonry.api"