entropice/pyproject.toml

161 lines
4 KiB
TOML
Raw Normal View History

2025-09-26 10:42:35 +02:00
[project]
2025-10-26 18:28:46 +01:00
name = "entropice"
2025-09-26 10:42:35 +02:00
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [{ name = "Tobias Hölzer", email = "tobiashoelzer@hotmail.com" }]
2025-11-22 18:56:34 +01:00
requires-python = ">=3.13,<3.14"
2025-09-26 10:42:35 +02:00
dependencies = [
"aiohttp>=3.12.11",
"bokeh>=3.7.3",
2025-10-24 16:36:18 +02:00
"bottleneck>=1.6.0",
2025-09-26 10:42:35 +02:00
"cartopy>=0.24.1",
"cdsapi>=0.7.6",
2025-10-21 18:42:01 +02:00
"cyclopts>=4.0.0",
2026-01-08 20:00:09 +01:00
"dask>=2025.11.0",
2025-09-26 10:42:35 +02:00
"distributed>=2025.5.1",
"earthengine-api>=1.6.9",
"eemont>=2025.7.1",
2025-11-07 15:56:54 +01:00
"entropy",
2025-09-26 10:42:35 +02:00
"flox>=0.10.4",
"folium>=0.19.7",
"geemap>=0.36.3",
2025-09-26 10:42:35 +02:00
"geopandas>=1.1.0",
"h3>=4.2.2",
2025-10-28 20:44:00 +01:00
"ipycytoscape>=1.3.3",
2025-09-26 10:42:35 +02:00
"ipykernel>=6.29.5",
"ipywidgets>=8.1.7",
"mapclassify>=2.9.0",
"matplotlib>=3.10.3",
"netcdf4>=1.7.2",
2025-11-22 18:56:34 +01:00
"numba>=0.61.2",
2025-10-24 16:36:18 +02:00
"numbagg>=0.9.3",
2025-11-22 18:56:34 +01:00
"numpy>=2.2.6",
2025-09-26 10:42:35 +02:00
"odc-geo[all]>=0.4.10",
2025-10-24 16:36:18 +02:00
"opt-einsum>=3.4.0",
2025-11-22 18:56:34 +01:00
"pyarrow>=18.1.0",
2025-09-26 10:42:35 +02:00
"requests>=2.32.3",
"rich>=14.0.0",
"rioxarray>=0.19.0",
"scipy>=1.15.3",
2025-10-21 18:42:01 +02:00
"seaborn>=0.13.2",
2025-11-22 18:56:34 +01:00
"smart-geocubes[stac]>=0.1.0",
2025-09-26 10:42:35 +02:00
"stopuhr>=0.0.10",
2025-10-28 20:44:00 +01:00
"ultraplot>=1.63.0",
2025-09-26 10:42:35 +02:00
"xanimate",
"xarray>=2025.9.0",
2025-12-09 17:10:43 +01:00
"xdggs",
2025-09-26 10:42:35 +02:00
"xvec>=0.5.1",
2025-11-07 16:21:16 +01:00
"zarr[remote]>=3.1.3",
"geocube>=0.7.1,<0.8",
2025-11-08 22:44:08 +01:00
"streamlit>=1.50.0,<2",
"altair[all]>=5.5.0,<6",
2025-11-22 18:56:34 +01:00
"h5netcdf>=1.7.3,<2",
"streamlit-folium>=0.25.3,<0.26",
"st-theme>=1.2.3,<2",
"xgboost>=3.1.1,<4",
"s3fs>=2025.10.0,<2026",
"xarray-spatial",
2025-12-09 17:10:43 +01:00
"cupy-xarray>=0.1.4,<0.2",
"memray>=1.19.1,<2",
"xarray-histogram>=0.2.2,<0.3",
"antimeridian>=0.4.5,<0.5",
"duckdb>=1.4.2,<2",
2025-12-18 22:49:25 +01:00
"pydeck>=0.9.1,<0.10",
"pypalettes>=0.2.1,<0.3",
2026-01-11 22:17:15 +01:00
"ty>=0.0.11,<0.0.12",
"ruff>=0.14.11,<0.15",
2026-01-08 20:00:09 +01:00
"pandas-stubs>=2.3.3.251201,<3",
"pytest>=9.0.2,<10",
2026-01-11 22:17:15 +01:00
"autogluon-tabular[all,mitra]>=1.5.0",
2026-01-16 20:33:10 +01:00
"shap>=0.50.0,<0.51", "h5py>=3.15.1,<4",
2025-09-26 10:42:35 +02:00
]
2025-10-21 18:42:01 +02:00
[project.scripts]
2025-12-28 20:38:51 +01:00
create-grid = "entropice.spatial.grids:main"
darts = "entropice.ingest.darts:cli"
alpha-earth = "entropice.ingest.alphaearth:main"
era5 = "entropice.ingest.era5:cli"
arcticdem = "entropice.ingest.arcticdem:cli"
train = "entropice.ml.training:cli"
2026-01-11 22:17:15 +01:00
autogluon = "entropice.ml.autogluon_training:cli"
2025-10-26 18:28:46 +01:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
2025-10-21 18:42:01 +02:00
[tool.uv]
package = true
2025-11-22 18:56:34 +01:00
[[tool.uv.index]]
name = "nvidia"
url = "https://pypi.nvidia.com"
explicit = true
2025-09-26 10:42:35 +02:00
[tool.uv.sources]
2026-01-08 20:00:09 +01:00
# entropyc = { git = "ssh://git@github.com/AlbertEMC2Stein/entropyc", branch = "refactor/tobi" }
2025-11-07 15:56:54 +01:00
entropy = { git = "ssh://git@forgejo.tobiashoelzer.de:22222/tobias/entropy.git" }
2025-09-26 10:42:35 +02:00
xanimate = { git = "https://github.com/davbyr/xAnimate" }
2025-11-22 18:56:34 +01:00
xdem = { git = "https://github.com/GlacioHack/xdem" }
2025-12-09 17:10:43 +01:00
xdggs = { git = "https://github.com/relativityhd/xdggs", branch = "feature/make-plotting-useful" }
2025-11-22 18:56:34 +01:00
xarray-spatial = { git = "https://github.com/relativityhd/xarray-spatial" }
2026-01-08 20:00:09 +01:00
# cudf-cu12 = { index = "nvidia" }
# cuml-cu12 = { index = "nvidia" }
# cuspatial-cu12 = { index = "nvidia" }
2025-11-07 15:56:54 +01:00
[tool.ruff]
line-length = 120
2025-11-07 15:56:54 +01:00
[tool.ruff.lint.pyflakes]
# Ignore libraries when checking for unused imports
allowed-unused-imports = [
"hvplot.pandas",
"hvplot.xarray",
"rioxarray",
"odc.geo.xr",
"cupy_xarray",
"xdggs",
"xvec",
]
[tool.pixi.workspace]
2025-11-22 18:56:34 +01:00
channels = ["nvidia", "conda-forge", "rapidsai"]
channel-priority = "disabled"
2025-11-07 15:56:54 +01:00
platforms = ["linux-64"]
[tool.pixi.activation.env]
SCIPY_ARRAY_API = "1"
2025-12-23 14:29:47 +01:00
FAST_DATA_DIR = "./data"
2025-11-07 15:56:54 +01:00
[tool.pixi.system-requirements]
cuda = "12"
[tool.pixi.pypi-dependencies]
entropice = { path = ".", editable = true }
[tool.pixi.tasks]
2025-11-07 16:21:16 +01:00
dashboard = { cmd = [
"streamlit",
"run",
2025-12-18 22:49:25 +01:00
"src/entropice/dashboard/app.py",
2025-11-07 16:21:16 +01:00
"--server.port",
"8501",
"--server.address",
"0.0.0.0",
] }
2025-11-07 15:56:54 +01:00
[tool.pixi.dependencies]
pytorch-gpu = ">=2.5.1,<3"
cupy = ">=13.6.0,<14"
nccl = ">=2.27.7.1,<3"
cudnn = ">=9.13.1.26,<10"
cusparselt = ">=0.8.1.1,<0.9"
2025-11-22 18:56:34 +01:00
cuda-version = "12.9.*"
2026-01-08 20:00:09 +01:00
# cudf = ">=25.10.0,<26"
# cuml = ">=25.10.0,<26"
2025-12-09 17:10:43 +01:00
healpix-geo = ">=0.0.6"
2026-01-08 20:00:09 +01:00
scikit-learn = ">=1.4.0,<1.8.0"
pyarrow = ">=7.0.0,<21.0.0"
cudf = ">=25.12.0,<26"
cuml = ">=25.12.0,<26"