forked from drivendataorg/zamba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
100 lines (91 loc) · 2.28 KB
/
pyproject.toml
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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "zamba"
version = "2.4.1"
authors = [
{name = "DrivenData", email = "[email protected]"}
]
description = "Zamba is a command line tool and Python package to identify animals in camera trap videos and train custom models for new species and habitats."
readme = "README.md"
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
dependencies = [
"appdirs",
"av",
"cloudpathlib[s3]",
"ffmpeg-python",
"future",
"fvcore",
"gitpython",
"loguru",
"numpy<2.0.0",
"opencv-python-headless",
"openpyxl",
"pandas>=2.0.0",
"pandas_path",
"pqdm",
"pydantic<2.0.0",
"python-dotenv",
"pytorch-lightning>=2.0.0",
"pytorchvideo",
"scikit-learn",
"tensorboard",
"thop==0.0.31.post2005241907",
"timm",
"torch",
"torchinfo",
"torchvision>=0.10.0",
"tqdm",
"typer[all]",
"yolox @ git+https://github.com/r-b-g-b/YOLOX.git@build-requirements",
]
[project.scripts]
zamba = "zamba.cli:app"
[project.optional-dependencies]
tests = [
"coverage",
"Pillow>=9.0.0",
"pytest",
"pytest-coverage",
"pytest-mock",
"wheel",
]
densepose = [
"torch<2.1.0", # densepose broken after 2.1.0; https://github.com/facebookresearch/detectron2/issues/5110
"detectron2 @ git+https://github.com/facebookresearch/detectron2.git",
"detectron2-densepose @ git+https://github.com/facebookresearch/detectron2@main#subdirectory=projects/DensePose"
]
[project.urls]
"Homepage" = "https://github.com/drivendataorg/zamba"
"Documentation" = "https://zamba.drivendata.org/docs/stable/"
"Bug Tracker" = "https://github.com/drivendataorg/zamba/issues"
"Changelog" = "https://github.com/drivendataorg/zamba/blob/master/HISTORY.md"
[tool.black]
line-length = 99
include = '\.pyi?$'
exclude = '''
(
/(
\.git
| \.venv
)/
)
'''
[tool.coverage.run]
source = ["zamba"]
[tool.coverage.report]
include = ["zamba/**/*.py"]
omit = ["zamba/**/__*.py"]
[tool.mypy]
ignore_missing_imports = true
allow_redefinition = true
[tool.pytest.ini_options]
testpaths = ["tests/"]
addopts = "--cov-append --cov=zamba --cov-report=term --cov-report=html --cov-report=xml"