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)
Metadata
Release files for stratus-api-document 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stratus-api-document-0.0.5.tar.gz | 8.0 kB | Details |
Release files / stratus-api-document-0.0.5.tar.gz
| Download URL | stratus-api-document-0.0.5.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acc89b250da7d0f33e297f1cdebad735ccdcc29d6a29c3c0c5daaa5ac67c7cd3
|
|
BLAKE2b-256 checksum How to use checksums |
690e91424cb7fa84f85ab221eeed9ce98657d36840f1de86f5449521b4094920
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|