##
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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/seung-lab/datastore-flex",
"name": "datastoreflex",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Akhilesh Halageri",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/2d/b6/e5c6c14d9b9febc4c3d58e5b545755190b8fb4c7bb52a75d9125fef2017a/datastoreflex-0.5.0.tar.gz",
"platform": null,
"description": "##\nAdds the ability to read/write objects in a cloud bucket to datastore client.\n\n```\nfrom datastoreflex import DatastoreFlex\nclient = DatastoreFlex(project=\"<project-id>\", namespace=\"<namespace>\")\n\n# The following configuration means store a column/property named `v1`\n# in a cloud bucket (protocol must be supported by cloudfiles).\n# Value for `v1` will be stored in the path `gs://my_data_bucket/<group_id>/<user_id>`\n# where <group_d> = entity[\"group_id\"] and <user_id> = entity[\"user_id\"]\n\nconfig = {\"v1\": {\"bucket_path\": \"gs://my_data_bucket\", \"path_elements\": [\"group_id\", \"user_id\"]}}\nclient.add_config(config)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Messging Client",
"version": "0.5.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b6327423b5df6c47d7be9ba8e7702b49c61342a73566bcbf1f2f392ab2da9cc6",
"md5": "5339e3106544c9e618a35f6483d749be",
"sha256": "0151cc64a758750c3f63b3e1cf359d1eee1ab8bc302fdf09ec8e47c1575e7bc7"
},
"downloads": -1,
"filename": "datastoreflex-0.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5339e3106544c9e618a35f6483d749be",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4442,
"upload_time": "2023-02-12T01:52:31",
"upload_time_iso_8601": "2023-02-12T01:52:31.784167Z",
"url": "https://files.pythonhosted.org/packages/b6/32/7423b5df6c47d7be9ba8e7702b49c61342a73566bcbf1f2f392ab2da9cc6/datastoreflex-0.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2db6e5c6c14d9b9febc4c3d58e5b545755190b8fb4c7bb52a75d9125fef2017a",
"md5": "62cd62615bbd1e01e64d4dc4a6c159f4",
"sha256": "f4032a61cdeea1099d98cbcdf45cac1ba53a7ef89451376aaf1a5f0fb8a8c82a"
},
"downloads": -1,
"filename": "datastoreflex-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "62cd62615bbd1e01e64d4dc4a6c159f4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4119,
"upload_time": "2023-02-12T01:52:33",
"upload_time_iso_8601": "2023-02-12T01:52:33.914032Z",
"url": "https://files.pythonhosted.org/packages/2d/b6/e5c6c14d9b9febc4c3d58e5b545755190b8fb4c7bb52a75d9125fef2017a/datastoreflex-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-12 01:52:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "seung-lab",
"github_project": "datastore-flex",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "datastoreflex"
}