skip to navigation
skip to content

sqlite_cache 0.0.1

Latest Version: 0.0.3

A dumb cache backed by sqlite. The cache has a max capacity and will delete older entries to make space for new entries.

Example of usage:

from sqlite_cache import SQLiteCache

cache = SQLiteCache(".cache.db")
cache.set("key", "value")

print "value for {0!r} is {0!r}".format("key", cache.get("key"))

Python >= 2.6 and >= 3.2 are supported.

File Type Py Version Uploaded on Size
sqlite_cache-0.0.1.tar.gz (md5) Source 2014-06-11 2KB