A simple python cache that supports item-level ttl