llama-index-readers-notion


Namellama-index-readers-notion JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers notion integration
upload_time2024-08-22 03:14:37
maintainerjerryjliu
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LlamaIndex Readers Integration: Notion

## Overview

Notion Page Reader enables loading data from Notion pages. It constructs queries to retrieve pages based on page IDs or from a specified Notion database.

### Installation

You can install Notion Reader via pip:

```bash
pip install llama-index-readers-notion
```

### Usage

```python
from llama_index.readers.notion import NotionPageReader

# Initialize NotionPageReader
reader = NotionPageReader(integration_token="<Integration Token>")

# Load data from Notion
documents = reader.load_data(
    page_ids=["<Page ID 1>", "<Page ID 2>"],  # List of page IDs to load
    database_id="<Database ID>",  # Database ID from which to load page IDs
)
```

Implementation for Notion reader can be found [here](https://docs.llamaindex.ai/en/stable/examples/data_connectors/NotionDemo/)

This loader is designed to be used as a way to load data into
[LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently
used as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-notion",
    "maintainer": "jerryjliu",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/81/b9/a960019e3890504bb2122a7ee10949fc99064f9a831bb031fa0be68c2f80/llama_index_readers_notion-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Readers Integration: Notion\n\n## Overview\n\nNotion Page Reader enables loading data from Notion pages. It constructs queries to retrieve pages based on page IDs or from a specified Notion database.\n\n### Installation\n\nYou can install Notion Reader via pip:\n\n```bash\npip install llama-index-readers-notion\n```\n\n### Usage\n\n```python\nfrom llama_index.readers.notion import NotionPageReader\n\n# Initialize NotionPageReader\nreader = NotionPageReader(integration_token=\"<Integration Token>\")\n\n# Load data from Notion\ndocuments = reader.load_data(\n    page_ids=[\"<Page ID 1>\", \"<Page ID 2>\"],  # List of page IDs to load\n    database_id=\"<Database ID>\",  # Database ID from which to load page IDs\n)\n```\n\nImplementation for Notion reader can be found [here](https://docs.llamaindex.ai/en/stable/examples/data_connectors/NotionDemo/)\n\nThis loader is designed to be used as a way to load data into\n[LlamaIndex](https://github.com/run-llama/llama_index/tree/main/llama_index) and/or subsequently\nused as a Tool in a [LangChain](https://github.com/hwchase17/langchain) Agent.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers notion integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4ccc3191fcffcc9e2f96fa2226534521d5cd441d608240b651dae8400a430744",
                "md5": "cbe3c62175c7ad84e62919f605cbbbb1",
                "sha256": "f9ec75dacaebda1f9ca18574e5812e2118e75830688bb6110793dc724099daaa"
            },
            "downloads": -1,
            "filename": "llama_index_readers_notion-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cbe3c62175c7ad84e62919f605cbbbb1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 4565,
            "upload_time": "2024-08-22T03:14:36",
            "upload_time_iso_8601": "2024-08-22T03:14:36.614083Z",
            "url": "https://files.pythonhosted.org/packages/4c/cc/3191fcffcc9e2f96fa2226534521d5cd441d608240b651dae8400a430744/llama_index_readers_notion-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "81b9a960019e3890504bb2122a7ee10949fc99064f9a831bb031fa0be68c2f80",
                "md5": "147e06b722a39e523435607d8c1017c0",
                "sha256": "ed20de54be82ef6e16d2e74fe7d41440b28eea3a4f8d2c167711f04de8375026"
            },
            "downloads": -1,
            "filename": "llama_index_readers_notion-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "147e06b722a39e523435607d8c1017c0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 4361,
            "upload_time": "2024-08-22T03:14:37",
            "upload_time_iso_8601": "2024-08-22T03:14:37.918979Z",
            "url": "https://files.pythonhosted.org/packages/81/b9/a960019e3890504bb2122a7ee10949fc99064f9a831bb031fa0be68c2f80/llama_index_readers_notion-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 03:14:37",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-notion"
}
        
Elapsed time: 0.28843s