-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (104 loc) · 2.67 KB
/
pyproject.toml
File metadata and controls
114 lines (104 loc) · 2.67 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
[project]
name = "galileo"
version = "0.1.0"
description = "Learning Global and Local Features in Pretrained Remote Sensing Models"
readme = "README.md"
requires-python = ">=3.10,<3.12"
license = { text = "MIT" }
authors = [
{ name = "Gabriel Tseng", email = "gabriel.tseng@mail.mcgill.ca" },
{ name = "Anthony Fuller", email = "anthonydavidfuller@gmail.com" }
]
keywords = ["remote sensing", "earth observation", "deep learning", "pytorch", "foundation models"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"wandb==0.16.3",
"numpy==1.26.4",
"einops==0.7.0",
"torch==2.2.1",
"torchvision==0.17.1",
"earthengine-api==0.1.391",
"rioxarray==0.15.1",
"rasterio==1.3.10",
"tqdm==4.66.2",
"geopandas==0.14.3",
"fiona==1.9.6",
"geobench==1.0.0",
"h5py==3.10.0",
"scikit-learn==1.4.1.post1",
"requests>=2.31.0",
"types-requests",
"python-dotenv>=1.0.0",
"fast_pytorch_kmeans",
"satlaspretrain-models",
"timm",
"breizhcrops",
]
[project.optional-dependencies]
dev = [
"ruff==0.2.0",
"mypy==1.8.0",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pre-commit==3.6.0",
"marimo",
]
[project.urls]
Homepage = "https://github.com/nasaharvest/galileo"
Repository = "https://github.com/nasaharvest/galileo"
Documentation = "https://github.com/nasaharvest/galileo#readme"
"Bug Tracker" = "https://github.com/nasaharvest/galileo/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.ruff]
# Enable the isort rules.
lint.extend-select = ["I"]
line-length = 99
exclude = ["anysat"]
[tool.pytest.ini_options]
# Pytest configuration
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.coverage.run]
source = ["src"]
omit = [
"*/tests/*",
"*/test_*.py",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
[dependency-groups]
dev = [
"marimo>=0.18.4",
]