Skip to main content

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 Distribution

cacho-0.0.7.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

cacho-0.0.7-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page