The Cache Library is a general purpose caching tool that provides an in-memory caching solution with support for multiple eviction policies, custom eviction policies, thread safety, and unit tests.
-
Multiple Eviction Policies: Supports FIFO, LRU, LIFO, and LFU eviction policies.
-
Custom Eviction Policies: Easily add and use custom eviction policies.
-
Thread Safety: Implemented with thread-safe operations using locks.
-
Display current state: Visualize the current state of the cache
-
Unit Tests: Includes comprehensive unit tests for different eviction policies.
git clone https://github.com/coderSomya/Cache-me.git
cd Cache-me
python cli_usage.py
python -m unittest discover Tests