llama-index-readers-google


Namellama-index-readers-google JSON
Version 0.2.4 PyPI version JSON
download
home_pageNone
Summaryllama-index readers google integration
upload_time2024-04-01 21:35:47
maintainerbbornsztein
docs_urlNone
authorYour Name
requires_python<4.0,>=3.10
licenseMIT
keywords email gmail google keep google notes
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LlamaIndex Integration: Google Readers

Effortlessly incorporate Google-based data loaders into your Python workflow using LlamaIndex. Unlock the potential of various readers to enhance your data loading capabilities. Below are examples of integrating Google Docs and Google Sheets readers:

### Google Docs Reader

```python
from llama_index.readers.google import GoogleDocsReader

# Specify the document IDs you want to load
document_ids = ["<document_id>"]

# Load data from Google Docs
documents = GoogleDocsReader().load_data(document_ids=document_ids)
```

### Google Sheets Reader (Documents and Dataframes)

```python
from llama_index.readers.google import GoogleSheetsReader

# Specify the list of sheet IDs you want to load
list_of_sheets = ["spreadsheet_id"]

# Create a Google Sheets Reader instance
sheets_reader = GoogleSheetsReader()

# Load data into Pandas in Data Classes of choice (Documents or Dataframes)
documents = sheets.load_data(list_of_sheets)
dataframes = sheets_reader.load_data_in_pandas(list_of_sheets)
```

Integrate these readers seamlessly to efficiently manage and process your data within your Python environment, providing a robust foundation for your data-driven workflows with LlamaIndex.

### Note

Make sure you have a "token.json" or a "credentials.json" file in your environment to authenticate the Google Cloud Platform

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-google",
    "maintainer": "bbornsztein",
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "email, gmail, google keep, google notes",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/be/66/aebb12b9d05fa742e54c22dfa1cbe71fa429162a44ba8f0b6a638b0b29f8/llama_index_readers_google-0.2.4.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Integration: Google Readers\n\nEffortlessly incorporate Google-based data loaders into your Python workflow using LlamaIndex. Unlock the potential of various readers to enhance your data loading capabilities. Below are examples of integrating Google Docs and Google Sheets readers:\n\n### Google Docs Reader\n\n```python\nfrom llama_index.readers.google import GoogleDocsReader\n\n# Specify the document IDs you want to load\ndocument_ids = [\"<document_id>\"]\n\n# Load data from Google Docs\ndocuments = GoogleDocsReader().load_data(document_ids=document_ids)\n```\n\n### Google Sheets Reader (Documents and Dataframes)\n\n```python\nfrom llama_index.readers.google import GoogleSheetsReader\n\n# Specify the list of sheet IDs you want to load\nlist_of_sheets = [\"spreadsheet_id\"]\n\n# Create a Google Sheets Reader instance\nsheets_reader = GoogleSheetsReader()\n\n# Load data into Pandas in Data Classes of choice (Documents or Dataframes)\ndocuments = sheets.load_data(list_of_sheets)\ndataframes = sheets_reader.load_data_in_pandas(list_of_sheets)\n```\n\nIntegrate these readers seamlessly to efficiently manage and process your data within your Python environment, providing a robust foundation for your data-driven workflows with LlamaIndex.\n\n### Note\n\nMake sure you have a \"token.json\" or a \"credentials.json\" file in your environment to authenticate the Google Cloud Platform\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers google integration",
    "version": "0.2.4",
    "project_urls": null,
    "split_keywords": [
        "email",
        " gmail",
        " google keep",
        " google notes"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b4b24193ed587634b13b93d94bfd97c1124d22a18bd95338e48790a0013130bf",
                "md5": "c878eaec45e7592763854bb424f6ca9d",
                "sha256": "362d5a61cc9690d598a653fc44a4bc4637442aeee45c0707ed7816d6c7583290"
            },
            "downloads": -1,
            "filename": "llama_index_readers_google-0.2.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c878eaec45e7592763854bb424f6ca9d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 23741,
            "upload_time": "2024-04-01T21:35:45",
            "upload_time_iso_8601": "2024-04-01T21:35:45.976458Z",
            "url": "https://files.pythonhosted.org/packages/b4/b2/4193ed587634b13b93d94bfd97c1124d22a18bd95338e48790a0013130bf/llama_index_readers_google-0.2.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be66aebb12b9d05fa742e54c22dfa1cbe71fa429162a44ba8f0b6a638b0b29f8",
                "md5": "77de1401d19359137dc7bfd900f4eb2a",
                "sha256": "d221bcdb9931bdfec95aab13ec00f3968db1cd48284cd7919862cc969b4adeaa"
            },
            "downloads": -1,
            "filename": "llama_index_readers_google-0.2.4.tar.gz",
            "has_sig": false,
            "md5_digest": "77de1401d19359137dc7bfd900f4eb2a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 15929,
            "upload_time": "2024-04-01T21:35:47",
            "upload_time_iso_8601": "2024-04-01T21:35:47.013569Z",
            "url": "https://files.pythonhosted.org/packages/be/66/aebb12b9d05fa742e54c22dfa1cbe71fa429162a44ba8f0b6a638b0b29f8/llama_index_readers_google-0.2.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-01 21:35:47",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-google"
}
        
Elapsed time: 0.21466s