API Reference¶
Core¶
create (path, base_url[, version, …]) |
Create a new Pooch with sensible defaults to fetch data files. |
Pooch (path, base_url[, registry, urls]) |
Manager for a local data storage that can fetch from a remote source. |
Utilities¶
os_cache (project) |
Default cache location based on the operating system. |
make_registry (directory, output[, recursive]) |
Make a registry of files and hashes for the given directory. |
file_hash (fname) |
Calculate the SHA256 hash of a given file. |
check_version (version[, fallback]) |
Check that a version string is PEP440 compliant and there are no unreleased changes. |
Downloaders¶
HTTPDownloader (**kwargs) |
Download manager for fetching files over HTTP/HTTPS. |
Processors¶
Unzip ([members]) |
Processor that unpacks a zip archive and returns a list of all files. |
Untar ([members]) |
Processor that unpacks a tar archive and returns a list of all files. |
Decompress ([method]) |
Processor that decompress a file and returns the decompressed version. |