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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cacho-0.0.7-py3-none-any.whl
(2.3 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6db2fc12498591c4d2cf21467b7e4c879f4eec2f75a43600be50d636726c43e
|
|
| MD5 |
4976fef428a6791e3c7cb3ac932a01ad
|
|
| BLAKE2b-256 |
2642e214ce895bb749e911687a23ee3015a4f14a7609a90f464de47b94d5554c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f018b04478f32376737aae914ccac1f355549c536d236afd7905a18526ff8946
|
|
| MD5 |
a49d1f53b2fbbdd83af306b33cc01064
|
|
| BLAKE2b-256 |
072516430df2c5d334d4de86dd591364fccac6d5e01f33eeed38cba80f2561f9
|