A library providing in-memory, thread-safe caching for general use. Currently has provisions for LRU, FIFO and LIFO cache.
!!! Having Python is a must. !!!
Python 3.6+ is required to run code from this repo.
$ git clone https://github.com/Neelaksh-Singh/cache_it.git
$ cd cache_it/
You can initiate the cache object, present in cache.py
, by passing the desired cache technique along with cache size.
You can create your custom cache and adding it to eviction_policies
folder. For maintanibilty, you can use the template standard.