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-web/llama_index/readers/web/whole_site/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/whole_site/base.py
import time import warnings from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from selenium import webdriver from selenium.common.exceptions import WebDriverException from selenium.webdriver.common.by import By from selenium.webdriver.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-web/llama_index/readers/web/beautiful_soup_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/beautiful_soup_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/beautiful_soup_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/beautiful_soup_web/base.py
"""Beautiful Soup Web scraper.""" import logging import uuid from typing import Any, Callable, Dict, List, Optional, Tuple from urllib.parse import urljoin from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document...
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/oxylabs_web/utils.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/oxylabs_web/utils.py
import re from typing import Any, Optional from lxml.html import defs, fromstring, tostring from lxml.html.clean import Cleaner def clean_html(html: str) -> str: """Clean an HTML string.""" cleaner = Cleaner( scripts=True, javascript=True, style=True, remove_tags=[], k...
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/oxylabs_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/oxylabs_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/oxylabs_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/oxylabs_web/base.py
"""Oxylabs Web Reader.""" import asyncio from typing import Any, Dict, List, Optional, TYPE_CHECKING from platform import architecture, python_version from importlib.metadata import version from llama_index.core.bridge.pydantic import Field from llama_index.core.readers.base import BasePydanticReader from llama_index...
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/scrapfly_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapfly_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/scrapfly_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/scrapfly_web/base.py
"""Scrapfly Web Reader.""" import logging from typing import List, Optional, Literal, TYPE_CHECKING from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document if TYPE_CHECKING: from scrapfly import ScrapflyClient logger = logging.getLogger(__file__) class Scrapfl...
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/simple_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/simple_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/simple_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/simple_web/base.py
"""Simple Web scraper.""" from typing import List, Optional, Dict, Callable import uuid import requests from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document class SimpleWebPageReader(BasePydanticReader): ...
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/main_content_extractor/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/main_content_extractor/__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/main_content_extractor/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/main_content_extractor/base.py
from typing import List import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class MainContentExtractorReader(BaseReader): """ MainContentExtractor web page reader. Reads pages from the web. Args: text_format (str, optional): The ...
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/browserbase_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/browserbase_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/browserbase_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/browserbase_web/base.py
import logging from typing import Optional, Iterator, Sequence from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) class BrowserbaseWebReader(BaseReader): """ BrowserbaseWebReader. Load pre-rendered web pages using a hea...
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/trafilatura_web/__init__.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/trafilatura_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/trafilatura_web/base.py
llama-index-integrations/readers/llama-index-readers-web/llama_index/readers/web/trafilatura_web/base.py
import uuid from typing import List from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document class TrafilaturaWebReader(BasePydanticReader): """ Trafilatura web page reader. Reads pages from the web. Requires the `trafilatura` package. """ i...
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-weaviate/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-weaviate/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-weaviate/tests/test_readers_weaviate.py
llama-index-integrations/readers/llama-index-readers-weaviate/tests/test_readers_weaviate.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.weaviate import WeaviateReader def test_class(): names_of_base_classes = [b.__name__ for b in WeaviateReader.__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-weaviate/llama_index/readers/weaviate/__init__.py
llama-index-integrations/readers/llama-index-readers-weaviate/llama_index/readers/weaviate/__init__.py
from llama_index.readers.weaviate.base import WeaviateReader __all__ = ["WeaviateReader"]
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-weaviate/llama_index/readers/weaviate/base.py
llama-index-integrations/readers/llama-index-readers-weaviate/llama_index/readers/weaviate/base.py
"""Weaviate reader.""" from typing import Any, List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class WeaviateReader(BaseReader): """ Weaviate reader. Retrieves documents from Weaviate through vector lookup. Allows option to concatenat...
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-microsoft-outlook/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-microsoft-outlook/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-microsoft-outlook/tests/test_readers_outlook_localcalendar.py
llama-index-integrations/readers/llama-index-readers-microsoft-outlook/tests/test_readers_outlook_localcalendar.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.microsoft_outlook import OutlookLocalCalendarReader def test_class(): names_of_base_classes = [b.__name__ for b in OutlookLocalCalendarReader.__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-microsoft-outlook/llama_index/readers/microsoft_outlook/__init__.py
llama-index-integrations/readers/llama-index-readers-microsoft-outlook/llama_index/readers/microsoft_outlook/__init__.py
from llama_index.readers.microsoft_outlook.base import OutlookLocalCalendarReader __all__ = ["OutlookLocalCalendarReader"]
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-microsoft-outlook/llama_index/readers/microsoft_outlook/base.py
llama-index-integrations/readers/llama-index-readers-microsoft-outlook/llama_index/readers/microsoft_outlook/base.py
""" Outlook local calendar reader for Windows. Created on Sun Apr 16 12:03:19 2023 @author: tevslin """ import datetime import importlib import platform from typing import List, Optional, Union from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document # Copyright 2023 Evslin...
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-athena/llama_index/readers/athena/__init__.py
llama-index-integrations/readers/llama-index-readers-athena/llama_index/readers/athena/__init__.py
from llama_index.readers.athena.base import AthenaReader __all__ = ["AthenaReader"]
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-athena/llama_index/readers/athena/base.py
llama-index-integrations/readers/llama-index-readers-athena/llama_index/readers/athena/base.py
"""Athena Reader.""" import warnings from typing import Optional import boto3 from llama_index.core.readers.base import BaseReader from sqlalchemy.engine import create_engine class AthenaReader(BaseReader): """ Athena reader. Follow AWS best practices for security. AWS discourages hardcoding creden...
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-myscale/tests/test_readers_myscale.py
llama-index-integrations/readers/llama-index-readers-myscale/tests/test_readers_myscale.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.myscale import MyScaleReader def test_class(): names_of_base_classes = [b.__name__ for b in MyScaleReader.__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-myscale/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-myscale/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-myscale/llama_index/readers/myscale/__init__.py
llama-index-integrations/readers/llama-index-readers-myscale/llama_index/readers/myscale/__init__.py
from llama_index.readers.myscale.base import ( MyScaleReader, escape_str, format_list_to_string, ) __all__ = ["MyScaleReader", "escape_str", "format_list_to_string"]
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-myscale/llama_index/readers/myscale/base.py
llama-index-integrations/readers/llama-index-readers-myscale/llama_index/readers/myscale/base.py
"""MyScale reader.""" import logging from typing import Any, List, Optional import clickhouse_connect from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) def escape_str(value: str) -> str: BS = "\\" must_escape = (BS, "'") ...
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-slack/tests/test_readers_slack.py
llama-index-integrations/readers/llama-index-readers-slack/tests/test_readers_slack.py
from llama_index.core.readers.base import BasePydanticReader from llama_index.readers.slack import SlackReader def test_class(): names_of_base_classes = [b.__name__ for b in SlackReader.__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-slack/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-slack/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-slack/llama_index/readers/slack/__init__.py
llama-index-integrations/readers/llama-index-readers-slack/llama_index/readers/slack/__init__.py
from llama_index.readers.slack.base import SlackReader __all__ = ["SlackReader"]
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-slack/llama_index/readers/slack/base.py
llama-index-integrations/readers/llama-index-readers-slack/llama_index/readers/slack/base.py
"""Slack reader.""" import logging import os import re import time from datetime import datetime from ssl import SSLContext from typing import Any, List, Optional, Dict from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema 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-firebase-realtimedb/tests/test_readers_firebase_realtimedb.py
llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/tests/test_readers_firebase_realtimedb.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.firebase_realtimedb import FirebaseRealtimeDatabaseReader def test_class(): names_of_base_classes = [b.__name__ for b in FirebaseRealtimeDatabaseReader.__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-firebase-realtimedb/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/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-firebase-realtimedb/llama_index/readers/firebase_realtimedb/__init__.py
llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/llama_index/readers/firebase_realtimedb/__init__.py
from llama_index.readers.firebase_realtimedb.base import FirebaseRealtimeDatabaseReader __all__ = ["FirebaseRealtimeDatabaseReader"]
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-firebase-realtimedb/llama_index/readers/firebase_realtimedb/base.py
llama-index-integrations/readers/llama-index-readers-firebase-realtimedb/llama_index/readers/firebase_realtimedb/base.py
"""Firebase Realtime Database Loader.""" from typing import Dict, List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class FirebaseRealtimeDatabaseReader(BaseReader): """ Firebase Realtime Database reader. Retrieves data from Firebase Realti...
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-google/tests/test_readers_google_maps.py
llama-index-integrations/readers/llama-index-readers-google/tests/test_readers_google_maps.py
import os import unittest from unittest.mock import patch, MagicMock import pytest from llama_index.readers.google import GoogleMapsTextSearchReader mock_response_data = { "places": [ { "formattedAddress": "123 Test St, Test City, TC 12345", "rating": 4.5, "displayName"...
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-google/tests/test_readers_google_drive.py
llama-index-integrations/readers/llama-index-readers-google/tests/test_readers_google_drive.py
import json import os import unittest from tempfile import TemporaryDirectory from unittest.mock import patch, MagicMock, mock_open import pytest from google.oauth2.credentials import Credentials from google_auth_oauthlib.flow import InstalledAppFlow from llama_index.core.readers.base import BaseReader from llama_ind...
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-google/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-google/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-google/llama_index/readers/google/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/__init__.py
from llama_index.readers.google.calendar.base import GoogleCalendarReader from llama_index.readers.google.chat.base import GoogleChatReader from llama_index.readers.google.docs.base import GoogleDocsReader from llama_index.readers.google.drive.base import GoogleDriveReader from llama_index.readers.google.gmail.base imp...
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-google/llama_index/readers/google/drive/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/drive/__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-google/llama_index/readers/google/drive/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/drive/base.py
"""Google Drive files reader.""" import json import logging import os import tempfile from pathlib import Path from typing import Any, Dict, List, Optional, Tuple, Union from google.auth.transport.requests import Request from google.oauth2 import service_account from google.oauth2.credentials import Credentials from ...
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-google/llama_index/readers/google/chat/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/chat/__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-google/llama_index/readers/google/chat/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/chat/base.py
"""Google Chat Reader.""" import logging from datetime import datetime from typing import Any, List, Dict from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) SCOPES = [ "https://www.googleapis.com/auth/chat.messages.reado...
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-google/llama_index/readers/google/gmail/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/gmail/__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-google/llama_index/readers/google/gmail/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/gmail/base.py
"""Google Mail reader.""" import base64 import email from typing import Any, List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from pydantic import BaseModel SCOPES = ["https://www.googleapis.com/auth/gmail.readonly"] class GmailReader(BaseReader, Base...
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-google/llama_index/readers/google/keep/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/keep/__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-google/llama_index/readers/google/keep/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/keep/base.py
"""(Unofficial) Google Keep reader using gkeepapi.""" import json import os from typing import Any, List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class GoogleKeepReader(BaseReader): """ Google Keep reader. Reads notes from Google Keep """ ...
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-google/llama_index/readers/google/maps/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/maps/__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-google/llama_index/readers/google/maps/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/maps/base.py
import json import os import requests from typing import List, Optional, Any, Iterable from pydantic import BaseModel from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document # Default Field Mask FIELD_MASK = "places.name,places.id,places.types,places.formattedAddress,places.lo...
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-google/llama_index/readers/google/docs/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/docs/__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-google/llama_index/readers/google/docs/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/docs/base.py
"""Google docs reader.""" import json import logging import os import random import string from typing import Any, List, Optional import googleapiclient.discovery as discovery from google_auth_oauthlib.flow import InstalledAppFlow from llama_index.core.bridge.pydantic import Field from llama_index.core.readers.base ...
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-google/llama_index/readers/google/calendar/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/calendar/__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-google/llama_index/readers/google/calendar/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/calendar/base.py
"""Google Calendar reader.""" import datetime import os from typing import Any, List, Optional, Union from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document SCOPES = ["https://www.googleapis.com/auth/calendar.readonly"] # Copyright 2018 Google LLC # # Licensed under the Ap...
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-google/llama_index/readers/google/sheets/__init__.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/sheets/__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-google/llama_index/readers/google/sheets/base.py
llama-index-integrations/readers/llama-index-readers-google/llama_index/readers/google/sheets/base.py
"""Google sheets reader.""" import logging import os import pandas as pd from typing import Any, List import googleapiclient.discovery as discovery from google_auth_oauthlib.flow import InstalledAppFlow from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document from goo...
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-s3/tests/test_readers_s3.py
llama-index-integrations/readers/llama-index-readers-s3/tests/test_readers_s3.py
from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document from llama_index.readers.s3 import S3Reader from typing import List from moto.server import ThreadedMotoServer import pytest import os import requests from s3fs import S3FileSystem import hashlib test_bucket = "te...
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-s3/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-s3/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-s3/llama_index/readers/s3/__init__.py
llama-index-integrations/readers/llama-index-readers-s3/llama_index/readers/s3/__init__.py
from llama_index.readers.s3.base import S3Reader __all__ = ["S3Reader"]
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-s3/llama_index/readers/s3/base.py
llama-index-integrations/readers/llama-index-readers-s3/llama_index/readers/s3/base.py
""" S3 file and directory reader. A loader that fetches a file or iterates through a directory on AWS S3. """ import warnings from typing import Callable, Dict, List, Optional, Union from typing_extensions import Annotated from datetime import datetime, timezone from pathlib import Path from llama_index.core.reader...
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-macrometa-gdn/tests/test_readers_macrometa_gdn.py
llama-index-integrations/readers/llama-index-readers-macrometa-gdn/tests/test_readers_macrometa_gdn.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.macrometa_gdn import MacrometaGDNReader def test_class(): names_of_base_classes = [b.__name__ for b in MacrometaGDNReader.__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-macrometa-gdn/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-macrometa-gdn/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-macrometa-gdn/llama_index/readers/macrometa_gdn/__init__.py
llama-index-integrations/readers/llama-index-readers-macrometa-gdn/llama_index/readers/macrometa_gdn/__init__.py
from llama_index.readers.macrometa_gdn.base import MacrometaGDNReader __all__ = ["MacrometaGDNReader"]
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-macrometa-gdn/llama_index/readers/macrometa_gdn/base.py
llama-index-integrations/readers/llama-index-readers-macrometa-gdn/llama_index/readers/macrometa_gdn/base.py
"""Macrometa GDN Reader.""" import json from typing import List import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class MacrometaGDNReader(BaseReader): """ Macrometa GDN Reader. Reads vectors from Macrometa GDN """ def __init__(...
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-earnings-call-transcript/tests/test_readers_earnings_call_transcript.py
llama-index-integrations/readers/llama-index-readers-earnings-call-transcript/tests/test_readers_earnings_call_transcript.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.earnings_call_transcript import EarningsCallTranscript def test_class(): names_of_base_classes = [b.__name__ for b in EarningsCallTranscript.__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-earnings-call-transcript/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-earnings-call-transcript/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-earnings-call-transcript/llama_index/readers/earnings_call_transcript/utils.py
llama-index-integrations/readers/llama-index-readers-earnings-call-transcript/llama_index/readers/earnings_call_transcript/utils.py
import json import re from datetime import datetime from typing import List import requests from tenacity import retry, stop_after_attempt, wait_random_exponential def correct_date(yr, dt): """ Some transcripts have incorrect date, correcting it. Args: yr (int): actual dt (datetime): giv...
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-earnings-call-transcript/llama_index/readers/earnings_call_transcript/__init__.py
llama-index-integrations/readers/llama-index-readers-earnings-call-transcript/llama_index/readers/earnings_call_transcript/__init__.py
from llama_index.readers.earnings_call_transcript.base import EarningsCallTranscript __all__ = ["EarningsCallTranscript"]
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-earnings-call-transcript/llama_index/readers/earnings_call_transcript/base.py
llama-index-integrations/readers/llama-index-readers-earnings-call-transcript/llama_index/readers/earnings_call_transcript/base.py
from datetime import datetime from typing import List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.earnings_call_transcript.utils import get_earnings_transcript class EarningsCallTranscript(BaseReader): def __init__(self, year: int, ti...
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-markitdown/tests/test_markitdownreader.py
llama-index-integrations/readers/llama-index-readers-markitdown/tests/test_markitdownreader.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.markitdown import MarkItDownReader def test_class(): reader = MarkItDownReader() assert isinstance(reader, BaseReader) assert reader._reader is not 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-markitdown/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-markitdown/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-markitdown/llama_index/readers/markitdown/__init__.py
llama-index-integrations/readers/llama-index-readers-markitdown/llama_index/readers/markitdown/__init__.py
from llama_index.readers.markitdown.base import MarkItDownReader __all__ = ["MarkItDownReader"]
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-markitdown/llama_index/readers/markitdown/base.py
llama-index-integrations/readers/llama-index-readers-markitdown/llama_index/readers/markitdown/base.py
from markitdown import MarkItDown from llama_index.core.bridge.pydantic import BaseModel, model_validator import os from pathlib import Path from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from typing import Tuple, Optional, Union, List from typing_extensions import Sel...
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-zyte-serp/tests/test_readers_zyte_serp.py
llama-index-integrations/readers/llama-index-readers-zyte-serp/tests/test_readers_zyte_serp.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.zyte_serp import ZyteSerpReader def test_class(): names_of_base_classes = [b.__name__ for b in ZyteSerpReader.__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-zyte-serp/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-zyte-serp/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-zyte-serp/llama_index/readers/zyte_serp/__init__.py
llama-index-integrations/readers/llama-index-readers-zyte-serp/llama_index/readers/zyte_serp/__init__.py
from llama_index.readers.zyte_serp.base import ZyteSerpReader __all__ = ["ZyteSerpReader"]
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-zyte-serp/llama_index/readers/zyte_serp/base.py
llama-index-integrations/readers/llama-index-readers-zyte-serp/llama_index/readers/zyte_serp/base.py
from typing import Optional from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document from zyte_api import ZyteAPI from zyte_api.utils import USER_AGENT as PYTHON_ZYTE_API_USER_AGENT class ZyteSerpReader(BasePydanticReader): """ Get google search results URLs ...
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-imdb-review/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-imdb-review/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-imdb-review/tests/test_readers_imdb_review.py
llama-index-integrations/readers/llama-index-readers-imdb-review/tests/test_readers_imdb_review.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.imdb_review import IMDBReviews def test_class(): names_of_base_classes = [b.__name__ for b in IMDBReviews.__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-imdb-review/llama_index/readers/imdb_review/scraper.py
llama-index-integrations/readers/llama-index-readers-imdb-review/llama_index/readers/imdb_review/scraper.py
try: import concurrent.futures import os import re import imdb import pandas as pd from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.chrome.service import Service from selenium.webdriver.common.by import By from ...
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-imdb-review/llama_index/readers/imdb_review/__init__.py
llama-index-integrations/readers/llama-index-readers-imdb-review/llama_index/readers/imdb_review/__init__.py
from llama_index.readers.imdb_review.base import IMDBReviews __all__ = ["IMDBReviews"]
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-imdb-review/llama_index/readers/imdb_review/base.py
llama-index-integrations/readers/llama-index-readers-imdb-review/llama_index/readers/imdb_review/base.py
try: from llama_index.readers.imdb_review.scraper import main_scraper except ImportError: from scraper import main_scraper from typing import List from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class IMDBReviews(BaseReader): def __init__( self, ...
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-confluence/tests/test_new_features.py
llama-index-integrations/readers/llama-index-readers-confluence/tests/test_new_features.py
"""Tests for new ConfluenceReader features: callbacks, custom parsers, event system.""" from unittest.mock import Mock, MagicMock, patch import pytest import os from llama_index.readers.confluence import ConfluenceReader from llama_index.readers.confluence.event import ( FileType, PageDataFetchStartedEvent, ...
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-confluence/tests/test_html_parser.py
llama-index-integrations/readers/llama-index-readers-confluence/tests/test_html_parser.py
import pytest from llama_index.readers.confluence.html_parser import HtmlTextParser class TestHtmlTextParser: def test_parser_initialization(self): parser = HtmlTextParser() assert parser is not None @pytest.mark.parametrize( ("html_input", "expected_contains"), [ ...
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-confluence/tests/run_basic_tests.py
llama-index-integrations/readers/llama-index-readers-confluence/tests/run_basic_tests.py
#!/usr/bin/env python3 """ Simple test runner to verify the new ConfluenceReader features. Run this script to test the new functionality without requiring pytest installation. """ import sys import os import traceback from unittest.mock import MagicMock # Add the package to the path sys.path.insert(0, os.path.join(os...
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-confluence/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-confluence/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-confluence/tests/test_readers_confluence.py
llama-index-integrations/readers/llama-index-readers-confluence/tests/test_readers_confluence.py
from unittest.mock import patch, MagicMock import pytest from llama_index.readers.confluence import ConfluenceReader from llama_index.readers.confluence.event import ( FileType, PageDataFetchStartedEvent, AttachmentProcessedEvent, ) from llama_index.core.readers.base import BaseReader from llama_index.core...
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-confluence/tests/test_integration.py
llama-index-integrations/readers/llama-index-readers-confluence/tests/test_integration.py
"""Integration test demonstrating all new ConfluenceReader features working together.""" from unittest.mock import MagicMock, patch import tempfile from llama_index.readers.confluence import ConfluenceReader from llama_index.readers.confluence.event import ( FileType, TotalPagesToProcessEvent, PageDataFet...
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-confluence/llama_index/readers/confluence/event.py
llama-index-integrations/readers/llama-index-readers-confluence/llama_index/readers/confluence/event.py
from enum import Enum from llama_index.core.schema import Document from llama_index.core.instrumentation.events.base import BaseEvent class FileType(Enum): IMAGE = "image" DOCUMENT = "document" TEXT = "text" HTML = "html" CSV = "csv" MARKDOWN = "md" SPREADSHEET = "spreadsheet" PRESENTA...
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-confluence/llama_index/readers/confluence/__init__.py
llama-index-integrations/readers/llama-index-readers-confluence/llama_index/readers/confluence/__init__.py
from llama_index.readers.confluence.base import ConfluenceReader __all__ = ["ConfluenceReader"]
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-confluence/llama_index/readers/confluence/base.py
llama-index-integrations/readers/llama-index-readers-confluence/llama_index/readers/confluence/base.py
"""Confluence reader.""" import logging import os import tempfile import uuid from io import BytesIO from typing import Callable, Dict, List, Optional from urllib.parse import unquote import requests from llama_index.core.instrumentation import DispatcherSpanMixin, get_dispatcher from llama_index.core.readers.base im...
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-confluence/llama_index/readers/confluence/html_parser.py
llama-index-integrations/readers/llama-index-readers-confluence/llama_index/readers/confluence/html_parser.py
class HtmlTextParser: def __init__(self): try: from markdownify import markdownify # noqa: F401 except ImportError: raise ImportError( "`markdownify` package not found, please run `pip install markdownify`" ) def convert(self, html: str) -> s...
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-joplin/tests/test_readers_joplin.py
llama-index-integrations/readers/llama-index-readers-joplin/tests/test_readers_joplin.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.joplin import JoplinReader def test_class(): names_of_base_classes = [b.__name__ for b in JoplinReader.__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-joplin/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-joplin/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-joplin/llama_index/readers/joplin/__init__.py
llama-index-integrations/readers/llama-index-readers-joplin/llama_index/readers/joplin/__init__.py
from llama_index.readers.joplin.base import ( LINK_NOTE_TEMPLATE, JoplinReader, ) __all__ = ["JoplinReader", "LINK_NOTE_TEMPLATE"]
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-joplin/llama_index/readers/joplin/base.py
llama-index-integrations/readers/llama-index-readers-joplin/llama_index/readers/joplin/base.py
""" Joplin reader class. When Joplin is installed and running it will parse all markdown files into a List of Documents. """ import json import os import urllib from datetime import datetime from typing import Iterator, List, Optional from llama_index.core.readers.base import BaseReader from llama_index.readers.fil...
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-lilac/tests/test_readers_lilac_reader.py
llama-index-integrations/readers/llama-index-readers-lilac/tests/test_readers_lilac_reader.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.lilac import LilacReader def test_class(): names_of_base_classes = [b.__name__ for b in LilacReader.__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-lilac/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-lilac/tests/__init__.py
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false