-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (105 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
116 lines (105 loc) · 2.45 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 120
lint.select = ["E", "F"]
lint.extend-select = ["I"]
lint.ignore = ["E501"]
fix = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
docstring-code-line-length = 160
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.setuptools.packages.find]
include = ["focoos**"]
[tool.setuptools.package-data]
"focoos.model_registry" = ["*.json"]
"focoos.assets" = ["*.jpg"]
[project]
name = "focoos"
version = "0.25.0"
description = "Focoos SDK"
readme = "README.md"
requires-python = ">=3.10,<3.13"
dependencies = [
"requests",
"Pillow~=10.2.0",
"supervision~=0.27.0",
"opencv-python~=4.11.0.86",
"pydantic~=2.11.4",
"pydantic-settings~=2.8.1",
"tqdm~=4.67.1",
"numpy~=2.2.6",
"scipy~=1.14.1",
"psutil~=7.0.0",
"matplotlib~=3.10.1",
"colorama~=0.4.6",
"ipython",
"fvcore~=0.1.4",
"pycocotools~=2.0.8",
"faster_coco_eval~=1.6.6",
"tensorboard~=2.19.0",
"orjson~=3.11.5",
"gradio~=5.31.0",
"torch~=2.7.1",
"torchvision~=0.22.0",
"typer>=0.16.0",
"shapely~=2.1.2",
]
authors = [{ name = "focoos.ai", email = "info@focoos.ai" }]
keywords = [
"computer_vision",
"object_detection",
"segmentation",
"model_serving",
]
[project.optional-dependencies]
tensorrt = [
"tensorrt==10.5.0",
"tensorrt-cu12==10.5.0",
"tensorrt-cu12-bindings==10.5.0",
"tensorrt-cu12-libs==10.5.0"]
onnx = [
"onnxruntime-gpu==1.23.2",
"onnx>=1.18.0",
"onnxscript~=0.5.1",
"optimum[onnxruntime]~=2.0.0",
"huggingface-hub>=0.34.0",
]
onnx-cpu = [
"onnxruntime==1.23.2",
"onnx>=1.18.0",
"onnxscript~=0.5.1",
"optimum[onnxruntime]~=2.0.0",
"huggingface-hub>=0.34.0",
]
dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"ruff",
"python-dotenv",
"pre-commit~=4.2.0",
"sniffio~=1.3.1",
"ipykernel~=6.29.5",
"tox",
"tox-uv",
]
docs = [
"mkdocs>=1.6.0,<2.0.0",
"mkdocs-material>=9.5.28,<10.0.0",
"mkdocstrings[python]>=0.29.0,<0.30.0",
"mkdocs-include-markdown-plugin>=6.2.1,<7.0.0",
]
[project.scripts]
focoos = "focoos.cli.cli:app"
[[tool.uv.dependency-metadata]]
name = "tensorrt-cu12"
requires-dist = ["tensorrt-cu12-bindings", "tensorrt-cu12-libs"]
[[tool.uv.dependency-metadata]]
name = "tensorrt-cu12-libs"
requires-dist = ["nvidia-cuda-runtime-cu12"]