The Stratus API document is a python package that is built on top of Google Cloud Firestore API. Functionality includes create, update, get, and delete objects in the firestore collections.
### Installation
Install this library using pip.
### Supported Python Versions
Python >= 3.5
### Example Usage
```
from stratus_api.document.base import create_db_client
client = create_db_client()
doc_ref = client.collection('example_collection').document('document_id')
document = doc_ref.get()
```
### Example Usage
```
from stratus_api.document.get import get_objects
objects = get_objects(collection_name='example_collection', active=True, limit=10, full_collection_name=True)
for object in objects:
print(object)
```
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/adarainc/stratus-api-firestore",
"name": "stratus-api-document",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "",
"author": "DOT",
"author_email": "dot@adara.com",
"download_url": "https://files.pythonhosted.org/packages/69/0e/91424cb7fa84f85ab221eeed9ce98657d36840f1de86f5449521b4094920/stratus-api-document-0.0.5.tar.gz",
"platform": null,
"description": "The Stratus API document is a python package that is built on top of Google Cloud Firestore API. Functionality includes create, update, get, and delete objects in the firestore collections.\n\n### Installation\nInstall this library using pip.\n\n### Supported Python Versions\nPython >= 3.5\n\n### Example Usage\n```\nfrom stratus_api.document.base import create_db_client\n\nclient = create_db_client()\ndoc_ref = client.collection('example_collection').document('document_id')\ndocument = doc_ref.get()\n```\n### Example Usage\n```\nfrom stratus_api.document.get import get_objects\n\nobjects = get_objects(collection_name='example_collection', active=True, limit=10, full_collection_name=True)\n\nfor object in objects:\n print(object)\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "An API stratus_api for simplified development",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://bitbucket.org/adarainc/stratus-api-firestore"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "690e91424cb7fa84f85ab221eeed9ce98657d36840f1de86f5449521b4094920",
"md5": "3d0846067b15eaf3fb531b614ae3883c",
"sha256": "acc89b250da7d0f33e297f1cdebad735ccdcc29d6a29c3c0c5daaa5ac67c7cd3"
},
"downloads": -1,
"filename": "stratus-api-document-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "3d0846067b15eaf3fb531b614ae3883c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 7951,
"upload_time": "2023-10-10T08:48:57",
"upload_time_iso_8601": "2023-10-10T08:48:57.969529Z",
"url": "https://files.pythonhosted.org/packages/69/0e/91424cb7fa84f85ab221eeed9ce98657d36840f1de86f5449521b4094920/stratus-api-document-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-10 08:48:57",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "adarainc",
"bitbucket_project": "stratus-api-firestore",
"lcname": "stratus-api-document"
}