Python library for caching