Harvesting your results 🌽

The autojob.harvest subpackage provides functions to harvest the results from task directories.

from pathlib import Path
from autojob.harvest.harvest import harvest

data = harvest(Path(...))

This will load the inputs, outputs, and metadata for each task in the directory provided. Users have the ability to customize the harvesting process by registering harvesters as plugins. autojob defines the HarvesterBase interface for callables that can harvest results from directories.

See also

Tasks

archive(): serialize tasks as CSV or JSON files