Expand description
Utility functions for dataset authors.
Provides helpers for downloading files, extracting archives, verifying SHA256 hashes, and managing the dataset acquisition workflow.
Functions§
- acquire_
dataset - Acquire a dataset file using a caller-provided preparation closure.
- create_
temp_ dir - Create a temporary directory under the given parent directory.
- download_
to - Download a remote file into the given directory.
- evaluate_
storage - Evaluate the storage state for a dataset file.
- file_
sha256_ matches - Verify that a file’s SHA256 hash matches an expected value.
- unzip
- Extract a zip archive into a target directory using
ZipArchiveinzipcrate.