Skip to content
Simple Cache Base Classes for Python.
Find file
Latest commit 42746b2 @kennethreitz kennethreitz Update master
Failed to load latest commit information.
cachecore readme
.travis.yml Update master
LICENSE lawyer up manifest
Makefile test runner
README.rst Update master encoding and stuff



Simple cache backends, inspired by werkzeug.contrib.cache.

Creating a Cache Object

To create a cache object you just import the cache system of your choice from the cache module and instantiate it. Then you can start working with that object:

>>> from cachecore import SimpleCache
>>> c = SimpleCache()
>>> c.set("foo", "value")
>>> c.get("foo")
>>> c.get("missing") is None

Cache Types

  • In-Memory
  • Redis
  • Memcache
  • Filesystem
  • Your own (extend BaseCache)


Installing cachecore is simple with pip:

$ pip install cachecore
Something went wrong with that request. Please try again.