Installation¶
Requirements¶
Python 3.10 or newer
One or more execution backends available on
PATHfor the cabs you run (for examplewsclean, or a container runtime such asdocker/podman/apptainer, or aslurm/kubernetescluster).
From PyPI¶
$ pip install stimela-ninja
From GitHub¶
To install the latest development version:
$ pip install git+https://github.com/SpheMakh/stimela-ninja.git
Either way, this installs:
the
ninjacommand-line tool, andthe importable
shinobipackage.
Note
The distribution is named stimela-ninja on PyPI, the command is
ninja, and the import name is shinobi.
For development¶
The project uses uv:
$ git clone https://github.com/SpheMakh/stimela-ninja.git
$ cd stimela-ninja
$ uv venv .venv && uv pip install -e . --group dev
$ .venv/bin/pytest
$ .venv/bin/ruff check src tests
To build the documentation locally:
$ uv sync --group docs
$ uv run sphinx-build -b html docs docs/_build/html
$ open docs/_build/html/index.html