From the source tree (recommended for development)
cd /path/to/meridian-tools
pip install -e ".[dev]"
The [dev] extra installs pytest, ruff, and mypy for running the test suite and
linter.
Editable install without dev extras
pip install -e .
Verify the install
meridian-tools --help
You should see the CLI help output listing the run and demo subcommands.
This command is deliberately lightweight — it does not import TensorFlow, NumPy,
or Meridian.
This guide takes you from a fresh install to your first completed run in under
five minutes using the bundled demo data.
1. Run a bundled demo
List the available demos:
meridian-tools demo --list
Output:
timeseries
geo_panel
Run the timeseries demo:
meridian-tools demo timeseries
When run from the source checkout, this creates a dated run directory under
runs/demos/. When run from an installed package, the default output root is
./runs/demos/ relative to your current working directory. Each demo produces
a full staged output layout.
2. Inspect the run directory
After the demo completes, find the created run directory:
ls runs/demos/
You will see a directory like demo-timeseries_20260402_073500/.
The name comes from the demo’s project.name (demo-timeseries) plus a
timestamp. The bundled demos now default to full-sample fits, so LOO and WAIC
outputs are available in the assessment stage by default. Inside: