Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkristof200/py_simple_firebase_realtime_db
https://github.com/kkristof200/py_simple_firebase_realtime_db
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kkristof200/py_simple_firebase_realtime_db
- Owner: kkristof200
- License: mit
- Created: 2021-03-07T15:46:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T16:35:04.000Z (over 3 years ago)
- Last Synced: 2024-11-01T15:05:02.013Z (14 days ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 timeDB.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)