CacheLite
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)
Release files for cachelite 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cachelite-0.9.1.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cachelite-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / cachelite-0.9.1.tar.gz
| Download URL | cachelite-0.9.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
deb0b04ebed57e15d30dfaac507740f96d8d82801abf19654736724e3884ef67
|
|
BLAKE2b-256 checksum How to use checksums |
d743b909957a42caa6cea7d4aec2b4034dd848f1f3c7e36c5919c2f48f5e86de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / cachelite-0.9.1-py3-none-any.whl
| Download URL | cachelite-0.9.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a00448803fc1cd5ddeb4100954fca86e41a4a77e2798db6a1e9ad2d4ff58b7f2
|
|
BLAKE2b-256 checksum How to use checksums |
e951b8c7ee11b17eeb71abd1d330dda6ddf613cd10c85ec736a519961246f483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|