-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
66 lines (58 loc) · 1.61 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
# File: pyproject.toml
[tool.poetry]
name = "ollama-tools-api"
version = "1.0.0"
description = "FastAPI backend for OpenAI-compatible tool calling with Pydantic validation, SSE streaming, containerized with Docker and powered by Ollama."
authors = ["Jeff Browning <jeff+ollamatools@craftcoded.com>"]
package-mode = false
[tool.poetry.dependencies]
python = "3.13.*"
pandas = "^2.0"
huggingface-hub = ">=0.15.1"
tenacity = "^8.2.3"
fastapi = "^0.109.0"
uvicorn = "^0.24.0"
httpx = "^0.26.0"
pydantic = "^2.6.0"
rich = ">=14.0.0"
openai = "^1.23.0"
transitions = "^0.9.0"
debugpy = "^1.8.1"
dotenv = "^0.9.9"
tiktoken = "^0.10.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
pytest-asyncio = "^0.23.2"
ruff = "^0.5.3"
mypy = "^1.8.0"
pre-commit = "^3.6.2"
dotenv-linter = "^0.4.0"
pydocstyle = "^6.3.0"
black = "^25.1.0"
poethepoet = "^0.36.0"
streamlit = "^1.47.0"
[tool.ruff]
line-length = 100
lint.select = ["E", "F", "B"]
lint.ignore = ["E501"]
exclude = ["tests/fixtures/"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.mypy]
python_version = "3.13"
ignore_missing_imports = true
strict = true
[tool.black]
line-length = 100
target-version = ["py313"]
skip-string-normalization = false
[tool.poe.tasks]
debug-test = "python -Xfrozen_modules=off -m debugpy --listen 5678 --wait-for-client toolbench/run_tests.py"
test = "python toolbench/run_tests.py"
export-main = "python scripts/export_branch_txt_for_ollama.py --branch main"
ollama-capacity = "python scripts/model_support_check.py"