Name | llama-index-readers-hive JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | llama-index readers hive integration |
upload_time | 2024-08-22 06:16:58 |
maintainer | kasen |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8.1 |
license | MIT |
keywords |
hdfs
hadoop
hive
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Hive Loader
```bash
pip install llama-index-readers-hive
```
The Hive Loader returns a set of texts corresponding to documents from Hive based on the customized query.
The user initializes the loader with Hive connection args and then using query to fetch data from Hive.
## Usage
Here's an example usage of the hiveReader to load 100 documents.
```python
from llama_index.readers.hive import HiveReader
reader = HiveReader(
host="localhost",
port=10000,
database="PERSON_DB",
username="hiveuser_test",
auth="NOSASL",
)
query = "SELECT * FROM p1 LIMIT 100"
documents = reader.load_data(query=query)
```
This loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-readers-hive",
"maintainer": "kasen",
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": "HDFS, Hadoop, Hive",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/77/70/d802f9693b2641d10e3ab93bb2d322858ffb954c0b7b9068bcb8dfedd474/llama_index_readers_hive-0.2.0.tar.gz",
"platform": null,
"description": "# Hive Loader\n\n```bash\npip install llama-index-readers-hive\n```\n\nThe Hive Loader returns a set of texts corresponding to documents from Hive based on the customized query.\nThe user initializes the loader with Hive connection args and then using query to fetch data from Hive.\n\n## Usage\n\nHere's an example usage of the hiveReader to load 100 documents.\n\n```python\nfrom llama_index.readers.hive import HiveReader\n\nreader = HiveReader(\n host=\"localhost\",\n port=10000,\n database=\"PERSON_DB\",\n username=\"hiveuser_test\",\n auth=\"NOSASL\",\n)\n\nquery = \"SELECT * FROM p1 LIMIT 100\"\ndocuments = reader.load_data(query=query)\n```\n\nThis loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index readers hive integration",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [
"hdfs",
" hadoop",
" hive"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3ec823980ce69e5d7376316ea6520270429840f42ea4e4bedce32a85bb0b1c3d",
"md5": "7bc0b7dbdafe8e15863bc702d604f833",
"sha256": "7f0719151112d101d9d6fcb0eaae7f987f540921d286b0ec4de7f02c147736c2"
},
"downloads": -1,
"filename": "llama_index_readers_hive-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7bc0b7dbdafe8e15863bc702d604f833",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 2761,
"upload_time": "2024-08-22T06:16:57",
"upload_time_iso_8601": "2024-08-22T06:16:57.557378Z",
"url": "https://files.pythonhosted.org/packages/3e/c8/23980ce69e5d7376316ea6520270429840f42ea4e4bedce32a85bb0b1c3d/llama_index_readers_hive-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7770d802f9693b2641d10e3ab93bb2d322858ffb954c0b7b9068bcb8dfedd474",
"md5": "6dd21e914af4efee731ad164c6b3eac0",
"sha256": "7fefacb04ffa52180beb0a5734d6e7860cd6f3d14fd02b34232457d97d537bc5"
},
"downloads": -1,
"filename": "llama_index_readers_hive-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "6dd21e914af4efee731ad164c6b3eac0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 2560,
"upload_time": "2024-08-22T06:16:58",
"upload_time_iso_8601": "2024-08-22T06:16:58.526070Z",
"url": "https://files.pythonhosted.org/packages/77/70/d802f9693b2641d10e3ab93bb2d322858ffb954c0b7b9068bcb8dfedd474/llama_index_readers_hive-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 06:16:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-readers-hive"
}