-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
145 lines (127 loc) · 4.9 KB
/
pyproject.toml
File metadata and controls
145 lines (127 loc) · 4.9 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[tool.poetry]
name = "oceanstream"
version = "0.1.1"
description = "Process oceanographic measurements from USVs and write partitioned GeoParquet datasets with geospatial metadata."
authors = ["Andrei Neacsu <andrei@oceanstream.io>"]
license = "MIT"
readme = "oceanstream/README.md"
homepage = "https://oceanstream.io"
keywords = ["oceanography", "geoparquet", "stac", "saildrone", "geospatial", "usv", "marine-data"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Oceanography",
]
# Explicitly include only the oceanstream package
packages = [{ include = "oceanstream" }]
# Exclude non-essential files from the package
exclude = [
"oceanstream/tests/",
"oceanstream/docs/",
"oceanstream/MANIFEST.in",
"oceanstream/pyproject.toml",
"oceanstream/**/*.bak*",
"oceanstream/**/__pycache__/",
"oceanstream/**/.pytest_cache/",
# Root-level files/folders that shouldn't be included
"docs/",
"docs-internal/",
".docs-website/",
"notebooks/",
"examples/",
"scripts/",
"raw_data/",
"data/",
"htmlcov/",
"_oceanstream-website-static/",
".mkdocs-shadcn-fork/",
"*.md",
"Makefile",
"*.toml.example",
"test_*.py",
"demo_*.py",
"analyze_*.py",
]
[tool.poetry.scripts]
oceanstream = "oceanstream.cli:app"
[tool.poetry.dependencies]
python = ">=3.11,<3.14"
# Core dependencies (always installed)
pandas = ">=2.1"
pyarrow = ">=14"
azure-storage-blob = ">=12.19"
typer = ">=0.12"
rich = ">=13.7"
tqdm = ">=4.66"
# Optional dependencies for specific processing modules
geopandas = { version = ">=0.14", optional = true }
shapely = { version = ">=2.0", optional = true }
pynmea2 = { version = ">=1.18", optional = true }
seabirdscientific = { version = ">=2.7", optional = true }
# Echodata dependencies (pinned for echopype compatibility)
echopype = { git = "https://github.com/OceanStreamIO/echopype.git", branch = "oceanstream-integration", optional = true }
numpy = { version = "1.26.4", optional = true }
xarray = { version = "2024.11.0", optional = true }
dask = { version = "2024.9.0", extras = ["complete"], optional = true }
distributed = { version = "2024.9.0", optional = true }
zarr = { version = ">=2.16", optional = true }
netcdf4 = { version = ">=1.6", optional = true }
fsspec = { version = "2025.3.2", optional = true }
numcodecs = { version = "0.14.1", optional = true }
bottleneck = { version = "1.5.0", optional = true }
openpyxl = { version = ">=3.0", optional = true }
adlfs = { version = ">=2024.4.0", optional = true }
# Environmental data fallback (Copernicus Marine Service)
copernicusmarine = { version = ">=1.0.0", optional = true }
gsw = { version = ">=3.6.0", optional = true }
# Visualization (optional for echodata)
matplotlib = { version = ">=3.7", optional = true }
hvplot = { version = ">=0.9", optional = true }
datashader = { version = ">=0.16", optional = true }
holoviews = { version = ">=1.18", optional = true }
panel = { version = ">=1.3", optional = true }
bokeh = { version = ">=3.3", optional = true }
# Dask image processing (for advanced denoise kernels)
dask-image = { version = ">=2023.8", optional = true }
# GPS / location processing
haversine = { version = ">=2.8", optional = true }
# ERDDAP / OPeNDAP data access (for NorSOOP FerryBox, EMSO, EMODnet)
erddapy = { version = ">=2.0", optional = true }
[tool.poetry.extras]
# Processing module extras
geotrack = ["geopandas", "shapely", "pynmea2", "seabirdscientific"]
# NorSOOP/FerryBox data access (THREDDS/ERDDAP)
norsoop = ["erddapy"]
# Echodata processing (EK60/EK80 echosounders)
echodata = [
"echopype", "numpy", "xarray", "dask", "distributed", "zarr", "netcdf4",
"fsspec", "numcodecs", "bottleneck", "openpyxl",
"copernicusmarine", "gsw", "adlfs", "haversine"
]
echodata-viz = ["matplotlib", "hvplot", "datashader", "holoviews", "panel", "bokeh"]
multibeam = [] # Future: MB-System Python bindings when available
adcp = [] # Future: ADCP processing libraries
# Convenience extras
all = [
"geopandas", "shapely", "pynmea2", "seabirdscientific",
"echopype", "numpy", "xarray", "dask", "distributed", "zarr", "netcdf4",
"fsspec", "numcodecs", "bottleneck", "openpyxl", "adlfs",
"copernicusmarine", "gsw", "matplotlib", "hvplot", "datashader",
"holoviews", "panel", "bokeh", "haversine", "erddapy"
]
geo = ["geopandas", "shapely", "pynmea2", "seabirdscientific"] # Legacy alias for geotrack
[tool.poetry.group.dev.dependencies]
pytest = ">=8.0"
pytest-cov = ">=5.0"
ruff = ">=0.6"
mypy = ">=1.10"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"