Name | llama-index-readers-couchdb JSON |
Version |
0.1.3
JSON |
| download |
home_page | |
Summary | llama-index readers couchdb integration |
upload_time | 2024-02-21 19:39:39 |
maintainer | technosophy |
docs_url | None |
author | Your Name |
requires_python | >=3.8.1,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# CouchDB Loader
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.
```python
from llama_index import download_loader
import os
SimpleCouchDBReader = download_loader("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](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-couchdb",
"maintainer": "technosophy",
"docs_url": null,
"requires_python": ">=3.8.1,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/ec/37/83d6ba8268d643468921d347db13a968dea871b209e52140af6457f95555/llama_index_readers_couchdb-0.1.3.tar.gz",
"platform": null,
"description": "# CouchDB Loader\n\nThis loader loads documents from CouchDB. The loader currently supports CouchDB 3.x\nusing the CouchDB3 python wrapper from https://github.com/n-vlahovic/couchdb3\nThe user specifies a CouchDB instance to initialize the reader. They then specify\nthe database name and query params to fetch the relevant docs.\n\n## Usage\n\nHere's an example usage of the SimpleCouchDBReader.\n\n```python\nfrom llama_index import download_loader\nimport os\n\nSimpleCouchDBReader = download_loader(\"SimpleCouchDBReader\")\n\nhost = \"<host>\"\nport = \"<port>\"\ndb_name = \"<db_name>\"\n# query is passed into db.find()\nquery_str = \"{ couchdb_find_sytax_json }\"\nreader = SimpleCouchDBReader(host, port)\ndocuments = reader.load_data(db_name, query=query_str)\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 couchdb integration",
"version": "0.1.3",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2f424b785b88d5eba52b21bbf79bdfa5b797a0578752f9cec46e313bd6273a71",
"md5": "3d44e4784638b00aa66d8ecd8c294522",
"sha256": "c4f5c986de4a6d20d772e6f96240f2b48a7423d75fa2453acf2efdef258dd5be"
},
"downloads": -1,
"filename": "llama_index_readers_couchdb-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3d44e4784638b00aa66d8ecd8c294522",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<4.0",
"size": 3046,
"upload_time": "2024-02-21T19:39:38",
"upload_time_iso_8601": "2024-02-21T19:39:38.756131Z",
"url": "https://files.pythonhosted.org/packages/2f/42/4b785b88d5eba52b21bbf79bdfa5b797a0578752f9cec46e313bd6273a71/llama_index_readers_couchdb-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ec3783d6ba8268d643468921d347db13a968dea871b209e52140af6457f95555",
"md5": "3f8d65e494d71daeae0fc53eb5b5cb5c",
"sha256": "0b77bbc92defe6c8460b1646c7a9e34f982ad55610f95be6a7bd3cfddc25b045"
},
"downloads": -1,
"filename": "llama_index_readers_couchdb-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "3f8d65e494d71daeae0fc53eb5b5cb5c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<4.0",
"size": 2798,
"upload_time": "2024-02-21T19:39:39",
"upload_time_iso_8601": "2024-02-21T19:39:39.796709Z",
"url": "https://files.pythonhosted.org/packages/ec/37/83d6ba8268d643468921d347db13a968dea871b209e52140af6457f95555/llama_index_readers_couchdb-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-21 19:39:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-readers-couchdb"
}