-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (87 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
101 lines (87 loc) · 2.22 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
[tool.poetry]
name = "vdms-dataprep"
version = "0.1.0"
description = "A microservice based on VDMS VectorDB for data preparation for text, video and images sources"
authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
fastapi = "^0.121.3"
uvicorn = "^0.38.0"
gunicorn = "^23.0.0"
pydantic = "^2.11.7"
pydantic-settings = "^2.10.1"
python-multipart = "^0.0.22"
setuptools = "^80.9.0"
transformers = "^4.52.4"
huggingface-hub = "^0.32.3"
langchain = "^1.2.9"
langchain-core = "^1.2.13"
langchain-vdms = "^0.2.0"
langsmith = "^0.7.1"
opencv-python-headless = "^4.11.0.86"
pillow = "^12.1.1"
tzlocal = "^5.2"
decord = "^0.6.0"
einops = "^0.8.0"
minio = "^7.1.15"
requests = "^2.31.0"
httpcore = "^1.0.9"
urllib3 = "^2.6.3"
fonttools = "^4.61.1"
filelock = "^3.20.3"
orjson = "^3.11.7"
# Multimodal Embedding Service as wheel dependency
multimodal-embedding-serving = {path = "wheels/multimodal_embedding_serving-0.1.1-py3-none-any.whl"}
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.cpu]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
pytest-mock = "^3.14.0"
coverage = "^7.6.4"
pytest-asyncio = "^0.24.0"
black = "^24.10.0"
isort = "^5.13.2"
[tool.poetry.group.cpu.dependencies]
numpy = { version = ">=2.1.0", source = "pytorch-cpu" }
torch = { version = "==2.8.0", source = "pytorch-cpu" }
torchvision = { version = "==0.23.0", source = "pytorch-cpu" }
[[tool.poetry.source]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "module"
[tool.black]
line-length = 100
exclude = "(/(.git | .venv | venv | .pytest_cache)/)"
[tool.isort]
py_version = 310
profile = "black"
line_length = 100
indent = " "
multi_line_output = 3
include_trailing_comma = true
src_paths = ["src", "tests"]
[tool.coverage]
[tool.coverage.run]
branch = false
source = ["src", "tests"]
[tool.coverage.report]
ignore_errors = true
show_missing = true
exclude_lines = [
"# noqa",
"# notest",
"#notest",
"# testfree",
"#testfree",
"raise NotImplementedError",
]
[tool.coverage.html]
directory = ".coverage-report"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"