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://ngl_states/<group_id>/<user_id>`
# where <group_d> = entity["group_id"] and <user_id> = entity["user_id"]
config = {"v1": {"bucket_path": "gs://ngl_states", "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.2.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for datastoreflex-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61bfbf1925b6f77e0039565f8a426f05680f0df606b4ef8b61a06e4f4bd4e701 |
|
MD5 | e69a6c674b2d1d14fdd969804a547f7d |
|
BLAKE2b-256 | fb000f6ac8e30536b1370331564ee24c46f5971ebe11e9ec2a6c58cc08ec37e1 |