Skip to main content

simple_firebase_realtime_db

Project description

simple_firebase_realtime_db

PyPI - package version PyPI - license PyPI - python version PyPI - downloads

GitHub - last commit GitHub - commit activity

GitHub - code size in bytes GitHub - repo size GitHub - lines of code

GitHub - license

Description

simplified usage of firebase realtime database

Install

pip install simple_firebase_realtime_db
# or
pip3 install simple_firebase_realtime_db

Usage

from simple_firebase_realtime_db import FirebaseRealtimeDB as DB
import time

DB.initialize(
    certificate_path='',
    database_url=''
)

path = 'desired/path'

print(
    'set',
    DB.set(
        {
            'test-key':'test-value'
        },
        path
    )
)

time.sleep(10)

import json
print(json.dumps(DB.get(path), indent=4))

time.sleep(10)

print('delete', DB.delete(path))

Dependencies

firebase-admin, jsoncodable, noraise

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

simple_firebase_realtime_db-0.0.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file simple_firebase_realtime_db-0.0.4.tar.gz.

File metadata

  • Download URL: simple_firebase_realtime_db-0.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for simple_firebase_realtime_db-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a14dd1a77e1ce564954f6d7d78254a0a620fa740e0733874d0a5e3ead26861d8
MD5 d035577e0dec9cbb173dbb2f1182f732
BLAKE2b-256 89fcae4dc2be65abbaf5f992b96cf2a29e3ff4ca2e569dd24f47b03d5ab3dfff

See more details on using hashes here.

File details

Details for the file simple_firebase_realtime_db-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: simple_firebase_realtime_db-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.9

File hashes

Hashes for simple_firebase_realtime_db-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 025a281177365e728e78ab661a477cc35631d2aa5d33a388a136c3b2a1fce0ce
MD5 d38a84ebf8c05ccdfce51d2516a97ef1
BLAKE2b-256 63bf4a6998db7a3e7e3808b0a0d721b286a212523ab85a1922329d58fa45ee8c

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