-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
157 lines (142 loc) · 3.68 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[project]
name = "trane"
readme = "README.md"
description = "automatically generate prediction problems and labels for supervised learning."
dynamic = ["version"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
]
authors = [
{name="MIT Data to AI Lab", email="[email protected]"}
]
maintainers = [
{name="MIT Data to AI Lab", email="[email protected]"}
]
keywords = ["trane", "data science", "machine learning"]
license = {text = "MIT License"}
requires-python = ">=3.9,<4"
dependencies = [
"numpy >= 1.24.2",
"pandas >= 2.0.1",
"scipy >= 1.10.0",
"tqdm >= 4.65.0",
"importlib_resources >= 6.0.0",
"pyarrow >= 14.0.1",
"humanize >= 4.9.0"
]
[project.urls]
"Source Code"= "https://github.com/trane-dev/Trane/"
"Changes" = "https://github.com/trane-dev/Trane/blob/main/docs/changelog.md"
"Issue Tracker" = "https://github.com/trane-dev/Trane/issues"
"Twitter" = "https://twitter.com/lab_dai"
"Chat" = "https://join.slack.com/t/trane-dev/shared_invite/zt-1zglnh25c-ryuQFarw0rVgKHC6ywUOlg"
[project.optional-dependencies]
test = [
"pytest >= 3.4.2",
"pytest-cov >= 2.5.1",
"pytest-xdist >= 3.1.0",
"pytest-runner >= 2.11.1",
]
dev = [
"ruff >= 0.1.8" ,
"pre-commit >= 3.6.0",
]
llm = [
"openai >= 1.3.7",
"tiktoken >= 0.5.1",
]
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE", "trane/datasets/data/store/LICENSE"]
[tool.setuptools.packages.find]
namespaces = true
[tool.setuptools.package-data]
"*" = [
"*.txt",
"*.csv",
"README.md",
"Makefile",
]
"trane" = [
"trane/datasets/data/airbnb_reviews/airbnb_reviews.csv",
"trane/datasets/data/store/categories.csv",
"trane/datasets/data/store/cust_hist.csv",
"trane/datasets/data/store/customers.csv",
"trane/datasets/data/store/inventory.csv",
"trane/datasets/data/store/orderlines.csv",
"trane/datasets/data/store/orders.csv",
"trane/datasets/data/store/products.csv",
"trane/datasets/data/store/reorder.csv",
]
[tool.setuptools.exclude-package-data]
"*" = [
"* __pycache__",
"*.py[co]",
]
[tool.setuptools.dynamic]
version = {attr = "trane.version.__version__"}
[tool.pytest.ini_options]
testpaths = [
"trane/tests/*"
]
[tool.coverage.run]
source = ["trane"]
[tool.coverage.report]
exclude_lines =[
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if self._verbose:",
"if verbose:",
"if profile:",
"pytest.skip"
]
[build-system]
requires = [
"setuptools >= 61.0.0",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.ruff]
preview = true
line-length = 88
ignore = ["E501"]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# flake8-quotes
"Q",
# isort
"I001"
]
src = ["trane"]
target-version = "py312"
[tool.ruff.isort]
known-first-party = ["trane"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "E402", "F403", "F405", "E501", "I001"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
preview = true