joblib.Memory

class joblib.Memory(cachedir, save_npy=True, mmap_mode=None, debug=False)

A context object for caching a function’s return value each time it is called with the same input arguments.

All values are cached on the filesystem, in a deep directory structure.

see The Memory class

This Page