A simple caching utility in Python 3.