objcache

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


License
MIT
Install
pip install objcache==0.1.1

Documentation

obj-cache

Overview

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

Getting Started

Install objcache:

pip install objcache

A simple example:

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

Links

See the documentation here.

Author

Created by Nick DeRobertis. MIT License.