repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-airbyte-hubspot/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-hubspot/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-airbyte-hubspot/llama_index/readers/airbyte_hubspot/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-hubspot/llama_index/readers/airbyte_hubspot/__init__.py
from llama_index.readers.airbyte_hubspot.base import AirbyteHubspotReader __all__ = ["AirbyteHubspotReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-airbyte-hubspot/llama_index/readers/airbyte_hubspot/base.py
llama-index-integrations/readers/llama-index-readers-airbyte-hubspot/llama_index/readers/airbyte_hubspot/base.py
from typing import Any, Mapping, Optional from llama_index.readers.airbyte_cdk.base import AirbyteCDKReader, RecordHandler class AirbyteHubspotReader(AirbyteCDKReader): """ AirbyteHubspotReader reader. Retrieve documents from Hubspot Args: config: The config object for the hubspot source. ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-paddle-ocr/tests/test_readers_paddle_ocr.py
llama-index-integrations/readers/llama-index-readers-paddle-ocr/tests/test_readers_paddle_ocr.py
import unittest from unittest.mock import Mock, patch, ANY import io from pathlib import Path from llama_index.readers.paddle_ocr import PDFPaddleOCRReader from llama_index.core.schema import Document from llama_index.core.readers.base import BaseReader class TestPDFPaddleOcrReader(unittest.TestCase): """Test su...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-paddle-ocr/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-paddle-ocr/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-paddle-ocr/llama_index/readers/paddle_ocr/__init__.py
llama-index-integrations/readers/llama-index-readers-paddle-ocr/llama_index/readers/paddle_ocr/__init__.py
from llama_index.readers.paddle_ocr.base import PDFPaddleOCRReader __all__ = ["PDFPaddleOCRReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-paddle-ocr/llama_index/readers/paddle_ocr/base.py
llama-index-integrations/readers/llama-index-readers-paddle-ocr/llama_index/readers/paddle_ocr/base.py
import logging from pathlib import Path from typing import Dict, List, Optional import tempfile import io from paddleocr import PaddleOCR import pdfplumber import fitz # PyMuPDF from PIL import Image import re from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class P...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pdb/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-pdb/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pdb/tests/test_readers_pdb.py
llama-index-integrations/readers/llama-index-readers-pdb/tests/test_readers_pdb.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.pdb import PdbAbstractReader def test_class(): names_of_base_classes = [b.__name__ for b in PdbAbstractReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/utils.py
llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/utils.py
from typing import Dict, List import requests def get_pdb_publications_from_rcsb(pdb_id: str) -> List[Dict]: base_url = "https://data.rcsb.org/rest/v1/core/" pubmed_query = f"{base_url}pubmed/{pdb_id}" entry_query = f"{base_url}entry/{pdb_id}" pubmed_response = requests.get(pubmed_query) entry_re...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/__init__.py
llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/__init__.py
from llama_index.readers.pdb.base import PdbAbstractReader __all__ = ["PdbAbstractReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/base.py
llama-index-integrations/readers/llama-index-readers-pdb/llama_index/readers/pdb/base.py
"""Simple Reader that reads abstract of primary citation for a given PDB id.""" from typing import List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.pdb.utils import get_pdb_abstract class PdbAbstractReader(BaseReader): """Protein Dat...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-upstage/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-upstage/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-upstage/tests/test_readers_upstage.py
llama-index-integrations/readers/llama-index-readers-upstage/tests/test_readers_upstage.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.upstage import UpstageLayoutAnalysisReader from llama_index.readers.upstage import UpstageDocumentParseReader def test_class(): names_of_base_classes = [b.__name__ for b in UpstageLayoutAnalysisReader.__mro__] assert BaseReader.__na...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-upstage/llama_index/readers/upstage/__init__.py
llama-index-integrations/readers/llama-index-readers-upstage/llama_index/readers/upstage/__init__.py
from llama_index.readers.upstage.base import UpstageLayoutAnalysisReader from llama_index.readers.upstage.document_parse import UpstageDocumentParseReader __all__ = ["UpstageLayoutAnalysisReader", "UpstageDocumentParseReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-upstage/llama_index/readers/upstage/document_parse.py
llama-index-integrations/readers/llama-index-readers-upstage/llama_index/readers/upstage/document_parse.py
import io import json import os from pathlib import Path from typing import Dict, Iterable, List, Literal, Optional, Union from fitz import Document as fitzDocument import fitz # type: ignore from llama_index.core.readers.base import BaseReader import requests from llama_index.core.schema import Document DOCUMENT_P...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-upstage/llama_index/readers/upstage/base.py
llama-index-integrations/readers/llama-index-readers-upstage/llama_index/readers/upstage/base.py
import io import json import os from pathlib import Path from typing import Dict, Iterable, List, Literal, Optional, Union import fitz # type: ignore import requests from fitz import Document as fitzDocument from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document LAYOUT_ANAL...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-hatena-blog/tests/test_readers_hatena_blog.py
llama-index-integrations/readers/llama-index-readers-hatena-blog/tests/test_readers_hatena_blog.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.hatena_blog import HatenaBlogReader def test_class(): names_of_base_classes = [b.__name__ for b in HatenaBlogReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-hatena-blog/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-hatena-blog/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-hatena-blog/llama_index/readers/hatena_blog/__init__.py
llama-index-integrations/readers/llama-index-readers-hatena-blog/llama_index/readers/hatena_blog/__init__.py
from llama_index.readers.hatena_blog.base import HatenaBlogReader __all__ = ["HatenaBlogReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-hatena-blog/llama_index/readers/hatena_blog/base.py
llama-index-integrations/readers/llama-index-readers-hatena-blog/llama_index/readers/hatena_blog/base.py
"""Hatena Blog reader.""" from typing import Dict, List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document ATOM_PUB_ENTRY_URL = "{root_endpoint}/entry" class Article: def __init__(self) -> None: self.title = "" self.content = "" self.publis...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-docugami/tests/test_readers_docugami.py
llama-index-integrations/readers/llama-index-readers-docugami/tests/test_readers_docugami.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.docugami import DocugamiReader def test_class(): names_of_base_classes = [b.__name__ for b in DocugamiReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-docugami/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-docugami/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-docugami/llama_index/readers/docugami/__init__.py
llama-index-integrations/readers/llama-index-readers-docugami/llama_index/readers/docugami/__init__.py
from llama_index.readers.docugami.base import DocugamiReader __all__ = ["DocugamiReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-docugami/llama_index/readers/docugami/base.py
llama-index-integrations/readers/llama-index-readers-docugami/llama_index/readers/docugami/base.py
"""Docugami reader.""" import hashlib import io import logging import os import requests from pathlib import Path from typing import Any, Dict, List, Mapping, Optional, Sequence, Union from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from dgml_utils.models import Chu...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-qdrant/tests/test_readers_qdrant.py
llama-index-integrations/readers/llama-index-readers-qdrant/tests/test_readers_qdrant.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.qdrant import QdrantReader def test_class(): names_of_base_classes = [b.__name__ for b in QdrantReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-qdrant/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-qdrant/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-qdrant/llama_index/readers/qdrant/__init__.py
llama-index-integrations/readers/llama-index-readers-qdrant/llama_index/readers/qdrant/__init__.py
from llama_index.readers.qdrant.base import QdrantReader __all__ = ["QdrantReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-qdrant/llama_index/readers/qdrant/base.py
llama-index-integrations/readers/llama-index-readers-qdrant/llama_index/readers/qdrant/base.py
"""Qdrant reader.""" from typing import Dict, List, Optional, cast from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class QdrantReader(BaseReader): """ Qdrant reader. Retrieve documents from existing Qdrant collections. Args: location: ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-reddit/tests/test_readers_reddit.py
llama-index-integrations/readers/llama-index-readers-reddit/tests/test_readers_reddit.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.reddit import RedditReader def test_class(): names_of_base_classes = [b.__name__ for b in RedditReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-reddit/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-reddit/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-reddit/llama_index/readers/reddit/__init__.py
llama-index-integrations/readers/llama-index-readers-reddit/llama_index/readers/reddit/__init__.py
from llama_index.readers.reddit.base import RedditReader __all__ = ["RedditReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-reddit/llama_index/readers/reddit/base.py
llama-index-integrations/readers/llama-index-readers-reddit/llama_index/readers/reddit/base.py
"""Simple Reader that loads text relevant to a certain search keyword from subreddits.""" from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class RedditReader(BaseReader): """ Subreddit post and top-level comments reader for R...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-airbyte-typeform/tests/test_readers_airbyte_typeform.py
llama-index-integrations/readers/llama-index-readers-airbyte-typeform/tests/test_readers_airbyte_typeform.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.airbyte_typeform import AirbyteTypeformReader def test_class(): names_of_base_classes = [b.__name__ for b in AirbyteTypeformReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-airbyte-typeform/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-typeform/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-airbyte-typeform/llama_index/readers/airbyte_typeform/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-typeform/llama_index/readers/airbyte_typeform/__init__.py
from llama_index.readers.airbyte_typeform.base import AirbyteTypeformReader __all__ = ["AirbyteTypeformReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-airbyte-typeform/llama_index/readers/airbyte_typeform/base.py
llama-index-integrations/readers/llama-index-readers-airbyte-typeform/llama_index/readers/airbyte_typeform/base.py
from typing import Any, Mapping, Optional from llama_index.readers.airbyte_cdk.base import AirbyteCDKReader, RecordHandler class AirbyteTypeformReader(AirbyteCDKReader): """ AirbyteTypeformReader reader. Retrieve documents from Typeform Args: config: The config object for the typeform sourc...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-txtai/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-txtai/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-txtai/tests/test_readers_txtai.py
llama-index-integrations/readers/llama-index-readers-txtai/tests/test_readers_txtai.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.txtai import TxtaiReader def test_class(): names_of_base_classes = [b.__name__ for b in TxtaiReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-txtai/llama_index/readers/txtai/__init__.py
llama-index-integrations/readers/llama-index-readers-txtai/llama_index/readers/txtai/__init__.py
from llama_index.readers.txtai.base import TxtaiReader __all__ = ["TxtaiReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-txtai/llama_index/readers/txtai/base.py
llama-index-integrations/readers/llama-index-readers-txtai/llama_index/readers/txtai/base.py
"""txtai reader.""" from typing import Any, Dict, List import numpy as np from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class TxtaiReader(BaseReader): """ txtai reader. Retrieves documents through an existing in-memory txtai index. These documents...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-dashscope/tests/test_readers_dashscope.py
llama-index-integrations/readers/llama-index-readers-dashscope/tests/test_readers_dashscope.py
from llama_index.readers.dashscope import DashScopeParse from llama_index.core.readers.base import BasePydanticReader def test_class(): names_of_base_classes = [b.__name__ for b in DashScopeParse.__mro__] assert BasePydanticReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-dashscope/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-dashscope/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/utils.py
llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/utils.py
import hashlib import logging from enum import Enum from httpx._models import Response from typing import Dict, Any, Type, TypeVar from llama_index.readers.dashscope.domain.base_domains import DictToObject T = TypeVar("T", bound=DictToObject) # Asyncio error messages nest_asyncio_err = "cannot be called from a runni...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/__init__.py
llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/__init__.py
from llama_index.readers.dashscope.base import DashScopeParse, ResultType __all__ = ["DashScopeParse", "ResultType"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/base.py
llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/base.py
import os import asyncio import httpx import time from pathlib import Path from tenacity import ( retry, wait_exponential, before_sleep_log, after_log, retry_if_exception_type, stop_after_delay, ) from typing import List, Optional, Union from llama_index.core.async_utils import run_jobs from ll...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/domain/lease_domains.py
llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/domain/lease_domains.py
import os import json import requests from enum import Enum from llama_index.readers.dashscope.domain.base_domains import DictToObject from llama_index.readers.dashscope.utils import get_stream_logger logger = get_stream_logger(name=__name__) class FileUploadMethod(Enum): OSS_PreSignedUrl = "OSS.PreSignedUrl" ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/domain/base_domains.py
llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/domain/base_domains.py
from abc import ABC class DictToObject(ABC): @classmethod def from_dict(cls, data: dict): pass
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-bitbucket/tests/test_readers_bitbucket.py
llama-index-integrations/readers/llama-index-readers-bitbucket/tests/test_readers_bitbucket.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.bitbucket import BitbucketReader def test_class(): names_of_base_classes = [b.__name__ for b in BitbucketReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-bitbucket/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-bitbucket/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-bitbucket/llama_index/readers/bitbucket/__init__.py
llama-index-integrations/readers/llama-index-readers-bitbucket/llama_index/readers/bitbucket/__init__.py
from llama_index.readers.bitbucket.base import BitbucketReader __all__ = ["BitbucketReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-bitbucket/llama_index/readers/bitbucket/base.py
llama-index-integrations/readers/llama-index-readers-bitbucket/llama_index/readers/bitbucket/base.py
"""bitbucket reader.""" import base64 import os from typing import List, Optional import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class BitbucketReader(BaseReader): """ Bitbucket reader. Reads the content of files in Bitbucket repositori...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-guru/tests/test_readers_guru.py
llama-index-integrations/readers/llama-index-readers-guru/tests/test_readers_guru.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.guru import GuruReader def test_class(): names_of_base_classes = [b.__name__ for b in GuruReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-guru/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-guru/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-guru/llama_index/readers/guru/__init__.py
llama-index-integrations/readers/llama-index-readers-guru/llama_index/readers/guru/__init__.py
from llama_index.readers.guru.base import ( GuruReader, ) __all__ = ["GuruReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-guru/llama_index/readers/guru/base.py
llama-index-integrations/readers/llama-index-readers-guru/llama_index/readers/guru/base.py
"""Guru cards / collections reader.""" import logging import re import warnings from typing import Any, List, Optional import pandas as pd import requests from bs4 import BeautifulSoup from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from requests.auth import HTTPBasic...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_async_web.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_async_web.py
import pytest from llama_index.readers.web import AsyncWebPageReader @pytest.fixture() def url() -> str: return "https://llamaindex.ai/" def test_async_web_reader(url: str) -> None: documents = AsyncWebPageReader().load_data(urls=[url]) assert len(documents) > 0 assert isinstance(documents[0].id_, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_scrapy_web_reader.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_scrapy_web_reader.py
import io import pytest import zipfile import requests from llama_index.readers.web import ScrapyWebReader try: from scrapy.spiders import Spider SCRAPY_AVAILABLE = True except ImportError: SCRAPY_AVAILABLE = False pytestmark = pytest.mark.skipif(not SCRAPY_AVAILABLE, reason="Scrapy not installed") c...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/conftest.py
llama-index-integrations/readers/llama-index-readers-web/tests/conftest.py
def pytest_configure(config): config.addinivalue_line("markers", "integration: marks tests as integration tests")
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_readers_oxylabs.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_readers_oxylabs.py
from unittest.mock import MagicMock, AsyncMock import pytest import sys from llama_index.readers.web.oxylabs_web.base import OxylabsWebReader READER_TEST_PARAM = pytest.param( [ "https://sandbox.oxylabs.io/products/1", "https://sandbox.oxylabs.io/products/2", ], { "parse": True, ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_simple_webreader.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_simple_webreader.py
import pytest from llama_index.readers.web import SimpleWebPageReader @pytest.fixture() def url() -> str: return "https://docs.llamaindex.ai/en/stable/module_guides/workflow/" def test_simple_web_reader(url: str) -> None: documents = SimpleWebPageReader().load_data(urls=[url]) assert len(documents) > 0...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-web/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_zenrows_web.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_zenrows_web.py
"""Tests for ZenRowsWebReader.""" from unittest.mock import Mock, patch import pytest import requests from llama_index.readers.web import ZenRowsWebReader from llama_index.core.schema import Document @pytest.fixture def api_key() -> str: """Test API key fixture.""" return "test_api_key_123" @pytest.fixtur...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_firecrawl_web_reader.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_firecrawl_web_reader.py
import sys import types import pytest # type: ignore from llama_index.readers.web.firecrawl_web.base import FireCrawlWebReader def _install_fake_firecrawl(FirecrawlClass) -> None: mod = types.ModuleType("firecrawl") mod.Firecrawl = FirecrawlClass mod.__version__ = "test" sys.modules["firecrawl"] = m...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_firecrawl_requests.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_firecrawl_requests.py
import os import pytest from typing import Optional from llama_index.readers.web.firecrawl_web.base import FireCrawlWebReader # Set PRINT_RESULTS = True to print documents, otherwise tests will use asserts. PRINT_RESULTS = False @pytest.fixture(scope="session", autouse=True) def _print_firecrawl_version() -> None:...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/tests/test_readers_rss.py
llama-index-integrations/readers/llama-index-readers-web/tests/test_readers_rss.py
from llama_index.readers.web import RssReader def test_rss_reader_non_strict_sources(): default_reader = RssReader() documents = default_reader.load_data(urls=["https://news.ycombinator.com/rss"]) assert len(documents) > 0 def test_rss_reader_user_agent(): reader = RssReader(user_agent="MyApp/1.0 +h...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/__init__.py
"""Init file.""" from llama_index.readers.web.agentql_web.base import ( AgentQLWebReader, ) from llama_index.readers.web.async_web.base import ( AsyncWebPageReader, ) from llama_index.readers.web.beautiful_soup_web.base import ( BeautifulSoupWebReader, ) from llama_index.readers.web.browserbase_web.base im...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/hyperbrowser_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/hyperbrowser_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/hyperbrowser_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/hyperbrowser_web/base.py
import os import logging from typing import ( Any, AsyncIterable, Dict, Iterable, List, Literal, Optional, Sequence, Union, ) from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) class Hyperbrowser...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/unstructured_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/unstructured_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/unstructured_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/unstructured_web/base.py
import logging from typing import List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__file__) class UnstructuredURLLoader(BaseReader): """Loader that uses unstructured to load HTML files.""" def __init__( self, urls: Li...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapy_web/utils.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapy_web/utils.py
import json import os from multiprocessing import Queue from typing import Dict from scrapy.spiders import signals, Spider from scrapy.crawler import CrawlerProcess from scrapy.utils.project import get_project_settings from llama_index.core.schema import Document def load_scrapy_settings(project_path: str) -> Dict:...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapy_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapy_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapy_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapy_web/base.py
from typing import List, Optional, Union from multiprocessing import Process, Queue from scrapy.spiders import Spider from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document from .utils import run_spider_process, load_scrapy_settings class ScrapyWebReader(BasePydan...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zenrows_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zenrows_web/__init__.py
"""ZenRows Web Reader module.""" from llama_index.readers.web.zenrows_web.base import ZenRowsWebReader __all__ = ["ZenRowsWebReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zenrows_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zenrows_web/base.py
"""ZenRows Web Reader.""" import json import time from typing import Any, Dict, List, Literal, Optional, Union import requests from llama_index.core.bridge.pydantic import Field, PrivateAttr, field_validator from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document cl...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/agentql_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/agentql_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/agentql_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/agentql_web/base.py
"""AgentQL Web Reader.""" import httpx from typing import Optional, List from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document import logging logging.getLogger("root").setLevel(logging.INFO) QUERY_DATA_ENDPOINT = "https://api.agentql.com/v1/query-data" API_TIMEOU...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/firecrawl_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/firecrawl_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/firecrawl_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/firecrawl_web/base.py
"""Firecrawl Web Reader.""" from typing import Any, List, Optional, Dict, Callable from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document class FireCrawlWebReader(BasePydanticReader): """ turn a url t...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
true
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/olostep_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/olostep_web/base.py
"""Olostep Web Reader.""" import requests from typing import List, Optional, Dict, Callable from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document class OlostepWebReader(BasePydanticReader): """ A web...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/news/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/news/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/news/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/news/base.py
"""News article reader using Newspaper.""" import logging from importlib.util import find_spec from typing import Any, Generator, List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) class NewsArticleReader(BaseReader): """ ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss/base.py
"""Rss reader.""" from typing import List, Any, Union import logging from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) class RssReader(BasePydanticReader): """ RSS reader. Reads content from an RSS feed. ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/spider_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/spider_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/spider_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/spider_web/base.py
from typing import List, Optional, Literal from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document class SpiderWebReader(BasePydanticReader): """ Scrapes a URL for data and returns llm-ready data with `Spider.cloud`. Must have the Python package `spider-...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zyte_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zyte_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zyte_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/zyte_web/base.py
"""Zyte Web Reader.""" import asyncio import logging from base64 import b64decode from typing import Any, Dict, List, Literal, Optional from pydantic import Field from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) class Zyt...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/sitemap/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/sitemap/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/sitemap/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/sitemap/base.py
import httpx from typing import List from defusedxml.ElementTree import fromstring from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.web.async_web.base import AsyncWebPageReader class SitemapReader(BaseReader): """ Asynchronous sitemap ...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/async_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/async_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/async_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/async_web/base.py
import asyncio import logging from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) class AsyncWebPageReader(BaseReader): """ Asynchronous web page reader. Reads pages from the web asynchr...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss_news/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss_news/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss_news/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/rss_news/base.py
"""RSS feed reader for news - processes each article with NewsArticleReader.""" import logging from typing import Any, List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.web.news.base import NewsArticleReader logger = logging.getLogger(__na...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/knowledge_base/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/knowledge_base/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/knowledge_base/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/knowledge_base/base.py
from typing import Any, Dict, List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class KnowledgeBaseWebReader(BaseReader): """ Knowledge base reader. Crawls and reads articles from a knowledge base/help center with Playwright. Tested on Z...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/readability_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/readability_web/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/readability_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/readability_web/base.py
import asyncio import unicodedata from pathlib import Path from typing import Callable, Dict, List, Literal, Optional from llama_index.core.node_parser.interface import TextSplitter from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from playwright.async_api._generated im...
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false
run-llama/llama_index
https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/whole_site/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/whole_site/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false