simple_firebase_realtime_db
Project description
simple_firebase_realtime_db
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
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
Built Distribution
Close
Hashes for simple_firebase_realtime_db-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a14dd1a77e1ce564954f6d7d78254a0a620fa740e0733874d0a5e3ead26861d8 |
|
MD5 | d035577e0dec9cbb173dbb2f1182f732 |
|
BLAKE2b-256 | 89fcae4dc2be65abbaf5f992b96cf2a29e3ff4ca2e569dd24f47b03d5ab3dfff |
Close
Hashes for simple_firebase_realtime_db-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025a281177365e728e78ab661a477cc35631d2aa5d33a388a136c3b2a1fce0ce |
|
MD5 | d38a84ebf8c05ccdfce51d2516a97ef1 |
|
BLAKE2b-256 | 63bf4a6998db7a3e7e3808b0a0d721b286a212523ab85a1922329d58fa45ee8c |