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-lilac/llama_index/readers/lilac/__init__.py | llama-index-integrations/readers/llama-index-readers-lilac/llama_index/readers/lilac/__init__.py | from llama_index.readers.lilac.base import LilacReader
__all__ = ["LilacReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14: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/llama_index/readers/lilac/base.py | llama-index-integrations/readers/llama-index-readers-lilac/llama_index/readers/lilac/base.py | """Lilac reader that loads enriched and labeled Lilac datasets into GPTIndex and LangChain."""
from typing import TYPE_CHECKING, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
if TYPE_CHECKING:
from lilac import ColumnId, FilterLike, Path
class ... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-elasticsearch/tests/test_readers_elasticsearch.py | llama-index-integrations/readers/llama-index-readers-elasticsearch/tests/test_readers_elasticsearch.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.elasticsearch import ElasticsearchReader
def test_class():
names_of_base_classes = [b.__name__ for b in ElasticsearchReader.__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-elasticsearch/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-elasticsearch/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-elasticsearch/llama_index/readers/elasticsearch/__init__.py | llama-index-integrations/readers/llama-index-readers-elasticsearch/llama_index/readers/elasticsearch/__init__.py | from llama_index.readers.elasticsearch.base import ElasticsearchReader
__all__ = ["ElasticsearchReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-elasticsearch/llama_index/readers/elasticsearch/base.py | llama-index-integrations/readers/llama-index-readers-elasticsearch/llama_index/readers/elasticsearch/base.py | """
Elasticsearch (or Opensearch) reader over REST api.
This only uses the basic search api, so it will work with Elasticsearch and Opensearch.
"""
from typing import Any, List, Optional
from llama_index.core.bridge.pydantic import PrivateAttr
from llama_index.core.readers.base import BasePydanticReader
from llama_... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-agent-search/llama_index/readers/agent_search/__init__.py | llama-index-integrations/readers/llama-index-readers-agent-search/llama_index/readers/agent_search/__init__.py | from llama_index.readers.agent_search.base import AgentSearchReader
__all__ = ["AgentSearchReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-agent-search/llama_index/readers/agent_search/base.py | llama-index-integrations/readers/llama-index-readers-agent-search/llama_index/readers/agent_search/base.py | r"""
AgentSearch reader.
Example as of 1/8/2024:
```python
AgentSearch = download_loader("AgentSearch")
document = reader.load_data(
query="latest news",
search_provider="bing"
)[0]
print(f'Document:\n{document} ')
```
```plaintext
Document:
Doc ID: 67a57dfe-8bd6-4c69-af9d-683e76177119
Text: The latest new... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-zulip/tests/test_readers_zulip.py | llama-index-integrations/readers/llama-index-readers-zulip/tests/test_readers_zulip.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.zulip import ZulipReader
def test_class():
names_of_base_classes = [b.__name__ for b in ZulipReader.__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-zulip/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-zulip/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-zulip/llama_index/readers/zulip/__init__.py | llama-index-integrations/readers/llama-index-readers-zulip/llama_index/readers/zulip/__init__.py | from llama_index.readers.zulip.base import ZulipReader
__all__ = ["ZulipReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-zulip/llama_index/readers/zulip/base.py | llama-index-integrations/readers/llama-index-readers-zulip/llama_index/readers/zulip/base.py | import logging
import os
from datetime import datetime
from typing import List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
logger = logging.getLogger(__name__)
class ZulipReader(BaseReader):
"""Zulip reader."""
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-file/tests/test_readers_file.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_readers_file.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.file import (
DocxReader,
EpubReader,
FlatReader,
HWPReader,
ImageCaptionReader,
ImageReader,
ImageVisionLLMReader,
IPYNBReader,
MarkdownReader,
MboxReader,
PandasCSVReader,
PDFReader,
PptxR... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/tests/test_file.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_file.py | """Test file reader."""
from multiprocessing import cpu_count
import os
from tempfile import TemporaryDirectory
from typing import Any, Dict, List, Type, Union
import hashlib
from pathlib import Path
import pytest
from llama_index.core.readers.file.base import SimpleDirectoryReader
from llama_index.core.schema import... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/tests/test_docs.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_docs.py | import os
import pypdf
import pytest
import tempfile
from fpdf import FPDF
from llama_index.readers.file import PDFReader
from pathlib import Path
from typing import Dict
@pytest.fixture()
def multi_page_pdf() -> FPDF:
pdf = FPDF()
pdf.add_page()
pdf.set_font("Helvetica", size=12)
pdf.cell(200, 10, 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-file/tests/test_markdown.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_markdown.py | from llama_index.readers.file.markdown.base import MarkdownReader
def test_parse_markdown_starting_with_header() -> None:
reader = MarkdownReader()
markdown_text = "# ABC\nabc\n# DEF\ndef"
expected_tups = [("ABC", "abc"), ("DEF", "def")]
assert reader.markdown_to_tups(markdown_text) == expected_tups
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/tests/test_xml.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_xml.py | import defusedxml.ElementTree as ET
import pytest
from llama_index.readers.file.xml import XMLReader
# Sample XML data for testing
SAMPLE_XML = """<?xml version="1.0" encoding="UTF-8"?>
<data>
<item type="fruit">
<name>Apple</name>
<color>Red</color>
<price>1.20</price>
</item>
<it... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-file/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-file/tests/test_slides.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_slides.py | import pytest
from llama_index.readers.file.slides import PptxReader
from .generate_test_ppt import create_comprehensive_test_presentation
@pytest.fixture()
def pptx_file(tmp_path):
"""Create a temporary PowerPoint file for testing."""
if create_comprehensive_test_presentation is None:
pytest.skip("ge... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/tests/test_image_vision_llm.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_image_vision_llm.py | from __future__ import annotations
from contextlib import contextmanager
import builtins
import pytest
from unittest import mock
from typing import Dict, List
from types import ModuleType
try:
import torch
import numpy as np
from PIL import Image
except ImportError:
torch = None
np = None
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-file/tests/generate_test_ppt.py | llama-index-integrations/readers/llama-index-readers-file/tests/generate_test_ppt.py | """
Generate a comprehensive PowerPoint presentation for testing the enhanced PptxReader.
This script creates a presentation with:
- Text content with formatting
- Tables with structured data
- Charts with series data
- Speaker notes
- Mixed content slides
Perfect for demonstrating the enhanced extraction capabilitie... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/tests/test_html_reader.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_html_reader.py | import importlib.util
import os
import tempfile
from pathlib import Path
import pytest
from llama_index.readers.file import HTMLTagReader
@pytest.fixture()
def html_str() -> str:
return """
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, 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-file/tests/test_rtf.py | llama-index-integrations/readers/llama-index-readers-file/tests/test_rtf.py | import pytest
from striprtf.striprtf import rtf_to_text
from llama_index.readers.file.rtf import RTFReader
# Sample XML data for testing
SAMPLE_RTF = """{\\rtf
Hello!\\par
This is a rtf file {\\b bolded}.\\par
}"""
# Fixture to create a temporary XML file
@pytest.fixture()
def rtf_file(tmp_path):
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-file/llama_index/readers/file/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/__init__.py | from llama_index.readers.file.docs import DocxReader, HWPReader, PDFReader
from llama_index.readers.file.epub import EpubReader
from llama_index.readers.file.flat import FlatReader
from llama_index.readers.file.html import HTMLTagReader
from llama_index.readers.file.image import ImageReader
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-file/llama_index/readers/file/image_vision_llm/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_vision_llm/__init__.py | from llama_index.readers.file.image_vision_llm.base import ImageVisionLLMReader
__all__ = ["ImageVisionLLMReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_vision_llm/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_vision_llm/base.py | from pathlib import Path
from typing import Dict, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document, ImageDocument
from llama_index.core.utils import infer_torch_device
class ImageVisionLLMReader(BaseReader):
"""
Image parser.
Caption image ... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/flat/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/flat/__init__.py | from llama_index.readers.file.flat.base import FlatReader
__all__ = ["FlatReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/flat/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/flat/base.py | """Flat reader."""
from fsspec import AbstractFileSystem
from fsspec.implementations.local import LocalFileSystem
from pathlib import Path
from typing import Any, Dict, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class FlatReader(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-file/llama_index/readers/file/image_deplot/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_deplot/__init__.py | from llama_index.readers.file.image_deplot.base import (
ImageTabularChartReader,
)
__all__ = ["ImageTabularChartReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_deplot/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_deplot/base.py | from pathlib import Path
from typing import Dict, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document, ImageDocument
class ImageTabularChartReader(BaseReader):
"""
Image parser.
Extract tabular data from a chart or figure.
"""
def __... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/ipynb/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/ipynb/__init__.py | from llama_index.readers.file.ipynb.base import IPYNBReader
__all__ = ["IPYNBReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/ipynb/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/ipynb/base.py | import re
from pathlib import Path
from typing import Dict, List, Optional
from fsspec import AbstractFileSystem
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class IPYNBReader(BaseReader):
"""Image parser."""
def __init__(
self,
parser_con... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image/__init__.py | from llama_index.readers.file.image.base import ImageReader
__all__ = ["ImageReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image/base.py | """
Image parser.
Contains parsers for image files.
"""
import re
from pathlib import Path
from typing import Dict, List, Optional, cast, Any
from fsspec import AbstractFileSystem
from io import BytesIO
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document, ImageDocument
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/pymu_pdf/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/pymu_pdf/__init__.py | """Init file."""
from llama_index.readers.file.pymu_pdf.base import (
PyMuPDFReader,
)
__all__ = ["PyMuPDFReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/pymu_pdf/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/pymu_pdf/base.py | """Read PDF files using PyMuPDF library."""
from pathlib import Path
from typing import Dict, List, Optional, Union
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class PyMuPDFReader(BaseReader):
"""Read PDF files using PyMuPDF library."""
def load_data(
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/rtf/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/rtf/__init__.py | from llama_index.readers.file.rtf.base import RTFReader
__all__ = ["RTFReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/rtf/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/rtf/base.py | """RTF (Rich Text Format) reader."""
from pathlib import Path
from typing import List, Union, Any, Dict, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class RTFReader(BaseReader):
"""RTF (Rich Text Format) Reader. Reads rtf file and convert to Documen... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/xml/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/xml/__init__.py | """Init file."""
from llama_index.readers.file.xml.base import (
XMLReader,
)
__all__ = ["XMLReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/xml/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/xml/base.py | """JSON Reader."""
import re
import defusedxml.ElementTree as ET # safe XML parsing
import xml.etree.ElementTree as _XmlET # for type annotations only
from pathlib import Path
from typing import Dict, List, Optional
from llama_index.core.readers.base import BaseReader
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-file/llama_index/readers/file/tabular/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/tabular/__init__.py | from llama_index.readers.file.tabular.base import (
CSVReader,
PandasCSVReader,
PandasExcelReader,
)
__all__ = ["CSVReader", "PandasCSVReader", "PandasExcelReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/tabular/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/tabular/base.py | """
Tabular parser.
Contains parsers for tabular data files.
"""
from pathlib import Path
from typing import Any, Dict, List, Optional
from fsspec import AbstractFileSystem
import importlib
import pandas as pd
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class ... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/html/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/html/__init__.py | from llama_index.readers.file.html.base import HTMLTagReader
__all__ = ["HTMLTagReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/html/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/html/base.py | from pathlib import Path
from typing import TYPE_CHECKING, Dict, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
if TYPE_CHECKING:
from bs4 import Tag
class HTMLTagReader(BaseReader):
"""
Read HTML files and extract text from a specific ta... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/mbox/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/mbox/__init__.py | from llama_index.readers.file.mbox.base import MboxReader
__all__ = ["MboxReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/mbox/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/mbox/base.py | """
Mbox parser.
Contains simple parser for mbox files.
"""
import logging
from pathlib import Path
from typing import Any, Dict, List, Optional
from fsspec import AbstractFileSystem
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
logger = logging.getLogger(__name_... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/video_audio/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/video_audio/__init__.py | from llama_index.readers.file.video_audio.base import VideoAudioReader
__all__ = ["VideoAudioReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/video_audio/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/video_audio/base.py | """
Video audio parser.
Contains parsers for mp3, mp4 files.
"""
from pathlib import Path
from typing import Any, Dict, List, Optional, cast
import logging
from fsspec import AbstractFileSystem
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
logger = logging.getLog... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_caption/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_caption/__init__.py | from llama_index.readers.file.image_caption.base import ImageCaptionReader
__all__ = ["ImageCaptionReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_caption/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/image_caption/base.py | from pathlib import Path
from typing import Dict, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document, ImageDocument
from llama_index.core.utils import infer_torch_device
class ImageCaptionReader(BaseReader):
"""
Image parser.
Caption image 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-file/llama_index/readers/file/docs/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/docs/__init__.py | from llama_index.readers.file.docs.base import DocxReader, HWPReader, PDFReader
__all__ = ["DocxReader", "HWPReader", "PDFReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/docs/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/docs/base.py | """
Docs parser.
Contains parsers for docx, pdf files.
"""
import io
import logging
import struct
import zlib
from pathlib import Path, PurePosixPath
from typing import Any, Dict, List, Optional, Union
from tenacity import retry, stop_after_attempt
from fsspec import AbstractFileSystem
from llama_index.core.reade... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/epub/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/epub/__init__.py | from llama_index.readers.file.epub.base import EpubReader
__all__ = ["EpubReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/epub/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/epub/base.py | """
Epub parser.
Contains parsers for epub files.
"""
from pathlib import Path
from typing import Dict, List, Optional
import logging
from fsspec import AbstractFileSystem
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
logger = logging.getLogger(__name__)
class E... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/paged_csv/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/paged_csv/__init__.py | from llama_index.readers.file.paged_csv.base import (
PagedCSVReader,
)
__all__ = ["PagedCSVReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/paged_csv/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/paged_csv/base.py | """
Paged CSV reader.
A parser for tabular data files.
"""
from pathlib import Path
from typing import Any, Dict, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class PagedCSVReader(BaseReader):
"""
Paged CSV parser.
Displayed each row... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/unstructured/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/unstructured/__init__.py | """Init file."""
from llama_index.readers.file.unstructured.base import (
UnstructuredReader,
)
__all__ = ["UnstructuredReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/unstructured/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/unstructured/base.py | """
Unstructured file reader.
A parser for unstructured text files using Unstructured.io.
Supports .csv, .tsv, .doc, .docx, .odt, .epub, .org, .rst, .rtf,
.md, .msg, .pdf, .heic, .png, .jpg, .jpeg, .tiff, .bmp, .ppt, .pptx,
.xlsx, .eml, .html, .xml, .txt, .json documents.
"""
import json
from pathlib import Path
fro... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/content_extractor.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/content_extractor.py | """
Enhanced content extraction for PowerPoint slides.
Extracts text, tables, charts, and speaker notes with proper structure preservation.
"""
import logging
from pathlib import Path
from typing import Any, Dict, List, Optional
from tenacity import (
retry,
retry_if_exception,
wait_exponential,
stop... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/image_extractor.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/image_extractor.py | """
Image extraction utilities for PowerPoint slides.
Handles image captioning using vision models.
"""
import logging
import tempfile
import os
from typing import Dict, Any
logger = logging.getLogger(__name__)
class ImageExtractor:
"""
Handles image extraction and captioning for PowerPoint slides.
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-file/llama_index/readers/file/slides/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/__init__.py | from llama_index.readers.file.slides.base import PptxReader
from llama_index.readers.file.slides.image_extractor import ImageExtractor
from llama_index.readers.file.slides.content_extractor import SlideContentExtractor
__all__ = ["PptxReader", "ImageExtractor", "SlideContentExtractor"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/base.py | """
Enhanced Slides parser.
Contains parsers for .pptx files with comprehensive content extraction.
"""
import gc
import logging
import os
import threading
from concurrent.futures import ThreadPoolExecutor, as_completed
from datetime import datetime
from pathlib import Path
from typing import Any, Dict, List, Option... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/__init__.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/__init__.py | from llama_index.readers.file.markdown.base import MarkdownReader
__all__ = ["MarkdownReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/base.py | llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/base.py | """
Markdown parser.
Contains parser for md files.
"""
import re
from fsspec import AbstractFileSystem
from fsspec.implementations.local import LocalFileSystem
from typing import Any, Dict, List, Optional, Tuple
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-gpt-repo/tests/test_readers_gpt_repo.py | llama-index-integrations/readers/llama-index-readers-gpt-repo/tests/test_readers_gpt_repo.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.gpt_repo import GPTRepoReader
def test_class():
names_of_base_classes = [b.__name__ for b in GPTRepoReader.__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-gpt-repo/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-gpt-repo/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-gpt-repo/llama_index/readers/gpt_repo/__init__.py | llama-index-integrations/readers/llama-index-readers-gpt-repo/llama_index/readers/gpt_repo/__init__.py | """Init file."""
from llama_index.readers.gpt_repo.base import (
GPTRepoReader,
get_ignore_list,
process_repository,
should_ignore,
)
__all__ = [
"GPTRepoReader",
"get_ignore_list",
"process_repository",
"should_ignore",
]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-gpt-repo/llama_index/readers/gpt_repo/base.py | llama-index-integrations/readers/llama-index-readers-gpt-repo/llama_index/readers/gpt_repo/base.py | """
Reader that uses a Github Repo.
Repo taken from: https://github.com/mpoon/gpt-repository-loader
License attached:
MIT License
Copyright (c) 2023 mpoon
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in th... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-jaguar/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-jaguar/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-jaguar/tests/test_readers_jaguar.py | llama-index-integrations/readers/llama-index-readers-jaguar/tests/test_readers_jaguar.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.jaguar import JaguarReader
def test_class():
names_of_base_classes = [b.__name__ for b in JaguarReader.__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-jaguar/llama_index/readers/jaguar/__init__.py | llama-index-integrations/readers/llama-index-readers-jaguar/llama_index/readers/jaguar/__init__.py | from llama_index.readers.jaguar.base import JaguarReader
__all__ = ["JaguarReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-jaguar/llama_index/readers/jaguar/base.py | llama-index-integrations/readers/llama-index-readers-jaguar/llama_index/readers/jaguar/base.py | """Jaguar Reader."""
import datetime
import json
from typing import Any, List, Optional
from jaguardb_http_client.JaguarHttpClient import JaguarHttpClient
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class JaguarReader(BaseReader):
"""
Jaguar 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-whatsapp/tests/test_readers_whatsapp.py | llama-index-integrations/readers/llama-index-readers-whatsapp/tests/test_readers_whatsapp.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.whatsapp import WhatsappChatLoader
def test_class():
names_of_base_classes = [b.__name__ for b in WhatsappChatLoader.__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-whatsapp/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-whatsapp/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-whatsapp/llama_index/readers/whatsapp/__init__.py | llama-index-integrations/readers/llama-index-readers-whatsapp/llama_index/readers/whatsapp/__init__.py | from llama_index.readers.whatsapp.base import WhatsappChatLoader
__all__ = ["WhatsappChatLoader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-whatsapp/llama_index/readers/whatsapp/base.py | llama-index-integrations/readers/llama-index-readers-whatsapp/llama_index/readers/whatsapp/base.py | """Whatsapp chat data loader."""
import logging
from pathlib import Path
from typing import List
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class WhatsappChatLoader(BaseReader):
"""
Whatsapp chat data loader.
Args:
path (str): Path to Whats... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-obsidian/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-obsidian/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-obsidian/tests/test_readers_obsidian.py | llama-index-integrations/readers/llama-index-readers-obsidian/tests/test_readers_obsidian.py | from pathlib import Path
from typing import List
from llama_index.core.readers.base import BaseReader
from llama_index.readers.obsidian import ObsidianReader
def test_class():
names_of_base_classes = [b.__name__ for b in ObsidianReader.__mro__]
assert BaseReader.__name__ in names_of_base_classes
# Helper f... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-obsidian/llama_index/readers/obsidian/__init__.py | llama-index-integrations/readers/llama-index-readers-obsidian/llama_index/readers/obsidian/__init__.py | from llama_index.readers.obsidian.base import ObsidianReader
__all__ = ["ObsidianReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-obsidian/llama_index/readers/obsidian/base.py | llama-index-integrations/readers/llama-index-readers-obsidian/llama_index/readers/obsidian/base.py | """
Obsidian reader class.
Pass in the path to an Obsidian vault and it will parse all markdown
files into a List of Documents. Documents are split by header in
the Markdown Reader we use.
Each document will contain the following metadata:
- file_name: the name of the markdown file
- folder_path: the full path to 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-mangadex/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-mangadex/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-mangadex/tests/test_readers_mangadex.py | llama-index-integrations/readers/llama-index-readers-mangadex/tests/test_readers_mangadex.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.mangadex import MangaDexReader
def test_class():
names_of_base_classes = [b.__name__ for b in MangaDexReader.__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-mangadex/llama_index/readers/mangadex/__init__.py | llama-index-integrations/readers/llama-index-readers-mangadex/llama_index/readers/mangadex/__init__.py | """Init file."""
from llama_index.readers.mangadex.base import MangaDexReader
__all__ = ["MangaDexReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-mangadex/llama_index/readers/mangadex/base.py | llama-index-integrations/readers/llama-index-readers-mangadex/llama_index/readers/mangadex/base.py | """
MangaDex info reader.
Retrieves data about a particular manga by title.
"""
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__)
class MangaDexReader(BaseReader):
def __... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-bilibili/llama_index/readers/bilibili/__init__.py | llama-index-integrations/readers/llama-index-readers-bilibili/llama_index/readers/bilibili/__init__.py | from llama_index.readers.bilibili.base import BilibiliTranscriptReader
__all__ = ["BilibiliTranscriptReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-bilibili/llama_index/readers/bilibili/base.py | llama-index-integrations/readers/llama-index-readers-bilibili/llama_index/readers/bilibili/base.py | """Simple Reader that reads transcript and general info of Bilibili video."""
import warnings
from typing import Any, List
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class BilibiliTranscriptReader(BaseReader):
"""Bilibili Transcript and video info 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-opensearch/tests/test_readers_opensearch.py | llama-index-integrations/readers/llama-index-readers-opensearch/tests/test_readers_opensearch.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.opensearch import OpensearchReader
def test_class():
names_of_base_classes = [b.__name__ for b in OpensearchReader.__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-opensearch/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-opensearch/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-opensearch/llama_index/readers/opensearch/__init__.py | llama-index-integrations/readers/llama-index-readers-opensearch/llama_index/readers/opensearch/__init__.py | from llama_index.readers.opensearch.base import OpensearchReader
__all__ = ["OpensearchReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-opensearch/llama_index/readers/opensearch/base.py | llama-index-integrations/readers/llama-index-readers-opensearch/llama_index/readers/opensearch/base.py | """
Opensearch reader over REST api.
This only uses the basic search api, so it will work Opensearch.
"""
from typing import List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class OpensearchReader(BaseReader):
"""
Read documents from an Opens... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-couchbase/tests/test_readers_couchbase.py | llama-index-integrations/readers/llama-index-readers-couchbase/tests/test_readers_couchbase.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.couchbase import CouchbaseReader
def test_class():
names_of_base_classes = [b.__name__ for b in CouchbaseReader.__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-couchbase/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-couchbase/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-couchbase/llama_index/readers/couchbase/__init__.py | llama-index-integrations/readers/llama-index-readers-couchbase/llama_index/readers/couchbase/__init__.py | from llama_index.readers.couchbase.base import CouchbaseReader
__all__ = ["CouchbaseReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-couchbase/llama_index/readers/couchbase/base.py | llama-index-integrations/readers/llama-index-readers-couchbase/llama_index/readers/couchbase/base.py | """Couchbase document loader."""
from typing import Any, Iterable, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class CouchbaseReader(BaseReader):
"""
Couchbase document loader.
Loads data from a Couchbase cluster into Document used by... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-astra-db/tests/test_readers_astra_db.py | llama-index-integrations/readers/llama-index-readers-astra-db/tests/test_readers_astra_db.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.astra_db import AstraDBReader
def test_class() -> None:
names_of_base_classes = [b.__name__ for b in AstraDBReader.__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-astra-db/tests/test_astra_db.py | llama-index-integrations/readers/llama-index-readers-astra-db/tests/test_astra_db.py | import os
import pytest
from typing import Iterable
import astrapy
from astrapy.db import AstraDB
from llama_index.readers.astra_db import AstraDBReader
from llama_index.core.schema import Document
COLLECTION_NAME = "li_readers_test"
print(f"astrapy detected: {astrapy.__version__}")
# env variables
ASTRA_DB_APPLIC... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-astra-db/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-astra-db/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-astra-db/llama_index/readers/astra_db/__init__.py | llama-index-integrations/readers/llama-index-readers-astra-db/llama_index/readers/astra_db/__init__.py | from llama_index.readers.astra_db.base import AstraDBReader
__all__ = ["AstraDBReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-astra-db/llama_index/readers/astra_db/base.py | llama-index-integrations/readers/llama-index-readers-astra-db/llama_index/readers/astra_db/base.py | """Astra DB."""
from typing import Any, List, Optional
import llama_index.core
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class AstraDBReader(BaseReader):
"""
Astra DB reader.
Retrieve documents from an Astra DB Instance.
Args:
collect... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-make-com/tests/test_readers_make_com.py | llama-index-integrations/readers/llama-index-readers-make-com/tests/test_readers_make_com.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.make_com import MakeWrapper
def test_class():
names_of_base_classes = [b.__name__ for b in MakeWrapper.__mro__]
assert BaseReader.__name__ in names_of_base_classes
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.