TWL
TWL

Reputation: 75

Using Google Cloud Datastore with NDB API?

There is a lot of info on using NDB API with Google App Engine Datastore but I can't find any info on how to use NDB with Google Cloud Datastore. The only module I found is googledatastore which is very primitive library.

How is App Engine Datastore different from the Cloud Datastore? Is NDB available for the Cloud Datastore?

Upvotes: 4

Views: 1184

Answers (2)

Alfred Fuller
Alfred Fuller

Reputation: 783

NDB support outside of App Engine (using Google Cloud Datastore) is currently in development.

UPDATE: Check out the NDB development discussion on GitHub.

Upvotes: 5

JJ Geewax
JJ Geewax

Reputation: 10579

You might want to try using gcloud.datastore (pip install gcloud).

Docs: http://googlecloudplatform.github.io/gcloud-python/

Code: https://github.com/GoogleCloudPlatform/gcloud-python

Upvotes: 2

Related Questions