python-memoization
A powerful caching library for Python, with TTL support and multiple algorithm options.