-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1.05 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (42 loc) · 1.05 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
[project]
name = "ollama-instructor-proxy"
version = "0.1.0"
description = "A local API proxy that forces structured JSON output from Ollama using instructor validation/repair loops"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"httpx>=0.27.0",
"instructor>=1.7.0",
"openai>=1.50.0",
"pydantic>=2.9.0",
"pydantic-settings>=2.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-httpx>=0.30.0",
"ruff>=0.6.0",
]
langchain = [
"langchain>=0.3.0",
"langchain-openai>=0.3.0",
]
[project.scripts]
ollama-instructor-proxy = "ollama_instructor_proxy.main:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/ollama_instructor_proxy"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]