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 thedataladPython API. Selective downloading uses the inheritedinclude/excludeglobs; 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 getjobs (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: