llama-index-readers-azure-devops


Namellama-index-readers-azure-devops JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers azure devops integration
upload_time2024-08-22 05:52:00
maintainerNone
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: Azure Devops

`pip install llama-index-readers-azure-devops`

The Azure Devops readers package enables you to read files from your azure devops repositories

The reader will require a personal access token (which you can generate under your account settings).

## Usage

This reader will read through a repo, with options to specifically filter directories and file extensions.

Here is an example of how to use it

```python
from llama_index.readers.azure_devops import AzureDevopsReader

az_devops_loader = AzureDevopsLoader(
    access_token="<your-access-token>",
    organization_name="<organization-name>",
    project_name="<project-name>",
    repo="<repository-name>",
    file_filter=lambda file_path: file_path.endswith(".py"),
)  # Optional: you can provide any callable that returns a boolean to filter files of your choice

documents = az_devops_loader.load_data(
    folder="<folder-path>",  # The folder to load documents from, defaults to root.
    branch="<branch-name>",
)  # The branch to load documents from, defaults to head of the repo
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-azure-devops",
    "maintainer": null,
    "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/29/fd/9769155b107e2bbb909e606a6029eaeeade05ab2c1399494d3a6ba01d224/llama_index_readers_azure_devops-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Readers Integration: Azure Devops\n\n`pip install llama-index-readers-azure-devops`\n\nThe Azure Devops readers package enables you to read files from your azure devops repositories\n\nThe reader will require a personal access token (which you can generate under your account settings).\n\n## Usage\n\nThis reader will read through a repo, with options to specifically filter directories and file extensions.\n\nHere is an example of how to use it\n\n```python\nfrom llama_index.readers.azure_devops import AzureDevopsReader\n\naz_devops_loader = AzureDevopsLoader(\n    access_token=\"<your-access-token>\",\n    organization_name=\"<organization-name>\",\n    project_name=\"<project-name>\",\n    repo=\"<repository-name>\",\n    file_filter=lambda file_path: file_path.endswith(\".py\"),\n)  # Optional: you can provide any callable that returns a boolean to filter files of your choice\n\ndocuments = az_devops_loader.load_data(\n    folder=\"<folder-path>\",  # The folder to load documents from, defaults to root.\n    branch=\"<branch-name>\",\n)  # The branch to load documents from, defaults to head of the repo\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers azure devops integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15cdab9aa88170bc8d29aea3cc76da08ac9b8be049d0bff81d853d3fdee6d50e",
                "md5": "6614d6b14abe5283ce42e533cbcdf28f",
                "sha256": "caa766d14dd4c2707dbcdb5815e733dfa11693737a72875ff7410357d2b71f80"
            },
            "downloads": -1,
            "filename": "llama_index_readers_azure_devops-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6614d6b14abe5283ce42e533cbcdf28f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 4264,
            "upload_time": "2024-08-22T05:51:59",
            "upload_time_iso_8601": "2024-08-22T05:51:59.700894Z",
            "url": "https://files.pythonhosted.org/packages/15/cd/ab9aa88170bc8d29aea3cc76da08ac9b8be049d0bff81d853d3fdee6d50e/llama_index_readers_azure_devops-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29fd9769155b107e2bbb909e606a6029eaeeade05ab2c1399494d3a6ba01d224",
                "md5": "d2d48f51fd75f3093e9f22db2d6d7b88",
                "sha256": "7ae0fe4a7ad5bd7c76b4a0cd378dc25abd3781a3e394c2da0b400c1130f97483"
            },
            "downloads": -1,
            "filename": "llama_index_readers_azure_devops-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d2d48f51fd75f3093e9f22db2d6d7b88",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3868,
            "upload_time": "2024-08-22T05:52:00",
            "upload_time_iso_8601": "2024-08-22T05:52:00.955124Z",
            "url": "https://files.pythonhosted.org/packages/29/fd/9769155b107e2bbb909e606a6029eaeeade05ab2c1399494d3a6ba01d224/llama_index_readers_azure_devops-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 05:52:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-azure-devops"
}
        
Elapsed time: 0.30730s