NDB release 0.6 is available!

169 views
Skip to first unread message

Guido van Rossum

unread,
Jul 21, 2011, 5:17:11 PM7/21/11
to appengine-...@googlegroups.com, google-appe...@googlegroups.com
I've released another milestone release for NDB (a.k.a. Datastore Plus).

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)

Reply all
Reply to author
Forward
0 new messages