datalad.api.crawl_init

datalad.api.crawl_init(args=None, template=None, template_func=None, save=False)

Initialize crawling configuration

Allows to specify template and function to generate a crawling pipeline

Examples:

$ datalad crawl-init –template openfmri –template-func superdataset_pipeline

$ datalad crawl-init –template fcptable dataset=Baltimore tarballs=True

Parameters:
  • args (sequence of str or None, optional) – keyword arguments to pass into the template function generating actual pipeline, organized in a dict. [Default: None]
  • template (str or None, optional) – the name of the template. [Default: None]
  • template_func – the name of the function. [Default: None]
  • save (bool, optional) – flag to save file into git repo. [Default: False]