generated from ThalesGroup/template-project
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
186 lines (157 loc) · 5 KB
/
pyproject.toml
File metadata and controls
186 lines (157 loc) · 5 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[project]
version = "2026.02.27"
name = "agilab"
description = "AGILAB is an end-to-end experimentation platform linking interactive development with scalable, reproducible execution orchestration."
requires-python = ">=3.11"
readme = "README.md"
authors = [
{ name = "Jean-Pierre Morard", email = "focus@thalesgroup.com" },
{ name = "Guillaume Demets" },
{ name = "Julien Bestard" }
]
license = { text = "BSD-3-Clause" }
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
]
keywords = [
"ai-experimentation",
"ai-lab",
"agentic-ai",
"jupyter-notebooks",
"multi-venv",
"streamlit",
"distributed-execution",
"mlops",
"python",
"pycharm",
"jupyter",
"ci-cd"
]
dependencies = ["astor", "asyncssh", "build", "cmake>=3.29", "fastparquet", "geojson", "geopy", "humanize", "jupyter-ai[all]", "keras", "matplotlib", "mlflow", "networkx", "noise", "numba>=0.61.0", "numpy>=1.14.1", "openai", "pathspec", "pip", "plotly", "polars", "pulp", "py7zr", "pytest-cov", "scipy==1.15.2", "seaborn", "setuptools", "streamlit", "streamlit-modal", "streamlit_code_editor", "streamlit_extras", "tomli", "tomli_w", "twine", "watchdog", "wheel", "sgp4", "agi-core==2026.02.27", "legacy-cgi; python_version >= '3.13'", "standard-imghdr; python_version >= '3.13'"]
[project.urls]
Documentation = "https://thalesgroup.github.io/agilab"
Source = "https://github.com/ThalesGroup/agilab"
Repository = "https://github.com/ThalesGroup/agilab"
Issues = "https://github.com/ThalesGroup/agilab/issues"
Discussions = "https://github.com/ThalesGroup/agilab/discussions"
Changelog = "https://github.com/ThalesGroup/agilab/blob/main/CHANGELOG.md"
[project.scripts]
agilab = "agilab.lab_run:main"
[project.optional-dependencies]
offline = ["gpt-oss>=0.0.8; python_version >= '3.12'", "universal-offline-ai-chatbot>=0.1.0; python_version >= '3.12'", "transformers>=4.57.0; python_version >= '3.12'", "torch>=2.8.0; python_version >= '3.12'", "accelerate>=0.34.2; python_version >= '3.12'"]
[dependency-groups]
dev = [
"agi-core",
"pytest",
"pytest-cov",
"pytest-local-badge",
"pytest-asyncio",
"ydata-profiling",
"genbadge[coverage]",
"pypi-cleanup",
]
[tool.uv.extra-build-dependencies]
htmlmin = ["legacy-cgi"]
ydata-profiling = ["standard-imghdr"]
[tool.uv.sources.agi-core]
path = "./src/agilab/core/agi-core"
editable = true
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = false
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = [
"agilab",
"agilab.resources*",
]
exclude = [
"agilab.core*",
"agilab.test*",
"agilab.apps.*",
".idea*",
"test*",
"build*",
".venv*"
]
[tool.setuptools.package-data]
agilab = [
"resources/*.*",
"resources/help/*",
"pages/*.py",
"apps-pages/README.md",
"apps-pages/*/pyproject.toml",
"apps-pages/*/*.py",
"apps-pages/*/src/*/*.py",
"*.toml",
"*.ipynb",
]
[tool.setuptools.exclude-package-data]
agilab = [
# Keep internal tests out of the distribution.
"test/*",
]
"agilab.apps" = [
# Never ship repository apps (often local symlinks to private checkouts).
"*_project/*",
# Drop generated artifacts if they exist locally.
"*/build/*",
"*/__pycache__/*",
"*/.pytest_cache/*",
"*/.venv/*",
"*/.coverage*",
# Local-only configs created during installs/runs.
"builtin/*/src/app_args_form.py",
"builtin/*/src/app_settings.toml",
]
[tool.mypy]
mypy_path = [
"stubs",
]
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.pyment]
source_dir = "agilab"
format = "google"
[tool.pytest.ini_options]
# Let pytest discover tests from repo root
testpaths = [
"test",
"src/agilab/core/test",
"src/agilab/core/agi-env/test",
]
# Make the core packages importable when running pytest from the repo root
pythonpath = [
"src/agilab/core/agi-env/src",
"src/agilab/core/agi-node/src",
"src/agilab/core/agi-cluster/src",
]
# (merge everything you had inline here)
asyncio_mode = "auto"
markers = [
"integration: live/external integration checks (excluded from default CI suite)",
]
# addopts = "--import-mode=importlib" # if you had it
filterwarnings = [
"ignore:ast\\.Num is deprecated.*:DeprecationWarning:ast",
"ignore:Theme names and color schemes are lowercase.*:DeprecationWarning:IPython\\.core\\.ultratb",
]
addopts = [
"--cov=agilab", "--cov=agi_core", "--cov=agi_env", "--cov=agi_cluster", "--cov=agi_node",
"--cov-report=term-missing:skip-covered"
]
[tool.coverage.run]
branch = true
source = ["agi_core", "agi_env", "agi_cluster", "agi_node"]