-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (110 loc) · 3.44 KB
/
pyproject.toml
File metadata and controls
125 lines (110 loc) · 3.44 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openinference-instrumentation"
dynamic = ["version"]
description = "OpenInference instrumentation utilities"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9, <3.15"
authors = [
{ name = "OpenInference Authors", email = "oss@arize.com" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"opentelemetry-api",
"opentelemetry-sdk",
"openinference-semantic-conventions>=0.1.26",
"wrapt>=1.14.0,<2",
]
[project.optional-dependencies]
test = [
"jsonschema",
"openai",
"pydantic>=2.0.0",
"pytest-asyncio",
"pytest-recording",
"types-jsonschema",
]
[project.urls]
Homepage = "https://github.com/Arize-ai/openinference/tree/main/python/openinference-instrumentation"
[tool.hatch.version]
path = "src/openinference/instrumentation/version.py"
[tool.hatch.build.targets.sdist]
exclude = [
"src/openinference/instrumentation/*/*",
]
[tool.hatch.build]
only-packages = true
[tool.hatch.build.targets.wheel]
packages = ["src/openinference"]
exclude = [
"src/openinference/instrumentation/*/*",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = [
"tests",
]
[tool.mypy]
strict = true
explicit_package_bases = true
exclude = [
"src/openinference/instrumentation/agentspec/*",
"src/openinference/instrumentation/agno/*",
"src/openinference/instrumentation/anthropic/*",
"src/openinference/instrumentation/autogen/*",
"src/openinference/instrumentation/autogen_agentchat/*",
"src/openinference/instrumentation/bedrock/*",
"src/openinference/instrumentation/beeai/*",
"src/openinference/instrumentation/crewai/*",
"src/openinference/instrumentation/dspy/*",
"src/openinference/instrumentation/google_adk/*",
"src/openinference/instrumentation/google_genai/*",
"src/openinference/instrumentation/groq/*",
"src/openinference/instrumentation/guardrails/*",
"src/openinference/instrumentation/haystack/*",
"src/openinference/instrumentation/instructor/*",
"src/openinference/instrumentation/langchain/*",
"src/openinference/instrumentation/litellm/*",
"src/openinference/instrumentation/llama_index/*",
"src/openinference/instrumentation/mcp/*",
"src/openinference/instrumentation/mistralai/*",
"src/openinference/instrumentation/openai/*",
"src/openinference/instrumentation/openai_agents/*",
"src/openinference/instrumentation/openllmetry/*",
"src/openinference/instrumentation/portkey/*",
"src/openinference/instrumentation/pydantic_ai/*",
"src/openinference/instrumentation/smolagents/*",
"src/openinference/instrumentation/vertexai/*",
]
[[tool.mypy.overrides]]
module=["wrapt"]
ignore_missing_imports = true
[tool.ruff]
exclude= [
"src/openinference/instrumentation/*/*",
]
line-length = 100
target-version = "py38"
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["E402", "E501"]
"tests/**/*.py" = ["E501"]
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.ruff.lint.isort]
force-single-line = false