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 | Provenance | Actions |
|---|---|---|---|---|
| stratus-api-document-0.0.5.tar.gz | 8.0 kB | Without provenance | Details for stratus-api-document-0.0.5.tar.gz |
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
|
Security for stratus-api-document 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.