A disk-based LRU (Least Recently Used) cache for Python that stores cached data on disk, providing persistent caching across sessions. Current version 2.0.4 supports Python >=3.8, with a simple decorator and function-based API. Release cadence is irregular, with updates as needed.
pip install disklruVerified import paths — ran on the pinned version, not inferred.
Create a disk-based LRU cache and use the decorator to cache function results.
Replace `from disklru import discache` with `from disklru import DiskLRU` and use `cache = DiskLRU(...); @cache.cache()`
Delete the cache_dir or implement versioning in the cache key.
Ensure all cached data can be serialized with pickle.
No dependency data recorded yet.