A tiny C++ in-memory cache system with Least recently Used algorithm!
Project description
CACHO
A tiny C++ in-memory cache system with Least recently Used algorithm as a python shared-object library !
How to install
To install the pyhon lib, just hit :
pip3 install cacho
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"))
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
# And to deploy on Pypi :
sh ./shells/pypi_deploy.sh
LICENSE
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
cacho-0.0.2-py3-none-any.whl
(2.5 kB
view hashes)