API Reference

create(path, base_url[, version, …]) Create a new Pooch with sensible defaults to fetch data files.
os_cache(project) Default cache location based on the operating system.
file_hash(fname) Calculate the SHA256 hash of a given file.
make_registry(directory, output[, recursive]) Make a registry of files and hashes for the given directory.
Pooch(path, base_url[, registry, urls]) Manager for a local data storage that can fetch from a remote source.
Pooch.fetch(fname) Get the absolute path to a file in the local storage.
Pooch.is_available(fname) Check availability of a remote file without downloading it.
Pooch.get_url(fname) Get the full URL to download a file in the registry.
Pooch.load_registry(fname) Load entries from a file and add them to the registry.
test([doctest, verbose, coverage]) Run the test suite.