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.
Release files for sqlite_cache 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sqlite_cache-0.0.3.tar.gz | 3.1 kB | Details |
Release files / sqlite_cache-0.0.3.tar.gz
| Download URL | sqlite_cache-0.0.3.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ab1cdee78a2f7dafd940e12c1077aa189327982c5a240af0c907be9581e871b
|
|
BLAKE2b-256 checksum How to use checksums |
e2f48a0a3cf6f1904764375ecf7dd0a46267fa5c5f1abae4b2f7fb77a58b38f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |