forked from hexo-ai/sia
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 2.7 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (95 loc) · 2.7 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sia-agent"
version = "0.5.1"
description = "SIA: Self-Improving AI framework"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Hexo", email = "sia@hexo.ai" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
keywords = ["ai", "research", "self-improving", "agents", "science"]
dependencies = [
"python-dotenv>=1.0",
"numpy>=2.0",
"pandas>=2.0",
"scikit-learn>=1.4",
"fastapi>=0.110",
"uvicorn>=0.29",
"pydantic>=2.0",
"claude-agent-sdk>=0.1.50",
]
[project.optional-dependencies]
claude = ["claude-agent-sdk>=0.1.50"]
openhands = ["openhands-ai>=1.6.0"]
pydantic-ai = ["pydantic-ai>=1.0"]
mlebench = ["google-generativeai>=0.8"]
dev = [
"pytest>=7.0",
"ruff>=0.11",
"httpx>=0.27", # required by fastapi's TestClient (starlette.testclient)
]
[project.scripts]
sia = "sia.orchestrator:main"
[project.urls]
Homepage = "https://github.com/hexo-ai/sia"
Repository = "https://github.com/hexo-ai/sia"
[tool.setuptools.packages.find]
include = ["sia*"]
[tool.setuptools.package-data]
"sia" = [
"defaults/providers/*.json",
"defaults/profiles/*.json",
"web/static/*",
]
"sia.tasks" = [
"_shared/*",
"*/data/public/**/*",
"*/data/private/**/*",
"*/data/training_data/**/*",
"*/reference/**/*",
]
[tool.ruff]
target-version = "py311"
line-length = 120
# Task reference agents and sample executions are shipped as template data,
# read by the meta-agent as text. They are not part of the package source.
extend-exclude = ["sia/tasks/"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
"B905", # zip without strict= (python 3.10 compat)
]
[tool.ruff.lint.isort]
known-first-party = ["sia"]
[tool.ty.environment]
python-version = "3.11"
extra-paths = ["tests"]
[tool.ty.src]
# Task reference agents are shipped as templates (read as text by the meta-agent),
# not as importable source. Skip type-checking them.
exclude = ["sia/tasks/"]
[tool.ty.rules]
not-iterable = "ignore" # false positive on guarded attribute access
unresolved-import = "warn" # tests use sys.path manipulation