-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
64 lines (55 loc) · 1.62 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
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "llm-batch-pipeline"
version = "0.1.0"
description = "Generic LLM batch processing pipeline with pluggable preprocessing, validation, evaluation, and export"
readme = "docs/user-guide.md"
requires-python = ">=3.13"
license = "Apache-2.0"
keywords = ["llm", "batch", "pipeline", "openai", "ollama", "evaluation"]
dependencies = [
"charset-normalizer>=3.4.0",
"httpx>=0.27.0",
"mail-parser-reply>=1.36",
"openai>=2.0.0",
"openpyxl>=3.1.5",
"prometheus-client>=0.24.0",
"pydantic>=2.12.0",
"python-dotenv>=1.1.0",
"rich>=14.0.0",
"selectolax>=0.4.7",
]
[project.optional-dependencies]
email = [
"lingua-language-detector>=2.2.0",
"rapidfuzz>=3.14.0",
]
[dependency-groups]
dev = [
"pylint>=3.3.0",
"pytest>=8.3.5",
"ruff>=0.11.0",
]
[project.scripts]
llm-batch-pipeline = "llm_batch_pipeline.cli:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"unit: fast, pure tests for helpers and serializers",
"integration: stage wiring and filesystem tests",
"e2e: installed CLI and full batch roundtrip tests",
"contract: backend request/response contract tests",
"benchmark: inference-speed and threshold checks",
"live_openai: tests that require a real OpenAI backend",
"live_ollama: tests that require a real Ollama backend",
]
[tool.hatch.build.targets.wheel]
packages = ["src/llm_batch_pipeline"]
[tool.ruff]
target-version = "py313"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "SIM"]