Summary
None
Description
NDB is a new Python client library for the Google App Engine Datastore. NDB has an integrated multi-level cache, supports synchronous and asynchronous calls, automatically batches requests, and several ways of storing structured data. The thrust for developing NDB was the realization that the original Python datastore client library, “db”, had some architectural and design flaws which were hard to fix due to strict backward compatibility requirements. But in the process, NDB became much more than an improved db library. NDB offers a new paradigm for asynchronous APIs, based on coroutines implemented using Python’s “yield” expression (and a simple event loop). It also supports a flexible way to create new Property classes by subclassing existing Property classes.