Hive Loader
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.
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)
print(documents)
# test with params
query = "SELECT * FROM p1 WHERE id = %s"
params = ("1",)
documents1 = reader.load_data(query=query, params=params)
This loader is designed to be used as a way to load data into LlamaIndex.
Metadata
Release files for llama-index-readers-hive 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_hive-0.3.1.tar.gz | 4.6 kB | Without provenance | Details for llama_index_readers_hive-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_hive-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_hive-0.3.1-py3-none-any.whl |
Total release size: 8.9 kB
Release files / llama_index_readers_hive-0.3.1.tar.gz
| Download URL | llama_index_readers_hive-0.3.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
428eff8f723c8794a1cdcb5aca2b0a6ad68d459a100676dd514031cb6e6fb3f9
|
|
BLAKE2b-256 checksum How to use checksums |
2a91f17f7c9a17975781dee5154b7929b91cc361326bba2057bff8886a1be107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / llama_index_readers_hive-0.3.1-py3-none-any.whl
| Download URL | llama_index_readers_hive-0.3.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d2625806374d14a2d4fa820a96c24e25882e36a8f86ebd24880a16e008488bd
|
|
BLAKE2b-256 checksum How to use checksums |
a3a5f5c78920eae03f66f5f57d5af05c8b0f79232b2d3026673351932565ad94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Security for llama-index-readers-hive 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.