allow prime_cache to be used as a decorator and contextmanager
update requirements'