Messging Client
Project description
Adds the ability to read/write objects in a cloud bucket to datastore client.
from datastoreflex import DatastoreFlex
client = DatastoreFlex(project="<project-id>", namespace="<namespace>")
# The following configuration means store a column/property named `v1`
# in a cloud bucket (protocol must be supported by cloudfiles).
# Value for `v1` will be stored in the path `gs://my_data_bucket/<group_id>/<user_id>`
# where <group_d> = entity["group_id"] and <user_id> = entity["user_id"]
config = {"v1": {"bucket_path": "gs://my_data_bucket", "path_elements": ["group_id", "user_id"]}}
client.add_config(config)
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
datastoreflex-0.3.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for datastoreflex-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd72a79223cc941c8af07a84aa66d320e143979c3b1206fe729f23f1894fab2 |
|
MD5 | 8ffd48f20a314c5fd8b8201408df5f13 |
|
BLAKE2b-256 | 649eee9b2bf1402c6d91c02c5586551b213f3c599b8ece5861df741611a69c68 |