# Firebase Realtime Database Loader
This loader retrieves documents from Firebase Realtime Database. The user specifies the Firebase Realtime Database URL and, optionally, the path to a service account key file for authentication.
## Usage
Here's an example usage of the FirebaseRealtimeDatabaseReader.
```python
from llama_index import download_loader
FirebaseRealtimeDatabaseReader = download_loader(
"FirebaseRealtimeDatabaseReader"
)
database_url = "<database_url>"
service_account_key_path = "<service_account_key_path>"
path = "<path>"
reader = FirebaseRealtimeDatabaseReader(database_url, service_account_key_path)
documents = reader.load_data(path)
```
This loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent. See [here](https://github.com/emptycrown/llama-hub/tree/main) for examples.
Raw data
{
"_id": null,
"home_page": "",
"name": "llama-index-readers-firebase-realtimedb",
"maintainer": "ajay",
"docs_url": null,
"requires_python": ">=3.8.1,<4.0",
"maintainer_email": "",
"keywords": "database,firebase,realtimedb",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/93/bb/626ec7d79d8637ae8704f2e4b7c27b5bf8096e534ac32bce5adf812d44a6/llama_index_readers_firebase_realtimedb-0.1.3.tar.gz",
"platform": null,
"description": "# Firebase Realtime Database Loader\n\nThis loader retrieves documents from Firebase Realtime Database. The user specifies the Firebase Realtime Database URL and, optionally, the path to a service account key file for authentication.\n\n## Usage\n\nHere's an example usage of the FirebaseRealtimeDatabaseReader.\n\n```python\nfrom llama_index import download_loader\n\nFirebaseRealtimeDatabaseReader = download_loader(\n \"FirebaseRealtimeDatabaseReader\"\n)\n\ndatabase_url = \"<database_url>\"\nservice_account_key_path = \"<service_account_key_path>\"\npath = \"<path>\"\nreader = FirebaseRealtimeDatabaseReader(database_url, service_account_key_path)\ndocuments = reader.load_data(path)\n```\n\nThis loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent. See [here](https://github.com/emptycrown/llama-hub/tree/main) for examples.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index readers firebase_realtimedb integration",
"version": "0.1.3",
"project_urls": null,
"split_keywords": [
"database",
"firebase",
"realtimedb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bc05365b9792f757f9e5d640f8f164c57e0b1ee52a0dcff0f2db4e2fc7375c0f",
"md5": "081f498dc31e43586dcd80c41095c3af",
"sha256": "44f34ec17a2afa16ea3dc265526af2aaef59c14fb40f22ba48c402eecf6655c3"
},
"downloads": -1,
"filename": "llama_index_readers_firebase_realtimedb-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "081f498dc31e43586dcd80c41095c3af",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<4.0",
"size": 2993,
"upload_time": "2024-02-21T19:52:29",
"upload_time_iso_8601": "2024-02-21T19:52:29.817413Z",
"url": "https://files.pythonhosted.org/packages/bc/05/365b9792f757f9e5d640f8f164c57e0b1ee52a0dcff0f2db4e2fc7375c0f/llama_index_readers_firebase_realtimedb-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "93bb626ec7d79d8637ae8704f2e4b7c27b5bf8096e534ac32bce5adf812d44a6",
"md5": "b54ec875d4e22c9bd9b01afdac043eb0",
"sha256": "8b566b7ae160d4000cfb7357a27a1ade1a90e641df3f6cc18022715c5082c4ab"
},
"downloads": -1,
"filename": "llama_index_readers_firebase_realtimedb-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "b54ec875d4e22c9bd9b01afdac043eb0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<4.0",
"size": 2605,
"upload_time": "2024-02-21T19:52:31",
"upload_time_iso_8601": "2024-02-21T19:52:31.604874Z",
"url": "https://files.pythonhosted.org/packages/93/bb/626ec7d79d8637ae8704f2e4b7c27b5bf8096e534ac32bce5adf812d44a6/llama_index_readers_firebase_realtimedb-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-21 19:52:31",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-readers-firebase-realtimedb"
}