Library and command-line application to interact with datasets in AHORN.
ahorn-loader
is both a command-line application and a Python package to interact with the AHORN repository for higher-order datasets.
To install and use ahorn-loader
from the command line, you can run the following command:
uvx ahorn-loader [command] [args]
Commands include:
ls
: List available datasets in AHORN.download
: Download a dataset from AHORN.validate
: Validate a specific dataset file (e.g., before adding it to AHORN).
To get a full help of available commands and options, run ahorn-loader --help
.
To use ahorn-loader
as a Python package, you can install it via pip
(or some other package manager of your choice):
pip install ahorn-loader
Then, you can use it in your Python scripts:
import ahorn_loader
# download a dataset
ahorn_loader.download('dataset_name', 'target_path')
# validate a specific dataset (e.g., before adding it to AHORN)
ahorn_loader.validate('path_to_dataset_file')
Funded by the European Union (ERC, HIGH-HOPeS, 101039827). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.