For our readers on google-appengine-python, NDB is an experimental (!)
datastore client API for Python, which I am developing as an open
source project. Contributions and feedback are requested!
Project URL: http://code.google.com/p/appengine-ndb-experiment
Tutorial: http://goo.gl/9Teuh
Issue tracker: http://code.google.com/p/appengine-ndb-experiment/issues/list
Source code: http://code.google.com/p/appengine-ndb-experiment/source/checkout
Please get the release zip file here (or check out the source using Mercurial):
http://code.google.com/p/appengine-ndb-experiment/downloads/detail?name=appengine-ndb-experiment-0.6.zip
Main news since release 0.5:
- You can now specify caching policies directly on your model class,
by setting e.g. _use_memcache = False or _memcache_timeout=60 as a
class variable in your model class.
- New context option use_datastore: set False to skip writing the
datastore, so you can use the same API to write to the cache and/or
memcache only.
- Context options ndb_should_cache, ndb_should_memcache,
ndb_memcache_timeout renamed to use_cache, use_memcache,
memcache_timeout.
Also of note:
- Memcache is more consistent (though no longer write-through)
- LocalStructuredProperty encoding is shorter (excludes key)
- Fix querying for BlobProperty(indexed=True)
--
--Guido van Rossum (python.org/~guido)