Python project deps + package skeleton
Browse filesRuntime requirements for the FastAPI service, Burr FSM, geo stack,
sentence-transformers (Granite Embedding 278M for RAG), and Ollama
client (Granite 4.1 reconciler). Offline-only deps for fixture
pre-compute live in scripts/, not here.
Empty app/{,assets,context,flood_layers}/__init__.py establish the
package layout that the specialists will fill in.
- .gitignore +16 -0
- app/__init__.py +0 -0
- app/assets/__init__.py +0 -0
- app/context/__init__.py +0 -0
- app/flood_layers/__init__.py +0 -0
- requirements.txt +34 -0
.gitignore
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
*.py[cod]
|
| 3 |
+
*.egg-info/
|
| 4 |
+
.venv/
|
| 5 |
+
.env
|
| 6 |
+
.DS_Store
|
| 7 |
+
outputs/
|
| 8 |
+
node_modules/
|
| 9 |
+
*.tmp
|
| 10 |
+
.ruff_cache/
|
| 11 |
+
.pytest_cache/
|
| 12 |
+
|
| 13 |
+
# legacy / intermediate Prithvi artifacts (not shipped)
|
| 14 |
+
data/hls_stack_*.tif
|
| 15 |
+
data/prithvi_runs/
|
| 16 |
+
data/*.legacy_*
|
app/__init__.py
ADDED
|
File without changes
|
app/assets/__init__.py
ADDED
|
File without changes
|
app/context/__init__.py
ADDED
|
File without changes
|
app/flood_layers/__init__.py
ADDED
|
File without changes
|
requirements.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Riprap runtime dependencies (deployment).
|
| 2 |
+
# Offline-only deps (py3dep, terratorch, whitebox-workflows) are NOT here
|
| 3 |
+
# — they only run for the one-time fixture pre-compute in scripts/.
|
| 4 |
+
|
| 5 |
+
# Web + streaming
|
| 6 |
+
fastapi>=0.115
|
| 7 |
+
uvicorn>=0.32
|
| 8 |
+
httpx>=0.27
|
| 9 |
+
pydantic>=2.9
|
| 10 |
+
|
| 11 |
+
# Geo
|
| 12 |
+
geopandas>=1.0
|
| 13 |
+
shapely>=2.0
|
| 14 |
+
pyproj>=3.6
|
| 15 |
+
fiona>=1.10
|
| 16 |
+
rasterio>=1.4
|
| 17 |
+
|
| 18 |
+
# Data
|
| 19 |
+
pandas>=2.2
|
| 20 |
+
pyarrow>=18.0
|
| 21 |
+
numpy>=1.26
|
| 22 |
+
|
| 23 |
+
# RAG: Granite Embedding 278M (CPU torch is sufficient on HF Spaces)
|
| 24 |
+
sentence-transformers>=3.3
|
| 25 |
+
pypdf>=5.0
|
| 26 |
+
|
| 27 |
+
# Granite 4.1 reconciliation via Ollama
|
| 28 |
+
ollama>=0.4
|
| 29 |
+
|
| 30 |
+
# Burr FSM
|
| 31 |
+
burr>=0.40
|
| 32 |
+
|
| 33 |
+
# Misc
|
| 34 |
+
tqdm>=4.66
|