google-cloud-datastore
Google Cloud Datastore API client library
Decision gist · record as of 2026-08-14
Yes, if you are building on Google Cloud Platform and need a managed NoSQL database. The library is production-stable, actively maintained, has no known vulnerabilities, and low install friction. Install only if you have a GCP project with Datastore enabled and authentication configured; it is not useful outside that ecosystem.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud Platform project setup, billing enabled, Cloud Datastore service enabled, and authentication credentials configured (via GOOGLE_APPLICATION_CREDENTIALS or Application Default Credentials).
- Low install friction with a pure-wheel distribution.
- Actively maintained with recent releases; last commit 2026-08-14.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. No notable licensing barriers for most projects.
last release 2026-07-08 (37 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,837,391 downloads/mo, #2,027 on PyPI
Alternatives
Verify before relying
pip install google-cloud-datastore
from google.cloud import datastore
client = datastore.Client(project='your-project-id')
query = client.query(kind='Task')
results = list(query.fetch())- Whether the library supports async/await patterns for non-blocking operations.
- Performance characteristics and throughput limits for typical workloads.
- Specific transaction isolation levels and consistency guarantees offered.
What it is and what it does
This is the official Python client for Google Cloud Datastore, Google's managed NoSQL database service. It provides a high-level interface to read, write, query, and delete entities in a schemaless database hosted on Google Cloud Platform. The library handles authentication, connection pooling, and protocol translation through its dependencies on google-api-core, google-auth, and grpcio.
You use it when your application needs persistent storage on GCP and you want to avoid managing database infrastructure. It's commonly used for web applications, mobile backends, and microservices that require flexible schema and automatic scaling. The library is production-stable, actively maintained, and supports modern Python versions (3.10 through 3.14).
Use it for
- Store and query user profiles, sessions, or application state in a managed NoSQL database without schema enforcement.
- Build a web application backend that auto-scales database capacity based on demand without provisioning effort.
- Implement a document store for semi-structured data like configuration, logs, or event records.
- Migrate from a self-hosted database to a fully managed GCP service with minimal code changes.
- Prototype applications quickly using a flexible schema that evolves with your data model.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on Google Cloud Platform and need a managed NoSQL database.
The library is production-stable, actively maintained, has no known vulnerabilities, and low install friction. Install only if you have a GCP project with Datastore enabled and authentication configured; it is not useful outside that ecosystem.
Install
google-cloud-datastore on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with recent releases; last commit 2026-08-14. Requires Python >= 3.10 and depends on six Google-authored packages (google-api-core, google-auth, google-cloud-core, grpcio, proto-plus, protobuf).
Requires Google Cloud Platform project setup, billing enabled, Cloud Datastore service enabled, and authentication credentials configured (via GOOGLE_APPLICATION_CREDENTIALS or Application Default Credentials).
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. No notable licensing barriers for most projects.
Quickstart
pip install google-cloud-datastore
from google.cloud import datastore
client = datastore.Client(project='your-project-id')
query = client.query(kind='Task')
results = list(query.fetch())
Verify before relying
- Whether the library supports async/await patterns for non-blocking operations.
- Performance characteristics and throughput limits for typical workloads.
- Specific transaction isolation levels and consistency guarantees offered.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesgoogle-api-coregoogle-authgoogle-cloud-coregrpcioproto-plusprotobuf |
| Maintenance | Actively maintained 37 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,837,391 / month, #2,027 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_cloud_datastore-2.26.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “managed database storage”
- google-cloud-datastorePython client library for Google Cloud Datastore, a managed NoSQL…
- tablestorePython SDK for Aliyun Tablestore (OTS), a managed NoSQL database…
- upstash-vectorPython client for Upstash Vector, a serverless vector…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-firestore · google-cloud-ndb · gcloud · tablestore · google-cloud-bigquery-storage · appengine-python-standard · couchbase · google-cloud-storage · google-cloud-filestore · google-cloud-functions