CodeBrowser / python-package / cachetools
cachetools==7.1.4
# Extensible memoizing collections and decorators
$ pip install cachetools
downloads/wk
76,940,904
license
version
7.1.4
python
>=3.10
What is cachetools?
cachetools provides memoization tools for Python that cache function results and data to avoid redundant computations. It includes decorator functions and cache data structures (LRU, LFU, TTL, etc.) that let you control how cached data is stored and evicted. Developers use it to improve application performance by storing expensive operation results and reusing them instead of recalculating.