llama-index readers couchdb integration
Project description
CouchDB Loader
pip install llama-index-readers-couchdb
This loader loads documents from CouchDB. The loader currently supports CouchDB 3.x using the CouchDB3 python wrapper from https://github.com/n-vlahovic/couchdb3 The user specifies a CouchDB instance to initialize the reader. They then specify the database name and query params to fetch the relevant docs.
Usage
Here's an example usage of the SimpleCouchDBReader.
import os
from llama_index.readers.couchdb import SimpleCouchDBReader
host = "<host>"
port = "<port>"
db_name = "<db_name>"
# query is passed into db.find()
query_str = "{ couchdb_find_sytax_json }"
reader = SimpleCouchDBReader(host, port)
documents = reader.load_data(db_name, query=query_str)
This loader is designed to be used as a way to load data into LlamaIndex.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_readers_couchdb-0.5.0.tar.gz.
File metadata
- Download URL: llama_index_readers_couchdb-0.5.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce29dde63b6665746ceb3699f897c84f876d861bfbff384025d7fd66d8a401e6
|
|
| MD5 |
0c8806cd29cd40a3ab0dc3b7eafe6eb0
|
|
| BLAKE2b-256 |
f2dd39dbce957507550cbcb744b837b68596391caf6c00b7e74a81b09d6ac17b
|
File details
Details for the file llama_index_readers_couchdb-0.5.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_couchdb-0.5.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e08b812f13e16b905bb911c45b300e65eb854cf6d3545b2c1331b4141f15efce
|
|
| MD5 |
a1084a6e82d591787770c1c9b92aa66e
|
|
| BLAKE2b-256 |
f26ea84da50a9e2c3057b5650613406613fa07d8ebf60c00c0b50d415067bd22
|