Metadata-Version: 2.1
Name: simple-firebase-realtime-db
Version: 0.0.3
Summary: simple_firebase_realtime_db
Home-page: https://github.com/kkristof200/py_simple_firebase_realtime_db
Author: Kristóf-Attila Kovács
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.4
Description-Content-Type: text/markdown
Requires-Dist: firebase-admin (>=4.5.2)
Requires-Dist: jsoncodable (>=0.0.12)
Requires-Dist: noraise (>=0.0.10)

# simple_firebase_realtime_db

![PyPI - package version](https://img.shields.io/pypi/v/simple_firebase_realtime_db?logo=pypi&style=flat-square)
![PyPI - license](https://img.shields.io/pypi/l/simple_firebase_realtime_db?label=package%20license&style=flat-square)
![PyPI - python version](https://img.shields.io/pypi/pyversions/simple_firebase_realtime_db?logo=pypi&style=flat-square)
![PyPI - downloads](https://img.shields.io/pypi/dm/simple_firebase_realtime_db?logo=pypi&style=flat-square)

![GitHub - last commit](https://img.shields.io/github/last-commit/kkristof200/py_simple_firebase_realtime_db?style=flat-square)
![GitHub - commit activity](https://img.shields.io/github/commit-activity/m/kkristof200/py_simple_firebase_realtime_db?style=flat-square)

![GitHub - code size in bytes](https://img.shields.io/github/languages/code-size/kkristof200/py_simple_firebase_realtime_db?style=flat-square)
![GitHub - repo size](https://img.shields.io/github/repo-size/kkristof200/py_simple_firebase_realtime_db?style=flat-square)
![GitHub - lines of code](https://img.shields.io/tokei/lines/github/kkristof200/py_simple_firebase_realtime_db?style=flat-square)

![GitHub - license](https://img.shields.io/github/license/kkristof200/py_simple_firebase_realtime_db?label=repo%20license&style=flat-square)

## Description

simplified usage of firebase realtime database

## Install

~~~~bash
pip install simple_firebase_realtime_db
# or
pip3 install simple_firebase_realtime_db
~~~~

## Usage

~~~~python
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](https://pypi.org/project/firebase-admin), [jsoncodable](https://pypi.org/project/jsoncodable), [noraise](https://pypi.org/project/noraise)

