neuralfetch.download.Openneuro

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

Download datasets from OpenNeuro.

The inherited include/exclude globs map directly onto the openneuro-py API (files and directories to download / skip). Uses Unix path expansion (* for any number of wildcard characters and ? for one; e.g. 'sub-1_task-*.fif'). As an example, to download only subject ‘1’ and run ‘01’ files use include=['sub-1/**/*run-01*']. The pattern ** matches any files and zero or more directories, subdirectories and symbolic links to directories. See BaseDownload.

The nworkers parameter controls how many files are downloaded in parallel (forwarded to openneuro.download as max_concurrent_downloads). The openneuro-py default is 5; raise it to speed up datasets with many files when network bandwidth allows.

Fields:
requirements: ClassVar[tuple[str, ...]] = ('openneuro-py>=2026.7.1',)[source]
field nworkers: int = 5[source]