a simple decorator to cache the results of computationally heavy functions
conda install conda-forge::cache_decorator