-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (112 loc) · 2.76 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (112 loc) · 2.76 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
[build-system]
requires = ["hatchling >= 1.27.0"]
build-backend = "hatchling.build"
[project]
name = "irrigator"
version = "0.1.0"
description = "Open project irrigation decision support for maize — soil water balance, crop modeling, and forecast integration"
readme = "README.md"
license = "PolyForm-Noncommercial-1.0.0"
license-files = [
"LICENSE",
"COMMERCIAL.md",
"DATA_SOURCES.md",
]
requires-python = ">=3.10"
keywords = ["irrigation", "agriculture", "hydrology", "maize", "water-balance", "FAO-56", "evapotranspiration"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Hydrology",
]
dependencies = [
# Core scientific
"numpy>=1.24",
"pandas>=2.0",
"xarray>=2023.6",
"scipy>=1.11",
"dask[complete]>=2023.6",
# Geospatial
"rasterio>=1.3",
"geopandas>=0.13",
"pyproj>=3.6",
"shapely>=2.0",
"fiona>=1.9",
"rioxarray>=0.15",
# Climate and meteorology
"cdsapi>=0.6",
"pyet>=1.3",
"netcdf4>=1.6",
# Remote sensing
"pygeodes>=0.1.7",
# Utilities
"requests>=2.31",
"pyyaml>=6.0",
"owslib>=0.29",
"click>=8.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.4",
"mypy>=1.5",
"pre-commit>=3.4",
]
viz = [
"matplotlib>=3.7",
"cartopy>=0.22",
"folium>=0.14",
]
notebooks = [
"jupyterlab>=4.0",
"ipywidgets>=8.1",
]
all = ["irrigator[dev,viz,notebooks]"]
[project.scripts]
irrigator = "irrigator.cli:main"
[project.urls]
Repository = "https://github.com/Catmosphere314/Irrigator"
"Commercial Licensing" = "mailto:mathys.baldacchino@catmosphere.fr"
Issues = "https://github.com/Catmosphere314/Irrigator/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/irrigator"]
[tool.ruff]
line-length = 100
target-version = "py312"
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # import sorting
"B", # flake8-bugbear
"UP", # pyupgrade
"SIM", # simplify
"C4", # comprehensions
"RUF", # Ruff-specific rules
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.12"
strict = false
warn_unused_configs = true
warn_return_any = true
warn_unreachable = true
exclude = [
"^build/",
"^dist/",
"^.venv/",
]