pooch.make_registry

pooch.make_registry(directory, output, recursive=True)[source]

Make a registry of files and hashes for the given directory.

This is helpful if you have many files in your test dataset as it keeps you from needing to manually update the registry.

Parameters
  • directory (str) – Directory of the test data to put in the registry. All file names in the registry will be relative to this directory.

  • output (str) – Name of the output registry file.

  • recursive (bool) – If True, will recursively look for files in subdirectories of directory.