Skip to content

shine-jayakumar/SimpleLRU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleLRU

A simple LRU caching class in Python

Usage:

from caching import LRUCache

lrucache = LRUCache()

data = {
    "name": "Bob",
    "emp_id": 101
}

lrucache.set('hello world', data=data)

print(f'Key exists?: {lrucache.exists("hello world")}')

print(lrucache.get('hello world'))

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages