-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpyproject.toml
131 lines (122 loc) · 2.89 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
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "speciesnet"
version = "4.0.3"
authors = [
{name = "Google Camera Traps AI team", email = "[email protected]"},
]
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 = {file = "LICENSE"}
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
]
requires-python = ">= 3.9, < 3.12"
dependencies = [
"absl-py",
"cloudpathlib",
"huggingface_hub",
"humanfriendly",
"kagglehub",
"matplotlib",
"numpy",
"pandas",
"pillow",
"requests",
"reverse_geocoder",
"tensorflow >= 2.12, < 2.16 ; sys_platform != 'darwin' or platform_machine != 'arm64'",
"tensorflow-macos >= 2.12, < 2.15 ; sys_platform == 'darwin' and platform_machine == 'arm64'",
"tensorflow-metal ; sys_platform == 'darwin' and platform_machine == 'arm64'",
"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",
]
useLibraryCodeForTypes = false
[tool.pytest.ini_options]
addopts = "--ignore=third_party"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.setuptools.packages.find]
include = ["speciesnet*"]