File size: 3,846 Bytes
8bcb60f |
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 |
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lilith"
version = "0.1.0"
description = "Long-range Intelligent Learning for Integrated Trend Hindcasting - 90-day weather forecasting"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
authors = [
{ name = "LILITH Contributors" }
]
keywords = [
"weather",
"forecasting",
"machine-learning",
"climate",
"deep-learning",
"pytorch",
"transformer"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software 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 :: Artificial Intelligence",
]
dependencies = [
# Core ML
"torch>=2.1.0",
"torchvision>=0.16.0",
"lightning>=2.1.0",
# Graph Neural Networks
"torch-geometric>=2.4.0",
# Transformers & Attention
"xformers>=0.0.23",
"einops>=0.7.0",
# Data Processing
"numpy>=1.24.0",
"pandas>=2.0.0",
"polars>=0.19.0",
"xarray>=2023.10.0",
"zarr>=2.16.0",
"pyarrow>=14.0.0",
"h5py>=3.10.0",
# Scientific Computing
"scipy>=1.11.0",
"scikit-learn>=1.3.0",
# Geospatial
"cartopy>=0.22.0",
"pyproj>=3.6.0",
# API & Web
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.5.0",
"httpx>=0.25.0",
# Database
"sqlalchemy>=2.0.0",
"asyncpg>=0.29.0",
"redis>=5.0.0",
# Utilities
"tqdm>=4.66.0",
"rich>=13.7.0",
"typer>=0.9.0",
"python-dotenv>=1.0.0",
"pyyaml>=6.0.0",
"omegaconf>=2.3.0",
# Logging & Monitoring
"loguru>=0.7.0",
"wandb>=0.16.0",
# Visualization
"matplotlib>=3.8.0",
"plotly>=5.18.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.21.0",
"ruff>=0.1.0",
"black>=23.10.0",
"mypy>=1.6.0",
"pre-commit>=3.5.0",
"ipython>=8.17.0",
"jupyter>=1.0.0",
"nbformat>=5.9.0",
]
train = [
"deepspeed>=0.12.0",
"bitsandbytes>=0.41.0",
"accelerate>=0.24.0",
"tensorboard>=2.15.0",
]
inference = [
"onnx>=1.15.0",
"onnxruntime-gpu>=1.16.0",
"tritonclient[all]>=2.39.0",
"ray[serve]>=2.8.0",
]
all = [
"lilith[dev,train,inference]",
]
[project.scripts]
lilith = "lilith.cli:app"
[project.urls]
Homepage = "https://github.com/lilith-weather/lilith"
Documentation = "https://lilith-weather.github.io/lilith"
Repository = "https://github.com/lilith-weather/lilith"
Issues = "https://github.com/lilith-weather/lilith/issues"
[tool.hatch.build.targets.wheel]
packages = ["lilith"]
[tool.ruff]
target-version = "py310"
line-length = 100
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by black)
"B008", # do not perform function calls in argument defaults
"B905", # zip without explicit strict
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["ARG"]
[tool.black]
target-version = ["py310", "py311", "py312"]
line-length = 100
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-v --cov=lilith --cov-report=term-missing"
|