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-make-com/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-make-com/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-make-com/llama_index/readers/make_com/__init__.py | llama-index-integrations/readers/llama-index-readers-make-com/llama_index/readers/make_com/__init__.py | from llama_index.readers.make_com.base import MakeWrapper
__all__ = ["MakeWrapper"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14: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/llama_index/readers/make_com/base.py | llama-index-integrations/readers/llama-index-readers-make-com/llama_index/readers/make_com/base.py | """
Make.com API wrapper.
Currently cannot load documents.
"""
from typing import Any, List, Optional
import requests
from llama_index.core.base.response.schema import Response
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document, NodeWithScore, TextNode
class MakeWrap... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-mangoapps-guides/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-mangoapps-guides/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-mangoapps-guides/tests/test_readers_mangoapps_guides.py | llama-index-integrations/readers/llama-index-readers-mangoapps-guides/tests/test_readers_mangoapps_guides.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.mangoapps_guides import MangoppsGuidesReader
def test_class():
names_of_base_classes = [b.__name__ for b in MangoppsGuidesReader.__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-mangoapps-guides/llama_index/readers/mangoapps_guides/__init__.py | llama-index-integrations/readers/llama-index-readers-mangoapps-guides/llama_index/readers/mangoapps_guides/__init__.py | from llama_index.readers.mangoapps_guides.base import MangoppsGuidesReader
__all__ = ["MangoppsGuidesReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-mangoapps-guides/llama_index/readers/mangoapps_guides/base.py | llama-index-integrations/readers/llama-index-readers-mangoapps-guides/llama_index/readers/mangoapps_guides/base.py | """MangoppsGuides reader."""
import re
from typing import List
from urllib.parse import urlparse
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class MangoppsGuidesReader(BaseReader):
"""
MangoppsGuides reader. Reads data from a MangoppsGuides workspace.
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pebblo/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-pebblo/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-pebblo/tests/test_readers_pebblo.py | llama-index-integrations/readers/llama-index-readers-pebblo/tests/test_readers_pebblo.py | import pytest
import os
from llama_index.core.readers.base import BaseReader
from llama_index.readers.pebblo import PebbloSafeReader
from pathlib import Path
from typing import Dict
from pytest_mock import MockerFixture
from llama_index.readers.file import CSVReader
csv_empty_file_name = "test_empty.csv"
csv_file_na... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pebblo/llama_index/readers/pebblo/utility.py | llama-index-integrations/readers/llama-index-readers-pebblo/llama_index/readers/pebblo/utility.py | from __future__ import annotations
import logging
import os
import pathlib
import platform
from typing import Optional, Tuple
from pydantic.v1.main import BaseModel
from llama_index.core.readers.base import BaseReader
logger = logging.getLogger(__name__)
PLUGIN_VERSION = "0.1.0"
CLASSIFIER_URL = os.getenv("PEBBLO_... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pebblo/llama_index/readers/pebblo/__init__.py | llama-index-integrations/readers/llama-index-readers-pebblo/llama_index/readers/pebblo/__init__.py | from llama_index.readers.pebblo.base import (
PebbloSafeReader,
)
__all__ = ["PebbloSafeReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-pebblo/llama_index/readers/pebblo/base.py | llama-index-integrations/readers/llama-index-readers-pebblo/llama_index/readers/pebblo/base.py | """Pebblo's safe dataloader is a wrapper for document loaders."""
import logging
import os
import uuid
from http import HTTPStatus
from typing import Any, Dict, List
import requests
from llama_index.core.schema import Document, MetadataMode
from llama_index.core.readers.base import BaseReader
from llama_index.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-document360/tests/test_readers_document360.py | llama-index-integrations/readers/llama-index-readers-document360/tests/test_readers_document360.py | import pytest
from unittest.mock import patch, MagicMock
from llama_index.readers.document360 import Document360Reader
from llama_index.readers.document360.errors import (
RetryError,
HTTPError,
)
def test_document360reader_initialization():
api_key = "test_api_key"
Document360Reader(api_key=api_key)... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-document360/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-document360/llama_index/readers/document360/errors.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/errors.py | from tenacity import RetryError
from requests.exceptions import HTTPError
class RateLimitException(Exception):
pass
__all__ = ["RetryError", "HTTPError", "RateLimitException"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/__init__.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/__init__.py | from .base import Document360Reader
__all__ = ["Document360Reader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/base.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/base.py | import requests
from tenacity import retry, stop_after_attempt, wait_fixed, retry_if_exception_type
from typing import Callable, Any, Union, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
from .entities import (
Article,
ArticleSlim,
Category,
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/article.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/article.py | from pydantic import BaseModel
from typing import Optional, List, Dict
# https://apidocs.document360.com/apidocs/get-article
class Article(BaseModel):
id: Optional[str]
title: Optional[str]
modified_at: Optional[str]
html_content: Optional[str]
category_id: Optional[str]
project_version_id: Op... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/project_version.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/project_version.py | from pydantic import BaseModel
from typing import Optional, List, Dict
# https://apidocs.document360.com/apidocs/get-project-versions
class ProjectVersion(BaseModel):
id: Optional[str]
version_number: Optional[float]
base_version_number: Optional[float]
version_code_name: Optional[str]
is_main_ver... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/article_slim.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/article_slim.py | from pydantic import BaseModel
from typing import Optional
# Article entity embedded into the Category entity
# https://apidocs.document360.com/apidocs/project-version-categories
class ArticleSlim(BaseModel):
id: Optional[str]
title: Optional[str]
modified_at: Optional[str]
public_version: Optional[in... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/__init__.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/__init__.py | from .article import Article
from .article_slim import ArticleSlim
from .category import Category
from .project_version import ProjectVersion
__all__ = [
"Article",
"ArticleSlim",
"Category",
"ProjectVersion",
]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/category.py | llama-index-integrations/readers/llama-index-readers-document360/llama_index/readers/document360/entities/category.py | from pydantic import BaseModel
from .article_slim import ArticleSlim
from typing import List, Optional
# https://apidocs.document360.com/apidocs/project-version-categories
class Category(BaseModel):
id: Optional[str]
name: Optional[str]
child_categories: Optional[List["Category"]]
articles: Optional[L... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-couchdb/llama_index/readers/couchdb/__init__.py | llama-index-integrations/readers/llama-index-readers-couchdb/llama_index/readers/couchdb/__init__.py | from llama_index.readers.couchdb.base import SimpleCouchDBReader
__all__ = ["SimpleCouchDBReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-couchdb/llama_index/readers/couchdb/base.py | llama-index-integrations/readers/llama-index-readers-couchdb/llama_index/readers/couchdb/base.py | """CouchDB client."""
import json
import logging
from typing import Dict, List, Optional
import couchdb3
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class SimpleCouchDBReader(BaseReader):
"""
Simple CouchDB reader.
Concatenates each CouchDB doc into... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-psychic/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-psychic/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-psychic/tests/test_readers_psychic.py | llama-index-integrations/readers/llama-index-readers-psychic/tests/test_readers_psychic.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.psychic import PsychicReader
def test_class():
names_of_base_classes = [b.__name__ for b in PsychicReader.__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-psychic/llama_index/readers/psychic/__init__.py | llama-index-integrations/readers/llama-index-readers-psychic/llama_index/readers/psychic/__init__.py | from llama_index.readers.psychic.base import PsychicReader
__all__ = ["PsychicReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-psychic/llama_index/readers/psychic/base.py | llama-index-integrations/readers/llama-index-readers-psychic/llama_index/readers/psychic/base.py | """Psychic reader."""
import logging
import os
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 PsychicReader(BaseReader):
"""
Psychic reader.
Psychic is a platform that allows... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-graphdb-cypher/tests/test_readers_graphdb_cypher.py | llama-index-integrations/readers/llama-index-readers-graphdb-cypher/tests/test_readers_graphdb_cypher.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.graphdb_cypher import GraphDBCypherReader
def test_class():
names_of_base_classes = [b.__name__ for b in GraphDBCypherReader.__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-graphdb-cypher/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-graphdb-cypher/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-graphdb-cypher/llama_index/readers/graphdb_cypher/__init__.py | llama-index-integrations/readers/llama-index-readers-graphdb-cypher/llama_index/readers/graphdb_cypher/__init__.py | from llama_index.readers.graphdb_cypher.base import GraphDBCypherReader
__all__ = ["GraphDBCypherReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-graphdb-cypher/llama_index/readers/graphdb_cypher/base.py | llama-index-integrations/readers/llama-index-readers-graphdb-cypher/llama_index/readers/graphdb_cypher/base.py | """Graph Database Cypher Reader."""
from typing import Dict, List, Optional
import yaml
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class GraphDBCypherReader(BaseReader):
"""
Graph database Cypher reader.
Combines all Cypher query results into the D... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-arango-db/tests/test_arangodb.py | llama-index-integrations/readers/llama-index-readers-arango-db/tests/test_arangodb.py | from unittest.mock import MagicMock, patch
import pytest
from llama_index.readers.arango_db import SimpleArangoDBReader
@pytest.fixture()
def mock_arangodb_client():
with patch("arango.ArangoClient") as mock_client:
# Mock the behavior of the db and collection
mock_db = MagicMock()
mock_s... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-arango-db/tests/test_readers_arango_db.py | llama-index-integrations/readers/llama-index-readers-arango-db/tests/test_readers_arango_db.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.arango_db import SimpleArangoDBReader
def test_class():
names_of_base_classes = [b.__name__ for b in SimpleArangoDBReader.__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-arango-db/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-arango-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-arango-db/llama_index/readers/arango_db/__init__.py | llama-index-integrations/readers/llama-index-readers-arango-db/llama_index/readers/arango_db/__init__.py | from llama_index.readers.arango_db.base import SimpleArangoDBReader
__all__ = ["SimpleArangoDBReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-arango-db/llama_index/readers/arango_db/base.py | llama-index-integrations/readers/llama-index-readers-arango-db/llama_index/readers/arango_db/base.py | """ArangoDB client."""
from typing import Any, Dict, Iterator, List, Optional, Union, cast
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class SimpleArangoDBReader(BaseReader):
"""
Simple arangodb reader.
Concatenates each ArangoDB doc into Document 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-boarddocs/llama_index/readers/boarddocs/__init__.py | llama-index-integrations/readers/llama-index-readers-boarddocs/llama_index/readers/boarddocs/__init__.py | from llama_index.readers.boarddocs.base import BoardDocsReader
__all__ = ["BoardDocsReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-boarddocs/llama_index/readers/boarddocs/base.py | llama-index-integrations/readers/llama-index-readers-boarddocs/llama_index/readers/boarddocs/base.py | """Reader that pulls in a BoardDocs site."""
import json
from typing import Any, List, Optional
import html2text
import requests
from bs4 import BeautifulSoup
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class BoardDocsReader(BaseReader):
"""
BoardDocs 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-readwise/tests/test_readers_readwise.py | llama-index-integrations/readers/llama-index-readers-readwise/tests/test_readers_readwise.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.readwise import ReadwiseReader
def test_class():
names_of_base_classes = [b.__name__ for b in ReadwiseReader.__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-readwise/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-readwise/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-readwise/llama_index/readers/readwise/__init__.py | llama-index-integrations/readers/llama-index-readers-readwise/llama_index/readers/readwise/__init__.py | """Init file."""
from llama_index.readers.readwise.base import (
ReadwiseReader,
)
__all__ = ["ReadwiseReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-readwise/llama_index/readers/readwise/base.py | llama-index-integrations/readers/llama-index-readers-readwise/llama_index/readers/readwise/base.py | """Simple Reader that loads highlights from Readwise.io."""
import datetime
import json
from typing import List, Optional
import requests
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
def _get_readwise_data(api_key: str, updated_after: Optional[datetime.datetime] ... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-singlestore/tests/test_readers_singlestore.py | llama-index-integrations/readers/llama-index-readers-singlestore/tests/test_readers_singlestore.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.singlestore import SingleStoreReader
def test_class():
names_of_base_classes = [b.__name__ for b in SingleStoreReader.__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-singlestore/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-singlestore/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-singlestore/llama_index/readers/singlestore/__init__.py | llama-index-integrations/readers/llama-index-readers-singlestore/llama_index/readers/singlestore/__init__.py | from llama_index.readers.singlestore.base import SingleStoreReader
__all__ = ["SingleStoreReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-singlestore/llama_index/readers/singlestore/base.py | llama-index-integrations/readers/llama-index-readers-singlestore/llama_index/readers/singlestore/base.py | """SingleStore reader."""
from typing import List
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
from llama_index.readers.database import DatabaseReader
class SingleStoreReader(BaseReader):
"""
SingleStore reader.
Args:
scheme (str): Database S... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-steamship/tests/test_readers_steamship.py | llama-index-integrations/readers/llama-index-readers-steamship/tests/test_readers_steamship.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.steamship import SteamshipFileReader
def test_class():
names_of_base_classes = [b.__name__ for b in SteamshipFileReader.__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-steamship/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-steamship/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-steamship/llama_index/readers/steamship/__init__.py | llama-index-integrations/readers/llama-index-readers-steamship/llama_index/readers/steamship/__init__.py | from llama_index.readers.steamship.base import SteamshipFileReader
__all__ = ["SteamshipFileReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-steamship/llama_index/readers/steamship/base.py | llama-index-integrations/readers/llama-index-readers-steamship/llama_index/readers/steamship/base.py | """Load Documents from a set of persistent Steamship Files."""
from typing import List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class SteamshipFileReader(BaseReader):
"""
Reads persistent Steamship Files and converts them to 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-json/tests/test_readers_json.py | llama-index-integrations/readers/llama-index-readers-json/tests/test_readers_json.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.json import JSONReader
def test_class():
names_of_base_classes = [b.__name__ for b in JSONReader.__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-json/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-json/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-json/llama_index/readers/json/__init__.py | llama-index-integrations/readers/llama-index-readers-json/llama_index/readers/json/__init__.py | from llama_index.readers.json.base import JSONReader
__all__ = ["JSONReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-json/llama_index/readers/json/base.py | llama-index-integrations/readers/llama-index-readers-json/llama_index/readers/json/base.py | """JSON Reader."""
import json
import re
from typing import Any, Dict, Generator, List, Optional
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
def _depth_first_yield(
json_data: Any,
levels_back: int,
collapse_length: Optional[int],
path: List[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-structured-data/tests/test_readers_structured_data.py | llama-index-integrations/readers/llama-index-readers-structured-data/tests/test_readers_structured_data.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.structured_data.base import StructuredDataReader
def test_class():
names_of_base_classes = [b.__name__ for b in StructuredDataReader.__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-structured-data/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-structured-data/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-structured-data/llama_index/readers/structured_data/__init__.py | llama-index-integrations/readers/llama-index-readers-structured-data/llama_index/readers/structured_data/__init__.py | from llama_index.readers.structured_data.base import StructuredDataReader
__all__ = ["StructuredDataReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-structured-data/llama_index/readers/structured_data/base.py | llama-index-integrations/readers/llama-index-readers-structured-data/llama_index/readers/structured_data/base.py | from pathlib import Path
from typing import Any, Dict, List, Optional, Union
import pandas as pd
from fsspec import AbstractFileSystem
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class StructuredDataReader(BaseReader):
"""
Updated BaseReader parser to sup... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-minio/tests/test_readers_minio.py | llama-index-integrations/readers/llama-index-readers-minio/tests/test_readers_minio.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.minio import BotoMinioReader, MinioReader
def test_class():
names_of_base_classes = [b.__name__ for b in BotoMinioReader.__mro__]
assert BaseReader.__name__ in names_of_base_classes
names_of_base_classes = [b.__name__ for b in ... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-minio/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-minio/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-minio/llama_index/readers/minio/__init__.py | llama-index-integrations/readers/llama-index-readers-minio/llama_index/readers/minio/__init__.py | from llama_index.readers.minio.boto3_client.base import BotoMinioReader
from llama_index.readers.minio.minio_client.base import MinioReader
__all__ = ["BotoMinioReader", "MinioReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-minio/llama_index/readers/minio/minio_client/__init__.py | llama-index-integrations/readers/llama-index-readers-minio/llama_index/readers/minio/minio_client/__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-minio/llama_index/readers/minio/minio_client/base.py | llama-index-integrations/readers/llama-index-readers-minio/llama_index/readers/minio/minio_client/base.py | """
Minio file and directory reader.
A loader that fetches a file or iterates through a directory on Minio.
"""
import tempfile
from pathlib import Path
from typing import Any, Callable, Dict, List, Optional, Union
from llama_index.core.readers import SimpleDirectoryReader
from llama_index.core.readers.base 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-minio/llama_index/readers/minio/boto3_client/__init__.py | llama-index-integrations/readers/llama-index-readers-minio/llama_index/readers/minio/boto3_client/__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-minio/llama_index/readers/minio/boto3_client/base.py | llama-index-integrations/readers/llama-index-readers-minio/llama_index/readers/minio/boto3_client/base.py | """
Minio file and directory reader.
A loader that fetches a file or iterates through a directory on Minio.
"""
import tempfile
from pathlib import Path
from typing import Any, Callable, Dict, List, Optional, Union
from llama_index.core.readers import SimpleDirectoryReader
from llama_index.core.readers.base 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-uniprot/tests/test_uniprot_reader.py | llama-index-integrations/readers/llama-index-readers-uniprot/tests/test_uniprot_reader.py | """Test UniProt reader."""
import tempfile
import pytest
from llama_index.readers.uniprot import UniProtReader
def create_test_record() -> str:
return """ID 002L_FRG3G Reviewed; 320 AA.
AC Q6GZX3;
DT 28-JUN-2011, integrated into UniProtKB/Swiss-Prot.
DT 19-JUL-2004, sequence versio... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-uniprot/llama_index/readers/uniprot/__init__.py | llama-index-integrations/readers/llama-index-readers-uniprot/llama_index/readers/uniprot/__init__.py | """UniProt reader for LlamaIndex."""
from llama_index.readers.uniprot.base import UniProtReader
__version__ = "0.1.0"
__all__ = ["UniProtReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-uniprot/llama_index/readers/uniprot/base.py | llama-index-integrations/readers/llama-index-readers-uniprot/llama_index/readers/uniprot/base.py | """UniProt reader for LlamaIndex."""
from dataclasses import dataclass, field
from typing import Dict, Generator, List, Optional, Set
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
@dataclass
class UniProtRecord:
"""Represents a single UniProt record."""
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-zendesk/tests/test_readers_zendesk.py | llama-index-integrations/readers/llama-index-readers-zendesk/tests/test_readers_zendesk.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.zendesk import ZendeskReader
def test_class():
names_of_base_classes = [b.__name__ for b in ZendeskReader.__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-zendesk/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-zendesk/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-zendesk/llama_index/readers/zendesk/__init__.py | llama-index-integrations/readers/llama-index-readers-zendesk/llama_index/readers/zendesk/__init__.py | from llama_index.readers.zendesk.base import ZendeskReader
__all__ = ["ZendeskReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-zendesk/llama_index/readers/zendesk/base.py | llama-index-integrations/readers/llama-index-readers-zendesk/llama_index/readers/zendesk/base.py | """Zendesk reader."""
import json
from typing import List
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class ZendeskReader(BaseReader):
"""
Zendesk reader. Reads data from a Zendesk workspace.
Args:
zendesk_subdomain (str): Zendesk subdomain
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-gitlab/tests/test_readers_gitlab_repository.py | llama-index-integrations/readers/llama-index-readers-gitlab/tests/test_readers_gitlab_repository.py | from unittest import mock
import pytest
from llama_index.core import Document
from llama_index.readers.gitlab import GitLabRepositoryReader
@pytest.fixture()
def mock_gitlab_client():
client = mock.Mock()
client.api_url = "https://gitlab.com/api/v4"
client.projects.get.return_value = mock.Mock()
retu... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-gitlab/tests/test_readers_gitlab_issues.py | llama-index-integrations/readers/llama-index-readers-gitlab/tests/test_readers_gitlab_issues.py | from unittest.mock import MagicMock
import gitlab
import pytest
# import so that pants sees it as a dependency
import pytest_mock # noqa
from llama_index.readers.gitlab import GitLabIssuesReader
@pytest.fixture()
def gitlab_client_mock():
return MagicMock(spec=gitlab.Gitlab)
@pytest.fixture()
def gitlab_issu... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/__init__.py | llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/__init__.py | from llama_index.readers.gitlab.issues.base import GitLabIssuesReader
from llama_index.readers.gitlab.repository.base import GitLabRepositoryReader
__all__ = [
"GitLabIssuesReader",
"GitLabRepositoryReader",
]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/issues/__init__.py | llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/issues/__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-gitlab/llama_index/readers/gitlab/issues/base.py | llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/issues/base.py | """GitLab issues reader."""
import enum
from datetime import datetime
from typing import Any, List, Optional, Union
from llama_index.core import Document
from llama_index.core.readers.base import BaseReader
import gitlab
from gitlab.v4.objects import Issue as GitLabIssue
class GitLabIssuesReader(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-gitlab/llama_index/readers/gitlab/repository/__init__.py | llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/repository/__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-gitlab/llama_index/readers/gitlab/repository/base.py | llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/repository/base.py | """GitLab repository reader."""
from typing import List, Optional
from llama_index.core import Document
from llama_index.core.readers.base import BaseReader
import gitlab
class GitLabRepositoryReader(BaseReader):
def __init__(
self,
gitlab_client: gitlab.Gitlab,
project_id: int,
... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-azcognitive-search/tests/test_readers_azcognitive_search.py | llama-index-integrations/readers/llama-index-readers-azcognitive-search/tests/test_readers_azcognitive_search.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.azcognitive_search import AzCognitiveSearchReader
def test_class():
names_of_base_classes = [b.__name__ for b in AzCognitiveSearchReader.__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-azcognitive-search/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-azcognitive-search/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-azcognitive-search/llama_index/readers/azcognitive_search/__init__.py | llama-index-integrations/readers/llama-index-readers-azcognitive-search/llama_index/readers/azcognitive_search/__init__.py | from llama_index.readers.azcognitive_search.base import AzCognitiveSearchReader
__all__ = ["AzCognitiveSearchReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-azcognitive-search/llama_index/readers/azcognitive_search/base.py | llama-index-integrations/readers/llama-index-readers-azcognitive-search/llama_index/readers/azcognitive_search/base.py | """
Azure Cognitive Search reader.
A loader that fetches documents from specific index.
"""
from typing import List, Optional
from azure.core.credentials import AzureKeyCredential
from azure.search.documents import SearchClient
from llama_index.core.readers.base import BaseReader
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-twitter/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-twitter/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-twitter/tests/test_readers_twitter.py | llama-index-integrations/readers/llama-index-readers-twitter/tests/test_readers_twitter.py | from llama_index.core.readers.base import BasePydanticReader
from llama_index.readers.twitter import TwitterTweetReader
def test_class():
names_of_base_classes = [b.__name__ for b in TwitterTweetReader.__mro__]
assert BasePydanticReader.__name__ in names_of_base_classes
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-twitter/llama_index/readers/twitter/__init__.py | llama-index-integrations/readers/llama-index-readers-twitter/llama_index/readers/twitter/__init__.py | from llama_index.readers.twitter.base import TwitterTweetReader
__all__ = ["TwitterTweetReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-twitter/llama_index/readers/twitter/base.py | llama-index-integrations/readers/llama-index-readers-twitter/llama_index/readers/twitter/base.py | """Simple reader that reads tweets of a twitter handle."""
from typing import Any, List, Optional
from llama_index.core.readers.base import BasePydanticReader
from llama_index.core.schema import Document
class TwitterTweetReader(BasePydanticReader):
"""
Twitter tweets reader.
Read tweets of user twitte... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-wordlift/tests/test_readers_wordlift.py | llama-index-integrations/readers/llama-index-readers-wordlift/tests/test_readers_wordlift.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.wordlift import WordLiftLoader
def test_class():
names_of_base_classes = [b.__name__ for b in WordLiftLoader.__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-wordlift/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-wordlift/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-wordlift/llama_index/readers/wordlift/__init__.py | llama-index-integrations/readers/llama-index-readers-wordlift/llama_index/readers/wordlift/__init__.py | from llama_index.readers.wordlift.base import WordLiftLoader
__all__ = ["WordLiftLoader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-wordlift/llama_index/readers/wordlift/base.py | llama-index-integrations/readers/llama-index-readers-wordlift/llama_index/readers/wordlift/base.py | import logging
import os
import re
import warnings
from typing import List
from urllib.parse import urlparse
import requests
from bs4 import BeautifulSoup
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
DATA_KEY = "data"
ERRORS_KEY = "errors"
class WordLiftLoaderErr... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-mongodb/tests/test_readers_mongo.py | llama-index-integrations/readers/llama-index-readers-mongodb/tests/test_readers_mongo.py | from llama_index.core.readers.base import BaseReader
from llama_index.readers.mongodb import SimpleMongoReader
def test_class():
names_of_base_classes = [b.__name__ for b in SimpleMongoReader.__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-mongodb/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-mongodb/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-mongodb/llama_index/readers/mongodb/__init__.py | llama-index-integrations/readers/llama-index-readers-mongodb/llama_index/readers/mongodb/__init__.py | from llama_index.readers.mongodb.base import SimpleMongoReader
__all__ = ["SimpleMongoReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-mongodb/llama_index/readers/mongodb/base.py | llama-index-integrations/readers/llama-index-readers-mongodb/llama_index/readers/mongodb/base.py | """Mongo client."""
from collections.abc import Callable
from typing import Dict, Iterable, List, Optional
from importlib.metadata import version
from llama_index.core.readers.base import BaseReader
from llama_index.core.schema import Document
class SimpleMongoReader(BaseReader):
"""
Simple mongo 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-microsoft-sharepoint/tests/test_readers_microsoft_sharepoint.py | llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/tests/test_readers_microsoft_sharepoint.py | import os
import pytest
import tempfile
from llama_index.core.readers.base import BaseReader
from llama_index.readers.microsoft_sharepoint import SharePointReader
from unittest.mock import patch, MagicMock
from pathlib import Path
test_client_id = "test_client_id"
test_client_secret = "test_client_secret"
test_tena... | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/tests/__init__.py | llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/tests/__init__.py | python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false | |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/llama_index/readers/microsoft_sharepoint/__init__.py | llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/llama_index/readers/microsoft_sharepoint/__init__.py | from llama_index.readers.microsoft_sharepoint.base import SharePointReader
__all__ = ["SharePointReader"]
| python | MIT | dd5b31109cc8eb64411caf9fc1fa0f51e584c325 | 2026-01-04T14:39:40.052063Z | false |
run-llama/llama_index | https://github.com/run-llama/llama_index/blob/dd5b31109cc8eb64411caf9fc1fa0f51e584c325/llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/llama_index/readers/microsoft_sharepoint/base.py | llama-index-integrations/readers/llama-index-readers-microsoft-sharepoint/llama_index/readers/microsoft_sharepoint/base.py | """SharePoint files reader."""
import logging
import os
from pathlib import Path
import tempfile
from typing import Any, Dict, List, Union, Optional
from urllib.parse import quote
import requests
from llama_index.core.readers import SimpleDirectoryReader, FileSystemReaderMixin
from llama_index.core.readers.base impor... | 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.