Welcome to Python Simple Object Cache documentation!

Simple Redis-like interface to storing arbirary Python objects. A high-level wrapper around ZoDB.

To get started, look here.

An overview

objcache

This is a simple example:

import objcache

from objcache import ObjectCache

cache = ObjectCache('cache.zodb', ('a', 'b'))
cache.store(5)

# Later session
cache = ObjectCache('cache.zodb', ('a', 'b'))
result = cache.get()
print(result)
5

Indices and tables