Skip to main content

UNKNOWN

Project description

https://travis-ci.org/cournape/sqlite_cache.png https://coveralls.io/repos/cournape/sqlite_cache/badge.png?branch=master

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

History Node

0.0.3

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sqlite_cache-0.0.1.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None Jun 11, 2014

Supported by

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