Google app engine support

Currently, there is support for storing data on Google app engine using ndb. This is mainly intended for storing small bits of data, like sessions or similiar but not large binary blobs [1].

class simplekv.gae.NdbStore

A backend that stores data on ndb objects. The objects key will be the key in the kvstore, while an attribute v must be present on the object to store the data.

__init__(obj_class):
Parameters:obj_class – An instance of a Model object.

Here is a minimal example:

from google.appengine.ext import ndb
from simplekv.gae import NdbStore

class MyKvModel(ndb.Model):
    v = ndb.BlobProperty(indexed=False)

store = NdbStore(MyKvModel)
[1]You’re welcome to implement it and submit a patch.