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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cacho-0.0.7.tar.gz.

File metadata

  • Download URL: cacho-0.0.7.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for cacho-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d6db2fc12498591c4d2cf21467b7e4c879f4eec2f75a43600be50d636726c43e
MD5 4976fef428a6791e3c7cb3ac932a01ad
BLAKE2b-256 2642e214ce895bb749e911687a23ee3015a4f14a7609a90f464de47b94d5554c

See more details on using hashes here.

File details

Details for the file cacho-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: cacho-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.20.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for cacho-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f018b04478f32376737aae914ccac1f355549c536d236afd7905a18526ff8946
MD5 a49d1f53b2fbbdd83af306b33cc01064
BLAKE2b-256 072516430df2c5d334d4de86dd591364fccac6d5e01f33eeed38cba80f2561f9

See more details on using hashes here.

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