llama-index readers bitbucket integration
Project description
Bitbucket Loader
pip install llama-index-readers-bitbucket
This loader utilizes the Bitbucket API to load the files inside a Bitbucket repository as Documents in an index.
Usage
To use this loader, you need to provide as environment variables the BITBUCKET_API_KEY and the BITBUCKET_USERNAME.
import os
from llama_index.core import VectorStoreIndex, download_loader
os.environ["BITBUCKET_USERNAME"] = "myusername"
os.environ["BITBUCKET_API_KEY"] = "myapikey"
base_url = "https://myserver/bitbucket"
project_key = "mykey"
from llama_index.readers.bitbucket import BitbucketReader
loader = BitbucketReader(
base_url=base_url,
project_key=project_key,
branch="refs/heads/develop",
repository="ms-messaging",
)
documents = loader.load_data()
index = VectorStoreIndex.from_documents(documents)
This loader is designed to be used as a way to load data into Llama Index.
For a step-by-step guide, checkout this tutorial
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_readers_bitbucket-0.5.0.tar.gz.
File metadata
- Download URL: llama_index_readers_bitbucket-0.5.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2806c895ec92bc2793a9c7e9739ab9cacb9c1193aa5a7f1a695614d1b102c723
|
|
| MD5 |
4850caeabf2c63b1aa23d78e6cae4811
|
|
| BLAKE2b-256 |
f32d886cdb43e7f51f9ae05fd4b57202c9dd5e7f1f90632161c175049aa0c6cb
|
File details
Details for the file llama_index_readers_bitbucket-0.5.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_bitbucket-0.5.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d8ed5849b99fd66659af973628bddeaa481d793164d4386901f1d591725b86b
|
|
| MD5 |
adb1975645b485103027f33bd779a330
|
|
| BLAKE2b-256 |
87afe8547982d4b03d6383a3bf7d9aa4df1eb66939418ed110bb2fc98e939aa5
|