-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
114 lines (98 loc) · 3.17 KB
/
pyproject.toml
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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "log10-io"
version = "0.16.0"
authors = ["log10 team"]
license = "MIT"
description = "Unified LLM data management"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [
{ include = "log10", from = "src" },
]
[tool.poetry.scripts]
log10 = "log10.__main__:cli"
[tool.poetry.group.dev.dependencies]
build = "^0.10.0"
pytest = "^8.0.0"
requests-mock = "^1.11.0"
respx = "^0.20.2"
ruff = "^0.3.2"
pytest-asyncio = "^0.23.6"
[project.urls]
"Homepage" = "https://github.com/log10-io/log10"
"Bug Tracker" = "https://github.com/log10-io/log10/issues"
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
openai = "<2"
anthropic = "<1"
requests = "^2.32.2"
python-dotenv = "^1.0.0"
backoff = "^2.2.1"
pytest = ">=8.0.0"
pytest-metadata = ">=1.0.0"
langchain = {version = "^0.2.10", optional = true}
langchain-community = {version = "^0.2.19", optional = true}
litellm = {version = ">=1.49.6", optional = true}
lamini = {version = "^2.1.8", optional = true}
google-cloud-aiplatform = {version = ">=1.44.0", optional = true}
mistralai = {version = "^0.1.5", optional = true}
together = {version = "^1.0.1", optional = true}
mosaicml-cli = {version = "^0.5.30", optional = true}
google-cloud-bigquery = {version = "^3.11.4", optional = true}
google-generativeai = {version = "^0.6.0", optional = true}
click = {version = "^8.1.7", optional = true}
rich = {version = "^13.7.1", optional = true}
tabulate = {version = "^0.9.0", optional = true}
pandas = {version = ">=2", optional = true}
anyio = ">=4.4.0"
cryptography = {version = ">=43.0.1", optional = true}
tqdm = ">=4.66.3"
zipp = ">=3.19.1"
jinja2 = ">=3.1.4"
aiohttp = ">=3.10.11"
urllib3 = ">=2.2.2"
certifi = ">=2024.7.4"
scikit-learn = ">=1.5.0"
magentic = {version = "0.32.0", optional = true}
[tool.poetry.extras]
autofeedback_icl = ["magentic"]
litellm = ["litellm"]
langchain = ["langchain", "langchain-community"]
gemini = ["google-cloud-aiplatform"]
mistralai = ["mistralai"]
together = ["together"]
mosaicml = ["mosaicml-cli"]
google-generativeai = ["google-generativeai"]
lamini = ["lamini"]
cli = ["click", "rich", "tabulate", "pandas"]
[tool.poetry.plugins."pytest11"]
log10_managed_evaluation = "log10.pytest_log10_managed_evaluation.plugin"
[tool.ruff]
# Never enforce `E501` (line length violations).
lint.ignore = ["C901", "E501", "E741", "F402", "F823" ]
lint.select = ["C", "E", "F", "I", "W"]
line-length = 119
# Ignore import violations in all `__init__.py` files.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403", "F811"]
"log10/langchain.py" = ["E402"]
"examples/logging/*.py" = ["E402", "F821"]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["log10"]
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"