forked from google/cameratrapai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (124 loc) · 2.82 KB
/
Copy pathpyproject.toml
File metadata and controls
133 lines (124 loc) · 2.82 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "speciesnet"
version = "5.0.3"
authors = [
{name = "Google Camera Traps AI team", email = "cameratraps@google.com"},
]
description = "Tools for classifying species in images from motion-triggered wildlife cameras."
keywords = [
"camera traps",
"conservation",
"wildlife",
"ai",
"species classification",
"wildlife insights",
"speciesnet",
]
readme = "README.md"
license = "Apache-2.0"
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
]
requires-python = ">= 3.9, < 3.13"
dependencies = [
"absl-py",
"cloudpathlib",
"huggingface_hub",
"humanfriendly",
"kagglehub",
"matplotlib",
"numpy < 2.0 ; sys_platform == 'darwin' and platform_machine == 'x86_64'",
"numpy ; sys_platform != 'darwin' or platform_machine != 'x86_64'",
"onnx2torch",
"pandas",
"pillow",
"requests",
"reverse_geocoder",
"tqdm",
"torch >= 2.0",
"yolov5 >= 7.0.8, < 7.0.12",
]
[project.optional-dependencies]
az = [
"cloudpathlib[azure]",
]
gs = [
"cloudpathlib[gs]",
]
s3 = [
"cloudpathlib[s3]",
]
notebooks = [
"ipykernel",
]
server = [
"fastapi",
"litserve",
]
all = [
"speciesnet[az]",
"speciesnet[gs]",
"speciesnet[s3]",
"speciesnet[notebooks]",
"speciesnet[server]",
]
dev = [
"speciesnet[all]",
"black[jupyter]",
"isort",
"pylint",
"pymarkdownlnt",
"pyright",
"pytest",
]
github = [
"speciesnet[dev]",
"pytest-custom_exit_code",
]
[project.urls]
"Homepage" = "https://github.com/google/cameratrapai"
"Wildlife Insights" = "https://www.wildlifeinsights.org"
[tool.black]
extend-exclude = "^/third_party"
[tool.isort]
profile = "google"
line_length = 88
skip_gitignore = true
extend_skip = ["third_party"]
[tool.pymarkdown]
# line-length
plugins.md013.enabled = false
# no-duplicate-heading
plugins.md024.siblings_only = true
[tool.pyright]
exclude = [
"**/.*",
"**/__pycache__",
"**/node_modules",
"third_party",
]
ignore = [
"speciesnet/scripts/run_model_in_chunks.py",
]
useLibraryCodeForTypes = false
[tool.pytest.ini_options]
addopts = "--ignore=third_party"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.setuptools.packages.find]
include = ["speciesnet*"]