DHIS2 EO API allows data from multiple sources (primarily earth observation data) to be extracted, transformed and loaded into DHIS2 and the Chap Modelling Platform.
Install dependencies (requires uv):
uv sync
Start the app:
uv run uvicorn main:app --reload
If you can't use uv (e.g. mixed conda/forge environments):
python -m venv .venv
source .venv/bin/activate
pip install -e .
uvicorn main:app --reload
conda create -n dhis2-eo-api python=3.13
conda activate dhis2-eo-api
pip install -e .
uvicorn main:app --reload
make sync— install dependencies with uvmake run— start the app with uv
Root endpoint:
http://127.0.0.1:8000/ -> Welcome to DHIS2 EO API
Docs:
Examples:
COG info:
COG preview:
Tile:
CHIRPS COG test file:
https://data.chc.ucsb.edu/products/CHIRPS/v3.0/daily/final/rnl/2026/chirps-v3.0.rnl.2026.01.31.tif