neuralfetch.download.Datalad

pydantic model neuralfetch.download.Datalad[source][source]

Download datasets via DataLad and git-annex.

Clones a git-annex repository into download/<repo_name>/ and fetches its content with the datalad Python API. Selective downloading uses the inherited include/exclude globs; with no filters the whole dataset is fetched. A password-free SSH key is required for git operations.

Parameters:
  • repo_url (str) – URL of the DataLad repository to clone.

  • threads (int) – Number of parallel datalad get jobs (default: 1).

  • include (list of str) – Dataset-relative POSIX globs selecting a subset to fetch. See BaseDownload.

  • exclude (list of str) – Dataset-relative POSIX globs selecting a subset to fetch. See BaseDownload.

Fields:
requirements: ClassVar[tuple[str, ...]] = ('datalad', 'datalad-installer')[source]
field repo_url: str [Required][source]
field threads: int = 1[source]
property repo_name: str[source]