-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (69 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
79 lines (69 loc) · 1.58 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
[project]
name = "fairpredictor"
version = "0.5.1"
description = "A package for running predictions using fAIr"
authors = [
{name = "kshitijrajsharma", email = "skshitizraj@gmail.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ai-edge-litert>=1.2.0",
"geomltoolkits>=2.0.0",
"onnxruntime>=1.20.1",
"opencv-python-headless>=4.10",
"pillow>=9.1.0",
"pydantic>=2.0",
"requests>=2.32",
]
[project.optional-dependencies]
tensorflow = ["tensorflow>=2.15"]
pytorch = ["ultralytics>=8.0", "torch"]
all = ["fairpredictor[tensorflow,pytorch]"]
[dependency-groups]
api = [
"fastapi>=0.115.12",
"python-dotenv>=1.0.1",
"slowapi>=0.1.9",
"uvicorn>=0.33.0",
]
dev = [
"commitizen>=3.31.0",
"pre-commit>=4.0",
"pytest>=8.3.5",
"ruff>=0.15",
"ty>=0.0.0a9",
]
load-test = [
"locust>=2.25.0",
]
notebook = [
"contextily>=1.6.2",
"matplotlib>=3.9.4",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B", "SIM", "RUF"]
[tool.ty.rules]
unused-ignore-comment = "ignore"
unused-type-ignore-comment = "ignore"
[tool.ty.environment]
python-version = "3.10"
[tool.commitizen]
name = "cz_conventional_commits"
version_provider = "pep621"
tag_format = "v$version"
version_scheme = "semver"
update_changelog_on_bump = true
major_version_zero = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.uv.build-backend]
module-name = "predictor"
module-root = ""
[build-system]
requires = ["uv-build>=0.9.28,<0.10"]
build-backend = "uv_build"