Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (87 loc) · 2.5 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (87 loc) · 2.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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "simpleaudit-studio"
version = "0.5.22"
description = "Production AI model audit platform — one-liner demo mode via uvx"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
"Django==5.2.4",
"djangorestframework==3.16.0",
"drf-spectacular==0.28.0",
"python-dotenv==1.1.1",
"requests==2.32.5",
"httpx>=0.27",
"hatchet-sdk==1.41.0",
"pydantic>=2.7,<3",
"sentry-sdk[django]>=2.0",
"workos==10.4.0",
# The agentic evaluator requires the tracing/evidence APIs from the public
# SimpleAudit main branch; do not point release metadata at a developer's
# local filesystem.
"simpleaudit>=0.4.0,<0.5.0",
"cronsim==2.7",
"psutil>=7.2.2",
"opentelemetry-proto>=1.45.0",
"caddyserver>=2.11.7",
"watchfiles>=1.1.0",
# Chat tracing: the Pipelines filter service (chat/pipelines_service.py)
# forwards Open WebUI chat turns to Langfuse when SIMPLEAUDIT_PIPELINES is on.
"fastapi>=0.111,<1",
"uvicorn[standard]>=0.22",
"langfuse>=3.0.0",
]
# package = false: Studio is run, not installed as a wheel (hatchling rejects
# direct-reference dependencies otherwise).
[tool.uv]
package = false
[tool.hatch.metadata]
allow-direct-references = true
[project.optional-dependencies]
postgres = ["psycopg[binary]==3.2.13"]
server = ["gunicorn==23.0.0"]
dev = [
"factory_boy==3.3.2",
"ruff",
# Test runner stack. xdist is pinned <3.8 because 3.8+ pulls in `greenlet`,
# which does not build on Python 3.11 (the project's lower bound).
"pytest>=8,<9",
"pytest-django>=4.8,<5",
"pytest-xdist>=3.6,<3.8",
"pytest-testmon>=2,<3",
"pytest-env>=1,<2",
]
e2e = ["playwright>=1.45"]
[project.scripts]
simpleaudit-studio = "simpleaudit_studio.cli:main"
spin = "simpleaudit_studio.cli:main"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
ignore = [
# Django model Meta classes, admin ModelAdmins, factory-boy factories, and
# migrations all require mutable class attributes (ordering, constraints,
# list_display, field defaults). RUF012 is a false positive for these
# idioms; the values are never mutated at runtime.
"RUF012",
]
[tool.hatch.build.targets.wheel]
packages = [
"simpleaudit_studio",
"config",
"accounts",
"audits",
"chat",
"infra",
"integrations",
"scenarios",
"model_registry",
"judges",
"prompts",
"deploy",
"templates",
"static",
]