-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (144 loc) · 3.77 KB
/
pyproject.toml
File metadata and controls
154 lines (144 loc) · 3.77 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[build-system]
requires = ["setuptools>=68.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "agribound"
dynamic = ["version"]
description = "Agribound: Unified agricultural field boundary delineation from satellite imagery using geospatial foundation models, pre-trained segmentation, and embeddings."
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.10"
authors = [
{name = "Sayantan Majumdar"},
{name = "Justin L. Huntington"},
{name = "Peter ReVelle"},
{name = "Soheil Nozari"},
{name = "Ryan G. Smith"},
{name = "M. F. Hasan"},
{name = "Matt Bromley"},
{name = "Jayden Atkin"},
{name = "Jeremy Rapp"},
{name = "Eric R. Jensen"},
{name = "David Ketchum"},
{name = "Samapriya Roy"},
]
keywords = [
"agriculture",
"field-boundaries",
"remote-sensing",
"satellite-imagery",
"deep-learning",
"earth-engine",
"geospatial",
"segmentation",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
]
dependencies = [
"rasterio>=1.3",
"geopandas>=0.14",
"shapely>=2.0",
"pyproj>=3.6",
"fiona>=1.9",
"numpy>=1.24",
"scipy>=1.11",
"scikit-learn>=1.3",
"click>=8.1",
"pyyaml>=6.0",
"tqdm>=4.65",
"huggingface-hub>=0.20",
"dask[distributed]>=2024.1",
"leafmap>=0.30",
]
[project.optional-dependencies]
gee = [
"earthengine-api>=0.1.380",
"geemap>=0.30",
"geedim>=2.0",
]
delineate-anything = [
"ultralytics>=8.3",
"opencv-python>=4.8",
"numba>=0.58",
]
ftw = [
"torch>=2.1",
"torchvision>=0.16",
"torchgeo>=0.6",
"segmentation-models-pytorch>=0.3",
"lightning>=2.6",
# PyPI ftw-tools (v1.x) provides semantic segmentation only.
# For instance segmentation (Delineate-Anything via FTW), install the
# dev version: pip install -e path/to/ftw-baselines
"ftw-tools>=1.4",
]
geoai = [
"geoai-py>=0.30",
"termcolor",
]
prithvi = [
"terratorch>=0.1",
"torch>=2.1",
"torchgeo>=0.6",
"kornia>=0.7",
]
samgeo = [
"segment-geospatial[samgeo2]>=1.3",
"torch>=2.1",
]
tessera = [
"torch>=2.1",
"geoai-py>=0.30",
"geotessera",
]
docs = [
"mkdocs>=1.5",
"mkdocs-material>=9.5",
"mkdocstrings[python]>=0.24",
"mkdocs-jupyter>=0.24",
]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.3",
]
all = [
"agribound[gee,delineate-anything,ftw,geoai,prithvi,samgeo,tessera]",
]
[project.scripts]
agribound = "agribound.cli:main"
[project.urls]
Homepage = "https://github.com/montimaj/agribound"
Documentation = "https://montimaj.github.io/agribound"
Repository = "https://github.com/montimaj/agribound"
Issues = "https://github.com/montimaj/agribound/issues"
[tool.setuptools.dynamic]
version = {attr = "agribound._version.__version__"}
[tool.setuptools.packages.find]
include = ["agribound*"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM"]
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["B018"]
"examples/*.py" = ["E402"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"gpu: requires GPU (deselect with '-m not gpu')",
"gee: requires GEE authentication (deselect with '-m not gee')",
"slow: long-running tests (deselect with '-m not slow')",
]