Skip to main content

JSoftwareLabs Utils for Firebase

Project description

JSLFireBaseUtils

The JSLFireBaseUtils is a basic python library for managing Firebase and CloudStore vey easily and efficiently. We will be managing more APIs and reusable on the fly functions for Firebase. Pypi Library

Our Home page JSoftwareLabs.com

Installation

You can install the JSLFireBaseUtils from PyPI:

pip install jslfirebaseutil

The jslfirebaseutil is supported on Python 3+ and above.

How to use

Example Usage

Initialize the utils class:

import logging
from jslfirebaseutils.cloudstore.cloud_store_utils import JslFirebaseUtil

jslFirebaseUtilObject = JslFirebaseUtil('test.json', log_level=logging.INFO)

delete a document containg a string

jslFirebaseUtilObject.delete_document_collection_with_contains(collection_name=u'collection name',string_contains='any string which is present in your document collection')

delete a whole collection

jslFirebaseUtilObject.clear_all_collection(collection_name=u'testcollection')

read a document as dictionary from collection

document = jslFirebaseUtilObject.read_document_as_dict(u'testcollection', id='whateverid')
print(document)

Current Releases

V1_0_7

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

jslfirebaseutil-1.0.7.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file jslfirebaseutil-1.0.7.tar.gz.

File metadata

  • Download URL: jslfirebaseutil-1.0.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for jslfirebaseutil-1.0.7.tar.gz
Algorithm Hash digest
SHA256 757b7c3c991ab5ed245d9988d69f955d61e3110eb24bdd78ac182c02f9645664
MD5 155a7f1a55bbcdfb0b448330d6c41bd9
BLAKE2b-256 3db9b683336b04fc8cea21e8b2fceabb2ebc69c30fc08e74217cc7b6bb00cd76

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