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-openalex/llama_index/readers/openalex/base.py
llama-index-integrations/readers/llama-index-readers-openalex/llama_index/readers/openalex/base.py
""" Class for searching and importing data from OpenAlex. """ import logging from typing import List import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = logging.getLogger(__name__) logger.setLevel(logging.ERROR) class OpenAlexReader(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-papers/tests/test_readers_papers.py
llama-index-integrations/readers/llama-index-readers-papers/tests/test_readers_papers.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.papers import ArxivReader, PubmedReader def test_class(): names_of_base_classes = [b.__name__ for b in ArxivReader.__mro__] assert BaseReader.__name__ in names_of_base_classes names_of_base_classes = [b.__name__ for b in Pubmed...
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-papers/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-papers/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-papers/llama_index/readers/papers/__init__.py
llama-index-integrations/readers/llama-index-readers-papers/llama_index/readers/papers/__init__.py
"""Init file.""" from llama_index.readers.papers.arxiv.base import ArxivReader from llama_index.readers.papers.pubmed.base import PubmedReader __all__ = ["ArxivReader", "PubmedReader"]
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-papers/llama_index/readers/papers/pubmed/__init__.py
llama-index-integrations/readers/llama-index-readers-papers/llama_index/readers/papers/pubmed/__init__.py
"""Init file."""
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-papers/llama_index/readers/papers/pubmed/base.py
llama-index-integrations/readers/llama-index-readers-papers/llama_index/readers/papers/pubmed/base.py
"""Read Pubmed Papers.""" from typing import List, Optional from defusedxml import ElementTree as safe_xml from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class PubmedReader(BaseReader): """ Pubmed Reader. Gets a search query, return a list of 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-papers/llama_index/readers/papers/arxiv/__init__.py
llama-index-integrations/readers/llama-index-readers-papers/llama_index/readers/papers/arxiv/__init__.py
"""Init file.""" from llama_index.readers.papers.arxiv.base import ArxivReader from llama_index.readers.papers.pubmed.base import PubmedReader __all__ = ["ArxivReader", "PubmedReader"]
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-papers/llama_index/readers/papers/arxiv/base.py
llama-index-integrations/readers/llama-index-readers-papers/llama_index/readers/papers/arxiv/base.py
"""Read Arxiv Papers.""" import hashlib import logging import os from typing import List, Optional, Tuple from llama_index.core.readers import SimpleDirectoryReader from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class ArxivReader(BaseReader): """ Arxiv Read...
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-jira/tests/test_readers_jira.py
llama-index-integrations/readers/llama-index-readers-jira/tests/test_readers_jira.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.jira import JiraReader import pytest from unittest.mock import patch, MagicMock def test_class(): names_of_base_classes = [b.__name__ for b in JiraReader.__mro__] assert BaseReader.__name__ in names_of_base_classes @pytest.fixture...
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-jira/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-jira/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-jira/llama_index/readers/jira/__init__.py
llama-index-integrations/readers/llama-index-readers-jira/llama_index/readers/jira/__init__.py
from llama_index.readers.jira.base import JiraReader __all__ = ["JiraReader"]
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-jira/llama_index/readers/jira/base.py
llama-index-integrations/readers/llama-index-readers-jira/llama_index/readers/jira/base.py
from typing import List, Optional, TypedDict from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class BasicAuth(TypedDict): email: str api_token: str server_url: str class Oauth2(TypedDict): cloud_id: str api_token: str class PATauth(TypedDict): ...
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-wordpress/tests/test_readers_wordpress.py
llama-index-integrations/readers/llama-index-readers-wordpress/tests/test_readers_wordpress.py
import pytest import responses from llama_index.core.readers.base import BaseReader from llama_index.readers.wordpress import WordpressReader @pytest.fixture() def mocked_responses(): with responses.RequestsMock() as rsps: yield rsps def test_class() -> None: names_of_base_classes = [b.__name__ for...
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-wordpress/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-wordpress/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-wordpress/llama_index/readers/wordpress/__init__.py
llama-index-integrations/readers/llama-index-readers-wordpress/llama_index/readers/wordpress/__init__.py
from llama_index.readers.wordpress.base import WordpressReader __all__ = ["WordpressReader"]
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-wordpress/llama_index/readers/wordpress/base.py
llama-index-integrations/readers/llama-index-readers-wordpress/llama_index/readers/wordpress/base.py
"""Wordpress reader.""" import warnings from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class WordpressReader(BaseReader): """ Wordpress reader. Reads data from a Wordpress workspace. Args: url (str): Base URL o...
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-asana/llama_index/readers/asana/__init__.py
llama-index-integrations/readers/llama-index-readers-asana/llama_index/readers/asana/__init__.py
from llama_index.readers.asana.base import AsanaReader __all__ = ["AsanaReader"]
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-asana/llama_index/readers/asana/base.py
llama-index-integrations/readers/llama-index-readers-asana/llama_index/readers/asana/base.py
from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document import asana class AsanaReader(BaseReader): """ Asana reader. Reads data from an Asana workspace. Args: asana_token (str): Asana token. """ 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-airbyte-salesforce/tests/test_readers_airbyte_salesforce.py
llama-index-integrations/readers/llama-index-readers-airbyte-salesforce/tests/test_readers_airbyte_salesforce.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.airbyte_salesforce import AirbyteSalesforceReader def test_class(): names_of_base_classes = [b.__name__ for b in AirbyteSalesforceReader.__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-salesforce/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-salesforce/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-salesforce/llama_index/readers/airbyte_salesforce/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-salesforce/llama_index/readers/airbyte_salesforce/__init__.py
from llama_index.readers.airbyte_salesforce.base import AirbyteSalesforceReader __all__ = ["AirbyteSalesforceReader"]
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-salesforce/llama_index/readers/airbyte_salesforce/base.py
llama-index-integrations/readers/llama-index-readers-airbyte-salesforce/llama_index/readers/airbyte_salesforce/base.py
from typing import Any, Mapping, Optional from llama_index.readers.airbyte_cdk.base import AirbyteCDKReader, RecordHandler class AirbyteSalesforceReader(AirbyteCDKReader): """ AirbyteSalesforceReader reader. Retrieve documents from Salesforce Args: config: The config object for the salesfor...
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-stackoverflow/tests/test_readers_stackoverflow.py
llama-index-integrations/readers/llama-index-readers-stackoverflow/tests/test_readers_stackoverflow.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.stackoverflow import StackoverflowReader def test_class(): names_of_base_classes = [b.__name__ for b in StackoverflowReader.__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-stackoverflow/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-stackoverflow/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-stackoverflow/llama_index/readers/stackoverflow/__init__.py
llama-index-integrations/readers/llama-index-readers-stackoverflow/llama_index/readers/stackoverflow/__init__.py
from llama_index.readers.stackoverflow.base import StackoverflowReader __all__ = ["StackoverflowReader"]
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-stackoverflow/llama_index/readers/stackoverflow/base.py
llama-index-integrations/readers/llama-index-readers-stackoverflow/llama_index/readers/stackoverflow/base.py
import json import logging import os import threading import time from dataclasses import dataclass from datetime import datetime from functools import wraps from typing import List, Optional import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document logger = log...
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-opendal/tests/test_readers_opendal_reader.py
llama-index-integrations/readers/llama-index-readers-opendal/tests/test_readers_opendal_reader.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.opendal import ( OpendalAzblobReader, OpendalGcsReader, OpendalReader, OpendalS3Reader, ) def test_class(): names_of_base_classes = [b.__name__ for b in OpendalReader.__mro__] assert BaseReader.__name__ in names_of_b...
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-opendal/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-opendal/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-opendal/llama_index/readers/opendal/__init__.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/__init__.py
from llama_index.readers.opendal.azblob.base import OpendalAzblobReader from llama_index.readers.opendal.base import OpendalReader from llama_index.readers.opendal.gcs.base import OpendalGcsReader from llama_index.readers.opendal.s3.base import OpendalS3Reader __all__ = [ "OpendalReader", "OpendalAzblobReader"...
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-opendal/llama_index/readers/opendal/base.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/base.py
""" Opendal file and directory reader. A loader that fetches a file or iterates through a directory on AWS S3 or other compatible service. """ import asyncio import tempfile from pathlib import Path from typing import Any, Dict, List, Optional, Union, cast from llama_index.core.readers import SimpleDirectoryReader ...
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-opendal/llama_index/readers/opendal/gcs/__init__.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/gcs/__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-opendal/llama_index/readers/opendal/gcs/base.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/gcs/base.py
""" Gcs file and directory reader. A loader that fetches a file or iterates through a directory on Gcs. """ from typing import Dict, List, Optional, Union from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.opendal.base import OpendalReader 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-opendal/llama_index/readers/opendal/azblob/__init__.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/azblob/__init__.py
"""Init file."""
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-opendal/llama_index/readers/opendal/azblob/base.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/azblob/base.py
""" Azblob file and directory reader. A loader that fetches a file or iterates through a directory on Azblob or. """ from typing import Dict, List, Optional, Union from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.opendal.base import OpendalRe...
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-opendal/llama_index/readers/opendal/s3/__init__.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/s3/__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-opendal/llama_index/readers/opendal/s3/base.py
llama-index-integrations/readers/llama-index-readers-opendal/llama_index/readers/opendal/s3/base.py
""" S3 file and directory reader. A loader that fetches a file or iterates through a directory on AWS S3 or other compatible service. """ from typing import Dict, List, Optional, Union from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.opendal....
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-bagel/tests/test_readers_bagel.py
llama-index-integrations/readers/llama-index-readers-bagel/tests/test_readers_bagel.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.bagel import BagelReader def test_class(): names_of_base_classes = [b.__name__ for b in BagelReader.__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-bagel/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-bagel/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-bagel/llama_index/readers/bagel/__init__.py
llama-index-integrations/readers/llama-index-readers-bagel/llama_index/readers/bagel/__init__.py
from llama_index.readers.bagel.base import BagelReader __all__ = ["BagelReader"]
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-bagel/llama_index/readers/bagel/base.py
llama-index-integrations/readers/llama-index-readers-bagel/llama_index/readers/bagel/base.py
from typing import Any, Dict, List, Literal, Mapping, Optional, Sequence, TypeVar, Union from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document # define types ID = str IDs = List[ID] Vector = Union[Sequence[float], Sequence[int]] Embedding = Vector Embeddings = List[Embeddi...
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-pdf-table/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-pdf-table/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-pdf-table/tests/test_readers_pdf_table.py
llama-index-integrations/readers/llama-index-readers-pdf-table/tests/test_readers_pdf_table.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.pdf_table import PDFTableReader def test_class(): names_of_base_classes = [b.__name__ for b in PDFTableReader.__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-pdf-table/llama_index/readers/pdf_table/__init__.py
llama-index-integrations/readers/llama-index-readers-pdf-table/llama_index/readers/pdf_table/__init__.py
from llama_index.readers.pdf_table.base import PDFTableReader __all__ = ["PDFTableReader"]
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-pdf-table/llama_index/readers/pdf_table/base.py
llama-index-integrations/readers/llama-index-readers-pdf-table/llama_index/readers/pdf_table/base.py
"""PDF Table reader.""" from pathlib import Path from typing import Any, Dict, List, Optional import pandas as pd from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class PDFTableReader(BaseReader): """ PDF Table Reader. Reads table from PDF. Args: ...
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-solr/tests/test_readers_solr.py
llama-index-integrations/readers/llama-index-readers-solr/tests/test_readers_solr.py
import types import pytest import pysolr from llama_index.core.readers.base import BaseReader from llama_index.readers.solr import SolrReader @pytest.fixture(scope="module") def dummy_endpoint() -> str: return "http://localhost:8983/solr/collection1" @pytest.fixture def mock_solr(mocker) -> pysolr.Solr: ct...
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-solr/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-solr/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-solr/llama_index/readers/solr/__init__.py
llama-index-integrations/readers/llama-index-readers-solr/llama_index/readers/solr/__init__.py
from llama_index.readers.solr.base import SolrReader __all__ = ["SolrReader"]
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-solr/llama_index/readers/solr/base.py
llama-index-integrations/readers/llama-index-readers-solr/llama_index/readers/solr/base.py
""" Solr reader over REST api. """ from typing import Any, Optional import pysolr from llama_index.core.bridge.pydantic import Field, PrivateAttr from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document class SolrReader(BasePydanticReader): """ Read 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-awadb/tests/test_readers_awadb.py
llama-index-integrations/readers/llama-index-readers-awadb/tests/test_readers_awadb.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.awadb import AwadbReader def test_class(): names_of_base_classes = [b.__name__ for b in AwadbReader.__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-awadb/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-awadb/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-awadb/llama_index/readers/awadb/__init__.py
llama-index-integrations/readers/llama-index-readers-awadb/llama_index/readers/awadb/__init__.py
from llama_index.readers.awadb.base import AwadbReader __all__ = ["AwadbReader"]
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-awadb/llama_index/readers/awadb/base.py
llama-index-integrations/readers/llama-index-readers-awadb/llama_index/readers/awadb/base.py
"""Awadb reader.""" from typing import Any, List import numpy as np from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class AwadbReader(BaseReader): """ Awadb reader. Retrieves documents through an existing awadb client. These documents can then be us...
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-kibela/tests/test_readers_kibela.py
llama-index-integrations/readers/llama-index-readers-kibela/tests/test_readers_kibela.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.kibela import KibelaReader def test_class(): names_of_base_classes = [b.__name__ for b in KibelaReader.__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-kibela/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-kibela/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-kibela/llama_index/readers/kibela/__init__.py
llama-index-integrations/readers/llama-index-readers-kibela/llama_index/readers/kibela/__init__.py
from llama_index.readers.kibela.base import KibelaReader __all__ = ["KibelaReader"]
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-kibela/llama_index/readers/kibela/base.py
llama-index-integrations/readers/llama-index-readers-kibela/llama_index/readers/kibela/base.py
"""LLama Kibela Reader.""" from typing import Dict, Generic, List, Optional, TypeVar from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.core.bridge.pydantic import BaseModel NodeType = TypeVar("NodeType") class Edge(BaseModel, Generic[NodeType]): ...
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-docling/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-docling/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-docling/tests/test_readers_docling.py
llama-index-integrations/readers/llama-index-readers-docling/tests/test_readers_docling.py
import json from pathlib import Path from unittest.mock import MagicMock from docling_core.types import DoclingDocument as DLDocument from llama_index.readers.docling.base import DoclingReader in_json_str = json.dumps( { "schema_name": "DoclingDocument", "version": "1.0.0", "name": "sample...
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-docling/llama_index/readers/docling/__init__.py
llama-index-integrations/readers/llama-index-readers-docling/llama_index/readers/docling/__init__.py
from llama_index.readers.docling.base import DoclingReader __all__ = ["DoclingReader"]
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-docling/llama_index/readers/docling/base.py
llama-index-integrations/readers/llama-index-readers-docling/llama_index/readers/docling/base.py
from enum import Enum from fsspec import AbstractFileSystem from pathlib import Path from typing import Any, Dict, Iterable, Optional, Protocol, runtime_checkable import json import uuid from docling.document_converter import DocumentConverter from docling_core.types import DoclingDocument as DLDocument 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-string-iterable/tests/test_readers_string_iterable.py
llama-index-integrations/readers/llama-index-readers-string-iterable/tests/test_readers_string_iterable.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.string_iterable import StringIterableReader def test_class(): names_of_base_classes = [b.__name__ for b in StringIterableReader.__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-string-iterable/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-string-iterable/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-string-iterable/llama_index/readers/string_iterable/__init__.py
llama-index-integrations/readers/llama-index-readers-string-iterable/llama_index/readers/string_iterable/__init__.py
from llama_index.readers.string_iterable.base import StringIterableReader __all__ = ["StringIterableReader"]
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-string-iterable/llama_index/readers/string_iterable/base.py
llama-index-integrations/readers/llama-index-readers-string-iterable/llama_index/readers/string_iterable/base.py
"""Simple reader that turns an iterable of strings into a list of Documents.""" from typing import List from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document class StringIterableReader(BasePydanticReader): """ String Iterable Reader. Gets a list of do...
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-pathway/tests/test_readers_pathway.py
llama-index-integrations/readers/llama-index-readers-pathway/tests/test_readers_pathway.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.pathway import PathwayReader def test_class(): names_of_base_classes = [b.__name__ for b in PathwayReader.__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-pathway/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-pathway/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-pathway/llama_index/readers/pathway/__init__.py
llama-index-integrations/readers/llama-index-readers-pathway/llama_index/readers/pathway/__init__.py
from llama_index.readers.pathway.base import PathwayReader __all__ = ["PathwayReader"]
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-pathway/llama_index/readers/pathway/base.py
llama-index-integrations/readers/llama-index-readers-pathway/llama_index/readers/pathway/base.py
"""Pathway reader.""" import json from typing import List, Optional import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document # Copied from https://github.com/pathwaycom/pathway/blob/main/python/pathway/xpacks/llm/vector_store.py # to remove dependency on Path...
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-gitbook/tests/test_simple_gitbook_reader.py
llama-index-integrations/readers/llama-index-readers-gitbook/tests/test_simple_gitbook_reader.py
import unittest from llama_index.core.readers.base import BaseReader from llama_index.readers.gitbook import SimpleGitbookReader from typing import Dict, List, Optional def test_class(): """Tests if SimpleGitbookReader inherits from BaseReader.""" names_of_base_classes = [b.__name__ for b in SimpleGitbookRead...
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-gitbook/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-gitbook/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-gitbook/tests/test_gitbook_client.py
llama-index-integrations/readers/llama-index-readers-gitbook/tests/test_gitbook_client.py
import unittest import json import os from unittest.mock import patch, Mock from llama_index.readers.gitbook.gitbook_client import GitbookClient import requests class TestGitbookClient(unittest.TestCase): def setUp(self): """Sets up test environment before each test case.""" self.client = GitbookC...
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-gitbook/llama_index/readers/gitbook/gitbook_client.py
llama-index-integrations/readers/llama-index-readers-gitbook/llama_index/readers/gitbook/gitbook_client.py
import requests from typing import List, Dict DEFAULT_GITBOOK_API_URL = "https://api.gitbook.com/v1" class GitbookClient: """ Gitbook Restful API Client. Helper Class to invoke gitbook restful api & parse result Args: api_token (str): Gitbook API Token. api_url (str): Gitbook API En...
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-gitbook/llama_index/readers/gitbook/__init__.py
llama-index-integrations/readers/llama-index-readers-gitbook/llama_index/readers/gitbook/__init__.py
from llama_index.readers.gitbook.base import SimpleGitbookReader __all__ = ["SimpleGitbookReader"]
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-gitbook/llama_index/readers/gitbook/base.py
llama-index-integrations/readers/llama-index-readers-gitbook/llama_index/readers/gitbook/base.py
from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.readers.gitbook.gitbook_client import GitbookClient VALID_METADATA_FIELDS = {"path", "title", "description", "parent"} class SimpleGitbookReader(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-telegram/tests/test_readers_telegram.py
llama-index-integrations/readers/llama-index-readers-telegram/tests/test_readers_telegram.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.telegram import TelegramReader def test_class(): names_of_base_classes = [b.__name__ for b in TelegramReader.__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-telegram/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-telegram/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-telegram/llama_index/readers/telegram/__init__.py
llama-index-integrations/readers/llama-index-readers-telegram/llama_index/readers/telegram/__init__.py
from llama_index.readers.telegram.base import TelegramReader __all__ = ["TelegramReader"]
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-telegram/llama_index/readers/telegram/base.py
llama-index-integrations/readers/llama-index-readers-telegram/llama_index/readers/telegram/base.py
"""Telegram reader that reads posts/chats and comments to post from Telegram channel or chat.""" import asyncio import re from typing import List, Optional import datetime from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class TelegramReader(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-stripe-docs/llama_index/readers/stripe_docs/__init__.py
llama-index-integrations/readers/llama-index-readers-stripe-docs/llama_index/readers/stripe_docs/__init__.py
from llama_index.readers.stripe_docs.base import StripeDocsReader __all__ = ["StripeDocsReader"]
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-stripe-docs/llama_index/readers/stripe_docs/base.py
llama-index-integrations/readers/llama-index-readers-stripe-docs/llama_index/readers/stripe_docs/base.py
import urllib.request 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 import AsyncWebPageReader XML_SITEMAP_SCHEMA = "http://www.sitemaps.org/schemas/sitemap/0.9" STRIPE...
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-youtube-transcript/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-youtube-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-youtube-transcript/tests/test_readers_youtube_transcript.py
llama-index-integrations/readers/llama-index-readers-youtube-transcript/tests/test_readers_youtube_transcript.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.youtube_transcript import YoutubeTranscriptReader def test_class(): names_of_base_classes = [b.__name__ for b in YoutubeTranscriptReader.__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-youtube-transcript/llama_index/readers/youtube_transcript/utils.py
llama-index-integrations/readers/llama-index-readers-youtube-transcript/llama_index/readers/youtube_transcript/utils.py
import re # regular expressions to match the different syntax of YouTube links YOUTUBE_URL_PATTERNS = [ r"^https?://(?:www\.)?youtube\.com/watch\?v=([\w-]+)", r"^https?://(?:www\.)?youtube\.com/embed/([\w-]+)", r"^https?://youtu\.be/([\w-]+)", # youtu.be does not use www ] def is_youtube_video(url: str)...
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-youtube-transcript/llama_index/readers/youtube_transcript/__init__.py
llama-index-integrations/readers/llama-index-readers-youtube-transcript/llama_index/readers/youtube_transcript/__init__.py
from llama_index.readers.youtube_transcript.base import YoutubeTranscriptReader __all__ = ["YoutubeTranscriptReader"]
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-youtube-transcript/llama_index/readers/youtube_transcript/base.py
llama-index-integrations/readers/llama-index-readers-youtube-transcript/llama_index/readers/youtube_transcript/base.py
"""Simple Reader that reads transcript of youtube video.""" import re from typing import Any, List, Optional from youtube_transcript_api import YouTubeTranscriptApi from llama_index.core.readers.base import BasePydanticReader from llama_index.core.schema import Document from llama_index.readers.youtube_transcript.ut...
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-llama-parse/llama_index/readers/llama_parse/__init__.py
llama-index-integrations/readers/llama-index-readers-llama-parse/llama_index/readers/llama_parse/__init__.py
from llama_parse import LlamaParse __all__ = ["LlamaParse"]
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-dad-jokes/tests/test_readers_dad_jokes.py
llama-index-integrations/readers/llama-index-readers-dad-jokes/tests/test_readers_dad_jokes.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.dad_jokes import DadJokesReader def test_class(): names_of_base_classes = [b.__name__ for b in DadJokesReader.__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-dad-jokes/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-dad-jokes/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-dad-jokes/llama_index/readers/dad_jokes/__init__.py
llama-index-integrations/readers/llama-index-readers-dad-jokes/llama_index/readers/dad_jokes/__init__.py
"""Init file.""" from llama_index.readers.dad_jokes.base import DadJokesReader __all__ = ["DadJokesReader"]
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-dad-jokes/llama_index/readers/dad_jokes/base.py
llama-index-integrations/readers/llama-index-readers-dad-jokes/llama_index/readers/dad_jokes/base.py
"""dad_jokes reader.""" from typing import List import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class DadJokesReader(BaseReader): """ Dad jokes reader. Reads a random dad joke. """ def _get_random_dad_joke(self): respon...
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-semanticscholar/tests/test_readers_semanticscholar.py
llama-index-integrations/readers/llama-index-readers-semanticscholar/tests/test_readers_semanticscholar.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.semanticscholar import SemanticScholarReader def test_class(): names_of_base_classes = [b.__name__ for b in SemanticScholarReader.__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-semanticscholar/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-semanticscholar/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-semanticscholar/tests/test.py
llama-index-integrations/readers/llama-index-readers-semanticscholar/tests/test.py
import os import openai from llama_index import ( StorageContext, VectorStoreIndex, load_index_from_storage, ) from llama_index.core.query_engine import CitationQueryEngine from llama_index.readers.semanticscholar.base import SemanticScholarReader # initialize the SemanticScholarReader s2reader = Semantic...
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-semanticscholar/llama_index/readers/semanticscholar/__init__.py
llama-index-integrations/readers/llama-index-readers-semanticscholar/llama_index/readers/semanticscholar/__init__.py
from llama_index.readers.semanticscholar.base import SemanticScholarReader __all__ = ["SemanticScholarReader"]
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-semanticscholar/llama_index/readers/semanticscholar/base.py
llama-index-integrations/readers/llama-index-readers-semanticscholar/llama_index/readers/semanticscholar/base.py
import logging import os from typing import List import requests from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document class SemanticScholarReader(BaseReader): """ A class to read and process data from Semantic Scholar API ... Methods ------- __ini...
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-assemblyai/llama_index/readers/assemblyai/__init__.py
llama-index-integrations/readers/llama-index-readers-assemblyai/llama_index/readers/assemblyai/__init__.py
from llama_index.readers.assemblyai.base import ( AssemblyAIAudioTranscriptReader, TranscriptFormat, ) __all__ = ["AssemblyAIAudioTranscriptReader", "TranscriptFormat"]
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-assemblyai/llama_index/readers/assemblyai/base.py
llama-index-integrations/readers/llama-index-readers-assemblyai/llama_index/readers/assemblyai/base.py
from __future__ import annotations from enum import Enum from typing import List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document import assemblyai class TranscriptFormat(Enum): """Transcript format to use for the document reader.""" TEXT = "text"...
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-gong/tests/test_readers_airbyte_gong.py
llama-index-integrations/readers/llama-index-readers-airbyte-gong/tests/test_readers_airbyte_gong.py
from llama_index.core.readers.base import BaseReader from llama_index.readers.airbyte_gong import AirbyteGongReader def test_class(): names_of_base_classes = [b.__name__ for b in AirbyteGongReader.__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-gong/tests/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-gong/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-gong/llama_index/readers/airbyte_gong/__init__.py
llama-index-integrations/readers/llama-index-readers-airbyte-gong/llama_index/readers/airbyte_gong/__init__.py
from llama_index.readers.airbyte_gong.base import AirbyteGongReader __all__ = ["AirbyteGongReader"]
python
MIT
dd5b31109cc8eb64411caf9fc1fa0f51e584c325
2026-01-04T14:39:40.052063Z
false