Skip to main content

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)

Source distribution for stratus-api-document 0.0.5
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

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page