Chap-core

Latest version: v1.0.6

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.5

This release includes:
* Google Earth Engine fix
* Minor bug fixes

Installation on a server
Step 1 | NB! Only needed if you already have the chap-core repo, otherwise skip to step 2
2.1 If you already have the folder since you previously cloned the CHAP core repo, go into the folder (chap-core) and run the command below. This will shut down running containers related to CHAP. Be aware it will also delete stored data in CHAP, such as predictions.
bash
docker compose down -v

2.2. Fetch all new versions
bash
git fetch --tags

2.3. Run the command below to switch the repo to v1.0.5, this is not necessary if you cloned the repo/started from scratch (step 1)
bash
git switch v1.0.5 --detach


Step 2: NB! Only if you have not proceeded with step 1 (you not have the chap-core repo)
Run this command, if you have not cloned the chap-core repo before, or you are starting from scratch, for instance, if you are deploying through GitHub Actions.
bash
git clone --depth 1 --branch v1.0.5 https://github.com/dhis2-chap/chap-core.git


Step 3 | Start chap-core
Within the chap-core folder, rebuild and start the containers in detach mode:
bash
docker compose up --build -d

0.1.1

This release includes:

- Working solution for storing results and data to a PostgreSQL database
- New REST API endpoints (using Celery for job handling and storing results to a database)
- More developer documentation
- Added .9 and .1 to quantiles evaluation plots used in the prediction app
- Div minor bugfixes and improvements

0.0.18

This release includes new features and improvements:

- Better job handling system using Celery (supporting multiple logs running in parallel)
- Variuos improvements to the documentation, including more info about running CHAP on a server, better documentation on how to integrate external models, and a new developer getting started guide
- Better logging and input validation to jobs (better feedback when models crash or something goes wrong)
- A new system for persisting results using a SQL database
- Support for sending polygons (geojson) to models that require that
- Various code cleanup and minor bugfixes

0.0.16

- This release mainly includes improved documentation on how to setup CHAP with the predicions app to integrate CHAP with DHIS2.
- Also includes various bug fixes and improvements related to integrating custom models, along with better documentation on how to do this

0.0.14

- Docker compose working, with integration tests (meaning chap and necessary services can be started and run through docker compose)
- Some technical changes: changed to uv and started to use ruff for linting
- Various documentation improvements, new endpoint for all documentation
- Rest API endpoint for evaluation

0.0.9

Various minor changes:

- Updated docker file so that it is correct with new package name
- Added github project with development plans (linked from readme)
- Automatically generate command line interface for chap-models
- Added model registry with models with specifications
- General cleanup (removed time-consuming imports)
- Synced list models endpoint with predict endpoint in rest API
- Some documentation improvements (better installation instructions, etc)

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.