-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (105 loc) · 3.27 KB
/
Copy pathpyproject.toml
File metadata and controls
124 lines (105 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
[project]
name = "pixie-qa"
version = "0.8.6"
description = "Automated quality assurance for AI applications"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
keywords = ["llm", "evals", "testing", "ai", "observability", "opentelemetry"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"opentelemetry-sdk>=1.27.0",
"opentelemetry-api>=1.27.0",
"openinference-instrumentation>=0.1.44",
"autoevals>=0.1.0",
"pydantic>=2.0",
"jsonpickle>=4.0.0",
"python-dotenv>=1.2.2",
"openai>=2.29.0",
"starlette>=1.0.0",
"uvicorn>=0.42.0",
"watchfiles>=1.1.1",
]
[project.urls]
Homepage = "https://github.com/yiouli/pixie-qa"
Repository = "https://github.com/yiouli/pixie-qa"
Documentation = "https://yiouli.github.io/pixie-qa/"
"Bug Tracker" = "https://github.com/yiouli/pixie-qa/issues"
[project.optional-dependencies]
openai = ["openinference-instrumentation-openai"]
anthropic = ["openinference-instrumentation-anthropic"]
langchain = ["openinference-instrumentation-langchain"]
google = ["openinference-instrumentation-google-genai"]
dspy = ["openinference-instrumentation-dspy"]
all = [
"openinference-instrumentation-openai",
"openinference-instrumentation-anthropic",
"openinference-instrumentation-langchain",
"openinference-instrumentation-google-genai",
"openinference-instrumentation-dspy",
]
[project.scripts]
pixie = "pixie.cli.main:main"
pixie-test = "pixie.cli.test_command:main"
[dependency-groups]
dev = [
"pytest>=8.0",
"mypy>=1.10",
"ruff>=0.4",
"pytest-asyncio>=1.3.0",
"playwright>=1.58.0",
"pdoc3>=0.11.6",
"pre-commit>=4.5.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
packages = ["pixie"]
[tool.hatch.build.targets.sdist.force-include]
"pixie/assets/webui.html" = "pixie/assets/webui.html"
[tool.hatch.build.targets.wheel]
packages = ["pixie"]
[tool.hatch.build.targets.wheel.force-include]
"pixie/assets/webui.html" = "pixie/assets/webui.html"
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = "autoevals.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "jsonpickle.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "watchfiles.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pixie.evals.scorers"
disable_error_code = ["import-untyped"]
[[tool.mypy.overrides]]
# autoevals has no py.typed; subclassing its types yields spurious [misc] errors
module = "tests.pixie.evals.test_scorers"
disable_error_code = ["import-untyped", "misc"]
[tool.ruff]
target-version = "py311"
line-length = 99
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["UP017"]
[tool.ruff.lint.per-file-ignores]
"pixie/evals/scorers.py" = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests/pixie"]