Reference

Python API

inif.converters.evaleval Convert every_eval_ever instance-level records into INIF documents.
inif.converters.inspect_ai Convert Inspect AI EvalLog objects and .eval files into INIF documents.
inif.converters.text Build INIF documents from raw text strings or text files on disk.
inif.flat Flat parallel-array view of an InifDocument for high-throughput scans.
inif.indexed Indexed archive format — incremental writes, lower-level save/load, partial sample selection.
inif.io Path-based readers for INIF documents — unified across .inif and .inif.json.
inif.models Core Pydantic models — InifDocument, Sample, TokenOrSeqRef, Sequence, Text, and friends.
inif.schema JSON Schema export and validation for INIF documents.
inif.selectors TokenSelection container; selection methods live on Sample / InifDocument.
inif.sequences Sequence (de)duplication implementations powering InifDocument.deduplicate_sequences and .expand_sequences.
inif.tagging Type aliases and modes for the tagging methods on Sample / InifDocument.
inif.viewer HTML viewer implementations powering InifDocument.render_html / .save_html / .show.