llama-index readers azure devops integration
Project description
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for llama_index_readers_azure_devops-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ae0fe4a7ad5bd7c76b4a0cd378dc25abd3781a3e394c2da0b400c1130f97483 |
|
MD5 | d2d48f51fd75f3093e9f22db2d6d7b88 |
|
BLAKE2b-256 | 29fd9769155b107e2bbb909e606a6029eaeeade05ab2c1399494d3a6ba01d224 |
Close
Hashes for llama_index_readers_azure_devops-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caa766d14dd4c2707dbcdb5815e733dfa11693737a72875ff7410357d2b71f80 |
|
MD5 | 6614d6b14abe5283ce42e533cbcdf28f |
|
BLAKE2b-256 | 15cdab9aa88170bc8d29aea3cc76da08ac9b8be049d0bff81d853d3fdee6d50e |