llama-index-readers-linear


Namellama-index-readers-linear JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers linear integration
upload_time2024-08-22 06:28:39
maintainerSushmithamallesh
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords linear
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Linear Reader

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

The Linear loader returns issue based on the query.

## Usage

Here's an example of how to use it

```python
from llama_index.readers.linear import LinearReader

reader = LinearReader(api_key=api_key)
query = """
    query Team {
        team(id: "9cfb482a-81e3-4154-b5b9-2c805e70a02d") {
            id
            name
            issues {
                nodes {
                    id
                    title
                    description
                    assignee {
                        id
                        name
                    }
                    createdAt
                    archivedAt
                }
            }
        }
    }
"""

documents = reader.load_data(query=query)
```

Alternately, you can also use download_loader from llama_index

```python
from llama_index.readers.linear import LinearReader

reader = LinearReader(api_key=api_key)
query = """
    query Team {
        team(id: "9cfb482a-81e3-4154-b5b9-2c805e70a02d") {
            id
            name
            issues {
                nodes {
                    id
                    title
                    description
                    assignee {
                        id
                        name
                    }
                    createdAt
                    archivedAt
                }
            }
        }
    }
"""
documents = reader.load_data(query=query)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-linear",
    "maintainer": "Sushmithamallesh",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": "linear",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/d4/50/607222ab93f64c5e57ac3afd3f3046f098cac5b7b1f6c098afdbcf50e6e3/llama_index_readers_linear-0.2.0.tar.gz",
    "platform": null,
    "description": "# Linear Reader\n\n```bash\npip install llama-index-readers-linear\n```\n\nThe Linear loader returns issue based on the query.\n\n## Usage\n\nHere's an example of how to use it\n\n```python\nfrom llama_index.readers.linear import LinearReader\n\nreader = LinearReader(api_key=api_key)\nquery = \"\"\"\n    query Team {\n        team(id: \"9cfb482a-81e3-4154-b5b9-2c805e70a02d\") {\n            id\n            name\n            issues {\n                nodes {\n                    id\n                    title\n                    description\n                    assignee {\n                        id\n                        name\n                    }\n                    createdAt\n                    archivedAt\n                }\n            }\n        }\n    }\n\"\"\"\n\ndocuments = reader.load_data(query=query)\n```\n\nAlternately, you can also use download_loader from llama_index\n\n```python\nfrom llama_index.readers.linear import LinearReader\n\nreader = LinearReader(api_key=api_key)\nquery = \"\"\"\n    query Team {\n        team(id: \"9cfb482a-81e3-4154-b5b9-2c805e70a02d\") {\n            id\n            name\n            issues {\n                nodes {\n                    id\n                    title\n                    description\n                    assignee {\n                        id\n                        name\n                    }\n                    createdAt\n                    archivedAt\n                }\n            }\n        }\n    }\n\"\"\"\ndocuments = reader.load_data(query=query)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers linear integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [
        "linear"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a7dfb9de0bcf5042aefb0a7f7564ae8e6b8f0e551c0cb4456759445f6079395",
                "md5": "dd40285c9aeec66280133cdc1bb04132",
                "sha256": "c62713af2f76a44ae90c82b82f0b0abaed1146437c6467951a367c3d2028b9ca"
            },
            "downloads": -1,
            "filename": "llama_index_readers_linear-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd40285c9aeec66280133cdc1bb04132",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2756,
            "upload_time": "2024-08-22T06:28:37",
            "upload_time_iso_8601": "2024-08-22T06:28:37.765537Z",
            "url": "https://files.pythonhosted.org/packages/0a/7d/fb9de0bcf5042aefb0a7f7564ae8e6b8f0e551c0cb4456759445f6079395/llama_index_readers_linear-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d450607222ab93f64c5e57ac3afd3f3046f098cac5b7b1f6c098afdbcf50e6e3",
                "md5": "d74252322c98e9456086a83233d4b7d8",
                "sha256": "bdd4bcb5a361f05d254cf79efe5e89f9d51aea10502fe8ecaa241ab4934f8b4d"
            },
            "downloads": -1,
            "filename": "llama_index_readers_linear-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d74252322c98e9456086a83233d4b7d8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2543,
            "upload_time": "2024-08-22T06:28:39",
            "upload_time_iso_8601": "2024-08-22T06:28:39.220973Z",
            "url": "https://files.pythonhosted.org/packages/d4/50/607222ab93f64c5e57ac3afd3f3046f098cac5b7b1f6c098afdbcf50e6e3/llama_index_readers_linear-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 06:28:39",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-linear"
}
        
Elapsed time: 1.95964s