neuralfetch.download.Zenodo

class neuralfetch.download.Zenodo(*, study: str, dset_dir: str | Path, folder: str = 'download', record_id: str)[source][source]

Download datasets from Zenodo (zenodo.org).

Fetches file metadata from the Zenodo REST API, then downloads each file. Zip archives are extracted automatically; other files are saved as-is. Checksums provided by the API are verified after download.

Parameters:
  • study (str) – Study name used for the success-file path.

  • record_id (str) – Zenodo record ID (numeric string, e.g. "1234567"). Found in the record URL: https://zenodo.org/records/<record_id>.