Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

key value cache

Project description


$ [sudo] pip install kv-cache

How it works


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


function __doc__
kv_cache.exists(key) return True if key exists, else False
kv_cache.get(key) get cache value
kv_cache.rm(key) remove cache key
kv_cache.update(key, string) update cache value


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


Project details

Release history Release notifications

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 2019.9.25
Filename, size File type Python version Upload date Hashes
Filename, size kv-cache-2019.9.25.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page