Installation

How to install INIF and its optional converter extras.

Requirements

From PyPI

Install the core package:

pip install inif

The core install is enough to read and write .inif.json / .inif files, build documents from raw text via from_texts, tag and select tokens, render the HTML viewer, and run the CLI.

Optional extras

The converter for evaluation frameworks lives behind extras so the framework itself doesn’t become a hard dependency.

Inspect AI

For Inspect AI eval log conversion:

pip install "inif[inspect]"

This pulls inspect-ai, which is required to call from_eval_log / from_eval_file on .eval files.

every_eval_ever (EEE)

For streaming records from the evaleval/EEE_datastore HuggingFace dataset:

pip install "inif[evaleval]"

This pulls datasets. Local JSON / JSONL conversion via from_eval_json does not need this extra.

From source

git clone https://github.com/ndif-team/inif
cd inif
make dev      # or: uv sync --all-extras

make dev installs the package in editable mode together with the dev tools (pytest, ruff, ty) and Quarto-based docs dependencies.

Verify the install

inif --help

If the CLI prints its subcommands (view, convert), the install is good.