Skip to main content

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

Metadata

Release files for simple-firebase-realtime-db 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-firebase-realtime-db 0.0.4
File Size Uploaded
simple_firebase_realtime_db-0.0.4.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-firebase-realtime-db 0.0.4
File Interpreter ABI Platform
simple_firebase_realtime_db-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / simple_firebase_realtime_db-0.0.4.tar.gz

Download URL simple_firebase_realtime_db-0.0.4.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a14dd1a77e1ce564954f6d7d78254a0a620fa740e0733874d0a5e3ead26861d8
BLAKE2b-256 checksum
How to use checksums
89fcae4dc2be65abbaf5f992b96cf2a29e3ff4ca2e569dd24f47b03d5ab3dfff
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / simple_firebase_realtime_db-0.0.4-py3-none-any.whl

Download URL simple_firebase_realtime_db-0.0.4-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
025a281177365e728e78ab661a477cc35631d2aa5d33a388a136c3b2a1fce0ce
BLAKE2b-256 checksum
How to use checksums
63bf4a6998db7a3e7e3808b0a0d721b286a212523ab85a1922329d58fa45ee8c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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