Contribute Media
A thank you to everyone who makes this possible: Read More

NDB: the new data store library for Google App Engine

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.

Details

Improve this page