Remote Page/File Loader
pip install llama-index-readers-remote-depth
This loader makes it easy to extract the text from the links available in a webpage URL, and extract the links presents in the page. It's based on RemoteReader (reading single page), that is based on SimpleDirectoryReader (parsing the document if file is a pdf, etc). It is an all-in-one tool for (almost) any group of urls.
You can try with this MIT lecture link, it will be able to extract the syllabus, the PDFs, etc:
https://ocw.mit.edu/courses/5-05-principles-of-inorganic-chemistry-iii-spring-2005/pages/syllabus/
Usage
You need to specify the parameter depth to specify how many levels of links you want to extract. For example, if you want to extract the links in the page, and the links in the links in the page, you need to specify depth=2.
from llama_index.readers.remote_depth import RemoteDepthReader
loader = RemoteDepthReader()
documents = loader.load_data(
url="https://ocw.mit.edu/courses/5-05-principles-of-inorganic-chemistry-iii-spring-2005/pages/syllabus/"
)
This loader is designed to be used as a way to load data into LlamaIndex.
Metadata
Release files for llama-index-readers-remote-depth 0.6.0
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_remote_depth-0.6.0.tar.gz | 4.7 kB | Without provenance | Details for llama_index_readers_remote_depth-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_remote_depth-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_remote_depth-0.6.0-py3-none-any.whl |
Total release size: 9.0 kB
Release files / llama_index_readers_remote_depth-0.6.0.tar.gz
| Download URL | llama_index_readers_remote_depth-0.6.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dca9331c5cf0cbbff491b34a0abe84b04024e5665ab43207962b030dbb838ccb
|
|
BLAKE2b-256 checksum How to use checksums |
4fc8575eecadf023c0ff8465869f68c55461cc8e8f3bc2db4840af164deb4485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}
|
Release files / llama_index_readers_remote_depth-0.6.0-py3-none-any.whl
| Download URL | llama_index_readers_remote_depth-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
690861a167f2635138b65de454a81b869a7967d90a9849fc3f697c1230b49c98
|
|
BLAKE2b-256 checksum How to use checksums |
d28cad933a6c858d3189080a67281aacfbd2295c5ad00253cc6f6b9fe482343c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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}
|
Security for llama-index-readers-remote-depth 0.6.0
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.