Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (124 loc) · 3.27 KB
/
Copy pathpyproject.toml
File metadata and controls
135 lines (124 loc) · 3.27 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[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="mathysgrapotte@gmail.com" },
{ 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.16",
"numpy>=2.0.0",
"pandas>=2.2.0",
"polars>=1.26.0",
"pydantic>=2.7.0",
"safetensors>=0.4.5",
"scikit-learn>=1.5.0",
"scipy>=1.15.1",
"syrupy>=4.8.0",
"torch>=2.3.1",
"optuna>=4.0.0",
"click>=8.1.0",
"importlib_metadata",
"datasets>=3.6.0",
"transformers>=4.52.4",
"peft>=0.15.2",
# "esm>=3.1.0",
"huggingface-hub>=0.32.0",
"evaluate>=0.4.3",
"hatchling>=1.27.0",
]
[project.scripts]
stimulus = "stimulus.cli.main:cli"
[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.11.11",
"pytest>=8.2",
"pytest-cov>=5.0",
"pytest-randomly>=3.15",
"pytest-xdist>=3.6",
"pytest-dependency>=0.6.0",
"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",
"tomli>=2.0; python_version < '3.11'",
]
[tool.pytest.ini_options]
filterwarnings = [
# Ignore deprecation warning from datasets library using dill
"ignore:co_lnotab is deprecated, use co_lines instead:DeprecationWarning:.*_dill.*",
]