-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
127 lines (117 loc) · 3.34 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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "stimulus-py"
description = "A package for testing deep learning models"
authors = [
{ name="Mathys Grapotte", email="[email protected]" },
{ name="Alessio Vignoli"},
{ name="Suzanne Jin"},
{ name="Luisa Santus"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10,<3.13"
keywords = []
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Documentation",
"Topic :: Software Development",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"matplotlib>=3.9.0",
"multiprocess==0.70.17",
"numpy>=1.26.0,<2.0.0",
"pandas>=2.2.0",
"polars-lts-cpu>=0.20.30,<1.12.0",
"pydantic>=2.0.0",
"ray[default,train,tune]>=2.23.0; python_version < '3.12'",
"ray[default,train,tune]>=2.38.0; python_version >= '3.12'",
"safetensors>=0.4.5",
"scikit-learn>=1.5.0",
"scipy==1.14.1",
"syrupy>=4.8.0",
"torch>=2.2.2",
"torch==2.2.2; sys_platform == 'darwin' and platform_machine == 'x86_64'"
]
[project.scripts]
stimulus-shuffle-csv = "stimulus.cli.shuffle_csv:run"
stimulus-transform-csv = "stimulus.cli.transform_csv:run"
stimulus-split-csv = "stimulus.cli.split_csv:run"
stimulus-check-model = "stimulus.cli.check_model:run"
stimulus-tuning = "stimulus.cli.tuning:run"
stimulus-split-yaml = "stimulus.cli.split_yaml:run"
[project.urls]
Homepage = "https://mathysgrapotte.github.io/stimulus-py"
Documentation = "https://mathysgrapotte.github.io/stimulus-py"
Changelog = "https://mathysgrapotte.github.io/stimulus-py/changelog"
Repository = "https://github.com/mathysgrapotte/stimulus-py"
Issues = "https://github.com/mathysgrapotte/stimulus-py/issues"
Discussions = "https://github.com/mathysgrapotte/stimulus-py/discussions"
Gitter = "https://gitter.im/stimulus-py/community"
Funding = "https://github.com/sponsors/mathysgrapotte"
[tool.pdm]
version = {source = "scm"}
[tool.pdm.build]
package-dir = "src"
editable-backend = "editables"
excludes = ["**/.pytest_cache"]
source-includes = [
"config",
"docs",
"scripts",
"share",
"tests",
"duties.py",
"mkdocs.yml",
"*.md",
"LICENSE",
]
[tool.pdm.build.wheel-data]
data = [
{path = "share/**/*", relative-to = "."},
]
[tool.uv]
dev-dependencies = [
# dev
"editables>=0.5",
# maintenance
"build>=1.2",
"git-changelog>=2.5",
"twine>=5.1",
# ci
"duty>=1.4",
"ruff>=0.4",
"pytest>=8.2",
"pytest-cov>=5.0",
"pytest-randomly>=3.15",
"pytest-xdist>=3.6",
"mypy>=1.10",
"types-markdown>=3.6",
"types-pyyaml>=6.0",
# docs
"black>=24.4",
"markdown-callouts>=0.4",
"markdown-exec>=1.8",
"mkdocs>=1.6",
"mkdocs-coverage>=1.0",
"mkdocs-gen-files>=0.5",
"mkdocs-git-revision-date-localized-plugin>=1.2",
"mkdocs-literate-nav>=0.6",
"mkdocs-material>=9.5",
"mkdocs-minify-plugin>=0.8",
"mkdocstrings[python]>=0.25",
# YORE: EOL 3.10: Remove line.
"tomli>=2.0; python_version < '3.11'",
]