UNKNOWN
Project description
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.
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
sqlite_cache-0.0.1.tar.gz
(2.6 kB
view details)
File details
Details for the file sqlite_cache-0.0.1.tar.gz
.
File metadata
- Download URL: sqlite_cache-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a85808f03f5885391b545a09281f6f2b10e825c28168eaf5130701327e2256ac |
|
MD5 | 01bb46b589c8e762bd4e43a39cb5ab5c |
|
BLAKE2b-256 | 884407d159ad06f0c0e958cefc960e07e00ab9807a23073067b597498c3f81ba |