Asyncio Python Client for Google Cloud Datastore
Project description
Installation
$ pip install --upgrade gcloud-aio-datastore
Usage
We’re still working on documentation; for now, this should help get you started:
from gcloud.aio.datastore import Datastore
datastore = Datastore('my-gcloud-project', '/path/to/creds.json')
await datastore.insert('Kind', 'name', {'prop0': 41, 'prop1': True})
await datastore.update('Kind', 'name', {'prop0': 42, 'prop1': True})
await datastore.upsert('Kind', 'name', {'prop2': 'aardvark'})
await datastore.delete('Kind', 'name')
Contributing
Please see our contributing guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gcloud-aio-datastore-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a0c89f98b1318d04367e02408d9b2363c5ff69a3d56237c9805da13db0f39c4 |
|
MD5 | b24f6046bd2da826d73ace63b8c3f063 |
|
BLAKE2b-256 | 7c166f3e09ba00a7e8b8289bb4588c0b8239bc4f913521189fb48e9ebd119269 |
Close
Hashes for gcloud_aio_datastore-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e14e675f3785f97b964cec847650103fb347ebe8f0aed93722f5afd8ace9952f |
|
MD5 | 070ef2e327fe01b359bcfda78ef1a6d2 |
|
BLAKE2b-256 | eb5bfcb72e5cceab74b8ab7cf529f7be542de861643c8655492e232792fad85e |