Skip to main content

An API stratus_api for simplified development

Project 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.

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stratus-api-document-0.0.5.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file stratus-api-document-0.0.5.tar.gz.

File metadata

  • Download URL: stratus-api-document-0.0.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for stratus-api-document-0.0.5.tar.gz
Algorithm Hash digest
SHA256 acc89b250da7d0f33e297f1cdebad735ccdcc29d6a29c3c0c5daaa5ac67c7cd3
MD5 3d0846067b15eaf3fb531b614ae3883c
BLAKE2b-256 690e91424cb7fa84f85ab221eeed9ce98657d36840f1de86f5449521b4094920

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page