Related tools

React viewer (viz/)

A Vite + React application for exploring output.csv in the browser. See viz/package.json for scripts (typically npm install / npm run dev). Parsing logic lives under viz sources (for example TypeScript helpers that read the CSV layout produced by the model).

Static charts (gen-charts/)

A small Node CLI that ingests output.csv and produces PNG charts using Vega-Lite and resvg. Useful for reports and thumbnails without running the viewer.

Docker

The repository ships a container workflow (.github/workflows/docker-publish.yml) that publishes images to GitHub Container Registry (ghcr.io) on pushes to the default branch and version tags. The published image uses the CLI entry point (coconet with appropriate CMD/entrypoint): reproduce runs by passing YAML, legacy CSV, and paths as container arguments, with volumes for data and outputs.

For the library entry point inside a container, install coconet-python from PyPI in your own image (or extend the Dockerfile) and call load_coconet_config / run_coconet from your application code.

Documentation site

This Jekyll site under documentation/ is built in CI and deployed to GitHub Pages. Local preview:

cd documentation
bundle install
bundle exec jekyll serve --livereload

For GitHub project Pages, pass your repository name as baseurl when previewing subdirectory paths:

bundle exec jekyll serve --baseurl "/coconet-python"

The GitHub Actions workflow sets baseurl automatically from $.