Skip to main content

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


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.5.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datastoreflex-0.5.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file datastoreflex-0.5.0.tar.gz.

File metadata

  • Download URL: datastoreflex-0.5.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.13

File hashes

Hashes for datastoreflex-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f4032a61cdeea1099d98cbcdf45cac1ba53a7ef89451376aaf1a5f0fb8a8c82a
MD5 62cd62615bbd1e01e64d4dc4a6c159f4
BLAKE2b-256 2db6e5c6c14d9b9febc4c3d58e5b545755190b8fb4c7bb52a75d9125fef2017a

See more details on using hashes here.

File details

Details for the file datastoreflex-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: datastoreflex-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.13

File hashes

Hashes for datastoreflex-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0151cc64a758750c3f63b3e1cf359d1eee1ab8bc302fdf09ec8e47c1575e7bc7
MD5 5339e3106544c9e618a35f6483d749be
BLAKE2b-256 b6327423b5df6c47d7be9ba8e7702b49c61342a73566bcbf1f2f392ab2da9cc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page