Kraken cache
Project description
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()
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
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 kraken-cache-0.0.3.tar.gz.
File metadata
- Download URL: kraken-cache-0.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa1d187366b3e6e87cfa3284213a0eac417cd03781bc7f4e37c0eacb06e7a5a5
|
|
| MD5 |
f202938e008f49a2ecb418ca0c61098a
|
|
| BLAKE2b-256 |
3c9225bbb374658dac534d5e836b96c2c1d574b712ca66637279c70507c6a7c2
|
File details
Details for the file kraken_cache-0.0.3-py3-none-any.whl.
File metadata
- Download URL: kraken_cache-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbf5a40b0c900b4cde3c93db71a31a319d832d634e97b119e1547b08dc0bb7de
|
|
| MD5 |
14cd3b5c7935837cd39c643bee1da57a
|
|
| BLAKE2b-256 |
daa382c5b75f2233d2f9d44bf654063eb5aaf4c252625a11ba88c3e943fe8376
|