-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
185 lines (174 loc) · 5.46 KB
/
Copy pathpyproject.toml
File metadata and controls
185 lines (174 loc) · 5.46 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
[build-system]
requires = ["hatchling >= 1.26"]
build-backend = "hatchling.build"
[project]
name = "environmentaltools"
version = "3.2.7"
authors = [
{ name = "Manuel Cobos", email = "mcobosb@ugr.es" },
{ name = "Pedro Otiñar", email = "potinar@ugr.es" }
]
maintainers = [
{ name = "Manuel Cobos", email = "mcobosb@ugr.es" },
{ name = "Pedro Otiñar", email = "potinar@ugr.es" }
]
description = "environmentaltools is an open-source Python package for modular environmental management, integrating timeseries analysis, raster-based processing, decision matrices, sensor workflows, and legal-administrative support for coastal and terrestrial systems."
readme = { file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.12"
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 4 - Beta",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
dependencies = [
"affine",
"cartopy",
"cdo", # download/cordex_data module
"cdsapi", # download/marine_copernicus module
"cmocean",
"configobj", # download module
"earthengine-api", # download/google_earth_engine module
"esgf-pyclient", # download/cordex_data module (PyESGF)
"folium", # spatial module
"geedim", # download module
"geemap", # download/google_earth_engine module
"geopandas",
"glob2", # spatiotemporal module
"intake-esgf", # download module (modern ESGF client)
"loguru",
"lxml",
"matplotlib",
"numpy",
"openpyxl",
"pandas",
"pillow",
"psutil",
"pydap", # download module
"pymcdm", # spatiotemporal/multicriteria module
"pypdf2",
"pyproj",
"pyshp",
"shapely", # geometry operations in spatiotemporal/raster.py
"python-dotenv",
"pytmd", # spectral/analysis module
"rasterio",
"requests",
"scikit-image", # spatiotemporal module
"scikit-learn",
"scipy",
"seaborn",
"statsmodels",
"tabula-py",
"timescale", # spectral/analysis module (time conversions)
"tqdm", # download module
"utide", # spectral/analysis module
"werkzeug", # download module
"windrose",
"xarray",
]
[project.optional-dependencies]
# Subsets for minimal installations - these are module-specific dependencies
download = [
"cdo", # cordex_data.py
"cdsapi", # marine_copernicus.py
"configobj", # cordex_data.py
"earthengine-api", # google_earth_engine.py
"esgf-pyclient", # cordex_data.py (PyESGF for CORDEX)
"intake-esgf", # cordex_data.py (modern ESGF client)
"geedim", # google_earth_engine.py
"geemap", # google_earth_engine.py
"pandas", # multiple files
"pydap", # data access
"requests", # multiple files
"tqdm", # cordex_data.py
"werkzeug", # cordex_data.py
"xarray", # cordex_data.py
]
spatial = [
"folium", # geotools.py
"geopandas", # analysis.py, geotools.py
"matplotlib", # geotools.py, analysis.py
"numpy", # multiple files
"pandas", # multiple files
"pyproj", # geotools.py
"scipy", # analysis.py, geotools.py
]
spatiotemporal = [
"folium", # geotools.py
"geopandas", # analysis.py, geotools.py
"matplotlib", # geotools.py, analysis.py
"numpy", # multiple files
"pandas", # multiple files
"pyproj", # geotools.py
"scipy", # analysis.py, geotools.py
"glob2", # file handling
"loguru", # raster.py
"pymcdm", # multicriteria.py
"scikit-image", # indicators.py (skimage)
"scipy", # indicators.py, utils.py
"xarray", # raster.py
]
temporal = [
"loguru", # simulation.py, regimes.py
"matplotlib", # simulation.py
"numpy", # multiple files
"pandas", # multiple files
"scipy", # multiple files
]
spectral = [
"matplotlib", # analysis.py
"numpy", # analysis.py
"pandas", # analysis.py
"pytmd", # analysis.py (tide modeling)
"scipy", # analysis.py
"timescale", # analysis.py (time conversions)
"utide", # analysis.py (harmonic analysis)
]
processes = [
"matplotlib", # compute.py
"numpy", # multiple files
"pandas", # multiple files
"scipy", # multiple files
"xarray", # load.py, compute.py
]
docs = [
"sphinx",
"sphinx-rtd-theme",
]
[project.urls]
Homepage = "https://barrier.dinamicambiental.es"
Documentation = "https://environmentaltools.readthedocs.io/"
Tracker = "https://github.com/mcobosb/environmentaltools/issues"
Repository = "https://github.com/mcobosb/environmentaltools"
Changelog = "https://github.com/mcobosb/environmentaltools/CHANGELOG.md"
Contributors = "https://github.com/mcobosb/environmentaltools/CONTRIBUTORS.md"
[tool.hatch.build.targets.wheel]
packages = ["src/environmentaltools"]
[tool.hatch.build.targets.sdist]
exclude = [
"src/environmentaltools/data",
"src/environmentaltools/examples",
]
[tool.hatch.build.targets.wheel.force-include]
# Only include these specific patterns if needed
# Exclude data and examples from wheel
[tool.hatch.build]
exclude = [
"src/environmentaltools/data",
"src/environmentaltools/examples",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
[tool.poetry.dev-dependencies]
pytest = "^7.4"