Name | flying-delta-readers-remote JSON |
Version |
0.1.0
JSON |
| download |
home_page | |
Summary | llama-index readers remote integration |
upload_time | 2024-01-28 00:25:22 |
maintainer | |
docs_url | None |
author | Your Name |
requires_python | >=3.8.1,<3.12 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Remote Page/File Loader
This loader makes it easy to extract the text from any remote page or file using just its url. If there's a file at the url, this loader will download it temporarily and parse it using `SimpleDirectoryReader`. It is an all-in-one tool for (almost) any url.
As a result, any page or type of file is supported. For instance, if a `.txt` url such as a [Project Gutenberg book](https://www.gutenberg.org/cache/epub/69994/pg69994.txt) is passed in, the text will be parsed as is. On the other hand, if a hosted .mp3 url is passed in, it will be downloaded and parsed using `AudioTranscriber`.
## Usage
To use this loader, you need to pass in a `Path` to a local file. Optionally, you may specify a `file_extractor` for the `SimpleDirectoryReader` to use, other than the default one.
```python
from llama_index import download_loader
RemoteReader = download_loader("RemoteReader")
loader = RemoteReader()
documents = loader.load_data(
url="https://en.wikipedia.org/wiki/File:Example.jpg"
)
```
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": "flying-delta-readers-remote",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.1,<3.12",
"maintainer_email": "",
"keywords": "",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/a6/bb/88584e77a8b367faf51d0f0b6cbc2b5feefcc9f64b301656b17bd2321dc9/flying_delta_readers_remote-0.1.0.tar.gz",
"platform": null,
"description": "# Remote Page/File Loader\n\nThis loader makes it easy to extract the text from any remote page or file using just its url. If there's a file at the url, this loader will download it temporarily and parse it using `SimpleDirectoryReader`. It is an all-in-one tool for (almost) any url.\n\nAs a result, any page or type of file is supported. For instance, if a `.txt` url such as a [Project Gutenberg book](https://www.gutenberg.org/cache/epub/69994/pg69994.txt) is passed in, the text will be parsed as is. On the other hand, if a hosted .mp3 url is passed in, it will be downloaded and parsed using `AudioTranscriber`.\n\n## Usage\n\nTo use this loader, you need to pass in a `Path` to a local file. Optionally, you may specify a `file_extractor` for the `SimpleDirectoryReader` to use, other than the default one.\n\n```python\nfrom llama_index import download_loader\n\nRemoteReader = download_loader(\"RemoteReader\")\n\nloader = RemoteReader()\ndocuments = loader.load_data(\n url=\"https://en.wikipedia.org/wiki/File:Example.jpg\"\n)\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 remote integration",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1bf31df1cbe048cc15b898f0180b87acd3e0bb7bd9784f2531c1a51b129461e7",
"md5": "9631a3b13d29637c9ce08d0852cf6afc",
"sha256": "efbb601f9bdbe3c0bf11096d275e7ce0e135b18437dccc690c2420c39fb13186"
},
"downloads": -1,
"filename": "flying_delta_readers_remote-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9631a3b13d29637c9ce08d0852cf6afc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<3.12",
"size": 3455,
"upload_time": "2024-01-28T00:25:19",
"upload_time_iso_8601": "2024-01-28T00:25:19.422143Z",
"url": "https://files.pythonhosted.org/packages/1b/f3/1df1cbe048cc15b898f0180b87acd3e0bb7bd9784f2531c1a51b129461e7/flying_delta_readers_remote-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a6bb88584e77a8b367faf51d0f0b6cbc2b5feefcc9f64b301656b17bd2321dc9",
"md5": "a3973482298d4965b67b9f637497156d",
"sha256": "72d1e69a14ded28b5fb694285ced32bcc407171bd1e703cbda021adbc212a88a"
},
"downloads": -1,
"filename": "flying_delta_readers_remote-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a3973482298d4965b67b9f637497156d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<3.12",
"size": 3268,
"upload_time": "2024-01-28T00:25:22",
"upload_time_iso_8601": "2024-01-28T00:25:22.311183Z",
"url": "https://files.pythonhosted.org/packages/a6/bb/88584e77a8b367faf51d0f0b6cbc2b5feefcc9f64b301656b17bd2321dc9/flying_delta_readers_remote-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-28 00:25:22",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "flying-delta-readers-remote"
}