-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (94 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
101 lines (94 loc) · 2.83 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
[project]
name = "geoengine"
version = "0.8.0"
authors = [{ name = "Geo Engine GmbH", email = "info@geoengine.de" }]
description = "A package for easy access to Geo Engine instances"
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Database :: Front-Ends",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Software Development :: Libraries",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
]
readme = { file = "README.md", content-type = "text/markdown" }
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"geoengine-openapi-client == 0.0.31",
"geopandas >=1.0,<2.0",
"matplotlib >=3.5,<3.11",
"numpy >=1.21,<2.5",
"owslib >=0.27,<0.36",
"pillow >=10.0,<13",
"pyarrow >=17.0,<23",
"python-dotenv >=0.19,<1.3",
"rasterio >=1.3,<2",
"requests >= 2.26,<3",
"rioxarray >=0.9.1, <0.21",
"StrEnum >=0.4.6,<0.5", # TODO: use from stdlib when `python_requires = >=3.11`
"vega >= 3.5,<4.2",
"websockets >= 14.2,<16",
"xarray >=0.19,<2026.1",
"urllib3 >= 2.1, < 2.7",
"pydantic >= 2.10.6, < 2.13",
'skl2onnx >=1.19.1,<1.20',
]
[project.urls]
Homepage = "https://www.geoengine.io"
Repository = "https://github.com/geo-engine/geoengine-python"
[project.optional-dependencies] # TODO: use [dependency-groups] in the future
dev = [
"build >=0.7,<1.4",
"mypy >=1.14,<2.0",
"pdoc3 >=0.10,<0.12",
"ruff >=0.12.3,<0.13", # formatter & linter
"setuptools >=62,<81",
"twine >=3.4,<6.3", # PyPI
"types-requests >=2.26,<3", # mypy type hints
"types-setuptools >=71.1,<81", # mypy type hints
"wheel >=0.37,<0.46",
]
test = [
"psycopg >=3.2,<4",
"pytest >=6.3,<10",
"pytest-cov >=6.0,<7.1",
"requests_mock >=1.9,<2",
"scikit-learn >=1.5,<1.9",
]
examples = [
"cartopy >=0.22,<0.26", # for WMS example
"ipympl >=0.9.4,<0.10", # for ML example
"ipyvuetify >=1.10,<1.12", # for ML app
"ipywidgets >=8.1.5,<9", # for ML example
"nbconvert >=7,<8", # convert notebooks to Python
"scipy >=1.7,<2", # for WMS example
"voila >=0.5,<0.6", # for ML app
]
[build-system]
requires = ["setuptools>=62"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
[tool.ruff.lint.per-file-ignores]
"geoengine/__init__.py" = [
"F401", # module imported but unused
]
"geoengine/workflow_builder/__init__.py" = [
"F401", # module imported but unused
]
"tests/__init__.py" = [
"F401", # module imported but unused
]
[tool.pytest.ini_options]
testpaths = ["tests"]