Climate Health Analysis Platform (CHAP)
Project description
Welcome to the Chap modelling platform!
This is the main repository for the Chap modelling platform.
Read more about the Chap project here
Code documentation
The main documentation for the modelling platform is located at https://chap.dhis2.org/chap-modeling-platform/.
Development / contribution
Information about how to contribute to the Chap Modelling Platform: https://chap.dhis2.org/chap-modeling-platform/contributor/.
Issues/Bugs
If you find any bugs or issues when using this code base, we appreciate it if you file a bug report here: https://github.com/dhis2-chap/chap-core/issues/new
Launch development instance using Docker
cp .env.example .env
docker compose up
Rebuilding after a source change
docker compose up will reuse an existing chap-core-chap image if one is
already built — it does not automatically rebuild when you edit source. If
you see a stale chap_core.__version__ or a fix that clearly didn't land
inside the running container, use one of:
make restart # down && up -d --build (preserves volumes incl. chap-db)
make force-restart # down -v && build --no-cache && up (WIPES VOLUMES)
make chap-version # print the chap_core version running inside the container
make restart is the right hammer 90% of the time. make force-restart
also wipes the Postgres volume, so reach for it only when you need a clean
slate. make chap-version is also printed automatically at the end of
make restart so version drift is visible at a glance.
Running with chapkit model overlays
Chapkit-based models ship as opt-in compose overlays. Layer one onto
compose.yml (not compose.ghcr.yml — those two are alternatives, not
stackable) to run chap-core with the chapkit services already
self-registered.
The recommended overlay is compose.chapkit.yml, an umbrella file that
includes every chapkit-converted model. As more models are converted to
chapkit, they get added here so a single -f flag pulls them all in:
docker compose -f compose.yml -f compose.chapkit.yml up -d
If you only want the EWARS service, use the single-model overlay
compose.ewars.yml instead:
docker compose -f compose.yml -f compose.ewars.yml up -d
Deploy on Kubernetes
CHAP can be deployed on Kubernetes using our helm chart which can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chap_core-2.0.0.tar.gz.
File metadata
- Download URL: chap_core-2.0.0.tar.gz
- Upload date:
- Size: 292.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
126349a8e0e81c91a6e35f206aa551c0a4e4e694c1e0d4ed4ef45ca4a4ce5261
|
|
| MD5 |
ce2d0ae3b2335df30d525d739cede154
|
|
| BLAKE2b-256 |
45be4b76fc38eb0dcb93015431b02eb19d04ae7348de66e72df8636ceec55937
|
Provenance
The following attestation bundles were made for chap_core-2.0.0.tar.gz:
Publisher:
push-to-pypi.yml on dhis2-chap/chap-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chap_core-2.0.0.tar.gz -
Subject digest:
126349a8e0e81c91a6e35f206aa551c0a4e4e694c1e0d4ed4ef45ca4a4ce5261 - Sigstore transparency entry: 1755252737
- Sigstore integration time:
-
Permalink:
dhis2-chap/chap-core@daa015d56ff61a6fe011eca43cfd435c8f6ab69d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/dhis2-chap
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push-to-pypi.yml@daa015d56ff61a6fe011eca43cfd435c8f6ab69d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file chap_core-2.0.0-py3-none-any.whl.
File metadata
- Download URL: chap_core-2.0.0-py3-none-any.whl
- Upload date:
- Size: 390.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75ce5036ba5b3b471971ae446be7ac50de7cf4211293881b8570a08c03445ddd
|
|
| MD5 |
c3d0c1d101fb60a000b1b467d9d1cd76
|
|
| BLAKE2b-256 |
517d66b706b07b99630f73de3d7cdda56981f74ef50e53dff4c0c30772384975
|
Provenance
The following attestation bundles were made for chap_core-2.0.0-py3-none-any.whl:
Publisher:
push-to-pypi.yml on dhis2-chap/chap-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chap_core-2.0.0-py3-none-any.whl -
Subject digest:
75ce5036ba5b3b471971ae446be7ac50de7cf4211293881b8570a08c03445ddd - Sigstore transparency entry: 1755252746
- Sigstore integration time:
-
Permalink:
dhis2-chap/chap-core@daa015d56ff61a6fe011eca43cfd435c8f6ab69d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/dhis2-chap
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
push-to-pypi.yml@daa015d56ff61a6fe011eca43cfd435c8f6ab69d -
Trigger Event:
workflow_dispatch
-
Statement type: