gcloud-rest-datastore
Python Client for Google Cloud Datastore
What it is and what it does
gcloud-rest-datastore is a Python client library for Google Cloud Datastore that supports both asyncio and threadsafe execution models. It wraps the Datastore REST API, allowing you to perform database operations—queries, entity creation, updates, and deletions—from Python applications without managing raw HTTP calls. The package depends only on gcloud-rest-auth for authentication, keeping the dependency footprint minimal.
The library is production-stable (Development Status 5) and actively maintained, with support for modern Python versions (3.10 through 3.14). It's designed for developers building applications that need to interact with Google Cloud Datastore and want a higher-level abstraction than raw REST calls, with the flexibility to use either async/await patterns or traditional threaded code depending on their application architecture.
Use it for:
- Build asyncio-based microservices that query and store data in Google Cloud Datastore.
- Migrate legacy threadsafe Python applications to use Datastore without rewriting to async.
- Perform bulk entity operations (create, update, delete) against Datastore from batch jobs.
- Query Datastore entities with filtering and sorting in a Python-native API.
- Integrate Datastore into a multi-tenant SaaS platform using authenticated REST calls.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides an asyncio-compatible or threadsafe Python client for Google Cloud Datastore, enabling applications to read, write, and query data in Datastore from Python code.
Yes. The package is production-stable, actively maintained, has no known vulnerabilities, and offers low-friction installation. It's a solid choice if you need a Python Datastore client and want either asyncio or threadsafe semantics. Verify which concurrency model fits your application before committing.
Install
gcloud-rest-datastore on PyPI
pip
pip install gcloud-rest-datastoreuv
uv add gcloud-rest-datastorepoetry
poetry add gcloud-rest-datastoreInstalling gcloud-rest-datastore
Before you install
Low friction installation with a single runtime dependency (gcloud-rest-auth). Active maintenance with a recent release and steady commit history.
License in practice
MIT license is permissive; you can use this package in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install gcloud-rest-datastore
from gcloud.rest import datastore
# Use asyncio or threadsafe client for Datastore operations
await datastore.query(...)
Requires Python 3.10 or later.
Verify before relying
- Whether the package supports both asyncio and threadsafe modes simultaneously or requires choosing one at install time.
- Specific Datastore operations supported (query, entity CRUD, transactions, etc.) beyond the generic client capability.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — gcloud-rest-auth |
| Maintenance | actively maintained — 36 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 408,305/month — #6,882 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: gcloud_rest_datastore-9.2.1-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
gcloud-aio-datastoreAsyncio and threadsafe Python client for Google…
permissive · top 15,000 on PyPI
gcloud-rest-authProvides Python client libraries for Google…
permissive · top 15,000 on PyPI
gcloud-rest-bigqueryProvides an asyncio or threadsafe Python client…
permissive · top 15,000 on PyPI
gcloud-aio-storageProvides an asyncio-based Python client for…
permissive · top 1,000 on PyPI
gcloud-aio-bigqueryProvides an asyncio-based Python client for…
permissive · top 1,000 on PyPI
gcloud-rest-taskqueueAsyncio and threadsafe Python client for Google…
permissive · top 15,000 on PyPI
gcloud-aio-pubsubAsyncio and threadsafe Python client for Google…
permissive · top 15,000 on PyPI
gcloud-aio-taskqueueAsyncio and threadsafe Python client library…
permissive · top 15,000 on PyPI
gcloud-aio-authProvides asyncio-compatible and threadsafe…
permissive · top 1,000 on PyPI
gcloudProvides Python client libraries for Google…
permissive · top 15,000 on PyPI