Skip to main content

Python Client for Google Cloud Datastore

Python idiomatic client for Google Cloud Datastore

pypi versions

Quick Start

$ pip install --upgrade google-cloud-datastore

Authentication

With google-cloud-python we try to make authentication as painless as possible. Check out the Authentication section in our documentation to learn more. You may also find the authentication document shared by all the google-cloud-* libraries to be helpful.

Using the API

Google Cloud Datastore (Datastore API docs) is a fully managed, schemaless database for storing non-relational data. Cloud Datastore automatically scales with your users and supports ACID transactions, high availability of reads and writes, strong consistency for reads and ancestor queries, and eventual consistency for all other queries.

See the google-cloud-python API datastore documentation to learn how to interact with the Cloud Datastore using this Client Library.

See the official Google Cloud Datastore documentation for more details on how to activate Cloud Datastore for your project.

from google.cloud import datastore
# Create, populate and persist an entity
entity = datastore.Entity(key=datastore.Key('EntityKind'))
entity.update({
    'foo': u'bar',
    'baz': 1337,
    'qux': False,
})
# Then query for entities
query = datastore.Query(kind='EntityKind')
for result in query.fetch():
    print(result)

Metadata

Release files for google-cloud-datastore 0.22.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-cloud-datastore 0.22.0
File Size Uploaded Provenance
google-cloud-datastore-0.22.0.tar.gz 73.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for google-cloud-datastore 0.22.0
File Interpreter ABI Platform
google_cloud_datastore-0.22.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 166.7 kB

Release files / google-cloud-datastore-0.22.0.tar.gz

Download URL google-cloud-datastore-0.22.0.tar.gz
Size 73.1 kB
Tags Source
SHA-256 checksum
How to use checksums
59044f0c81b74f9819481124a122e7781656d9d20be16aed61142a3cbfaf8b0f
BLAKE2b-256 checksum
How to use checksums
71fddf77565ceb17ff71422bc35fd94a0db6c1f08f036e123d75534f59cdf9af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / google_cloud_datastore-0.22.0-py2.py3-none-any.whl

Download URL google_cloud_datastore-0.22.0-py2.py3-none-any.whl
Size 93.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
663cbbc39ac58db9b9a557633a913f1af2efbe767f39face4b139ef877044b77
BLAKE2b-256 checksum
How to use checksums
c0c46b198962814ca26cf06bbd8c7c6ee6e78772127db2dfc3df85bd48dacd89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for google-cloud-datastore 0.22.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.22.0 This release

2 release files No provenance

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page