cacho

A tiny C++ in-memory cache system with Least recently Used algorithm!


License
MIT
Install
pip install cacho==0.0.7

Documentation

CACHO

A tiny C++ in-memory cache system with Least recently Used algorithm as a python shared-object library !

To build and deploy the lib on pypi

You just have to run these bash files :

# cmake build
sh ./shells/build.sh
# building the wheel
sh ./shells/build_whl.sh

How to use it

import cacho as c

# To set a value
c.set("key1", "value1")

# We can also check if the key exist
if c.exists("key1"):
    # And get it
    print(c.get("key1"))

LICENSE