a simple multi-process scalable cache implementation
Project description
Documentation
The full documentation is at https://cachelite.readthedocs.org/
Quickstart
Install cachelite:
pip install cachelite
Then you can use it.
import cachelite from CacheLite
cache = CacheLite("/tmp/YOUR_TO_CACHE_DIR")
#put a key-value
cache["YOUR_KEY"] = "YOUR_VALUE"
#get a value
value = cache["YOUR_KEY"]
#delete a value
del cache["YOUR_KEY"]
#get size of data entries
len(cache)
#iteration
for a in cache:
print(a)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cachelite-0.9.0.tar.gz
(4.2 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
File details
Details for the file cachelite-0.9.0.tar.gz.
File metadata
- Download URL: cachelite-0.9.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3375984b15749df397d3e5ec166cc5a54f1303308bf1a87ecfe4ef8b349f4b75
|
|
| MD5 |
4978cfdb3f8bb9bddf859651e6891693
|
|
| BLAKE2b-256 |
d2d39638647d39f7040c9675bf5b4d58947b55b6eb7fdd4638e3c32d17414178
|
File details
Details for the file cachelite-0.9.0-py3-none-any.whl.
File metadata
- Download URL: cachelite-0.9.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c3897c459f78f40ac3f8e2c6acbcc2772cd984a88d1a96f8254c4c78fa37705
|
|
| MD5 |
df3606e55a333b1bbe7ca63f1a79731a
|
|
| BLAKE2b-256 |
add25ec80432ad1ecc17575968c833055f3fbce29c3475050a9b1427cd115ccf
|