Skip to main content

key value cache

Project description

Installation

$ [sudo] pip install kv-cache

How it works

$KV_CACHE/<key>

$XDG_CACHE_HOME/kv-value/<key> by default

Examples

>>> import kv_cache
>>> kv_cache.update("key",'value')
>>> kv_cache.get("key")
'value'
>>> kv_cache.exists("key")
True
>>> kv_cache.rm("key")
>>> kv_cache.clear() # clear all keys

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kv-cache, version 2020.12.3
Filename, size File type Python version Upload date Hashes
Filename, size kv-cache-2020.12.3.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page