Kraken-cache
Provides a caching mechanism for kraken records.
from kraken_cache.kraken_cache import Kraken_cache
How to use: Initialize cache at beginning. Load data from database with load method. Add data to be saved with set. Retrieve all of the data to be saved using export. Clear data to be saved (after a save to db) with clear_all.
Initialize k = Kraken_cache()
Store data (to be writtened to db) k.set(id, data)
Load data (from db) k.load(id, data)
Retrieve data k.get(id)
Retrieve data that needs ot be saved to db k.export()
Reset all data (after save to db) k.clear_all()
Metadata
Release files for kraken-cache 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kraken-cache-0.0.3.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kraken_cache-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / kraken-cache-0.0.3.tar.gz
| Download URL | kraken-cache-0.0.3.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa1d187366b3e6e87cfa3284213a0eac417cd03781bc7f4e37c0eacb06e7a5a5
|
|
BLAKE2b-256 checksum How to use checksums |
3c9225bbb374658dac534d5e836b96c2c1d574b712ca66637279c70507c6a7c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / kraken_cache-0.0.3-py3-none-any.whl
| Download URL | kraken_cache-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbf5a40b0c900b4cde3c93db71a31a319d832d634e97b119e1547b08dc0bb7de
|
|
BLAKE2b-256 checksum How to use checksums |
daa382c5b75f2233d2f9d44bf654063eb5aaf4c252625a11ba88c3e943fe8376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|