Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_bitbucket-0.6.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_bitbucket-0.6.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_bitbucket-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_bitbucket-0.6.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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

Hashes for llama_index_readers_bitbucket-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ce816f1d8d86366de7441d10a160ca9e777b59dd7a19df7378b4bd4fecc80b20
MD5 5c872b18356a8238220954eed715980b
BLAKE2b-256 2b41d0c4102d943c11d0880b6e502d917285d40453358580b85f90acebec558d

See more details on using hashes here.

File details

Details for the file llama_index_readers_bitbucket-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_bitbucket-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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

Hashes for llama_index_readers_bitbucket-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a7f3f0e29f677e9657922a2f56b43e2844cfaf5c86167f4c07a93482c3345b0
MD5 eada4c4a64246e14b329c0694741ee48
BLAKE2b-256 e436cb46a1527c07eda0cd954643e6595a597ef3d1e7e55bffbc3c083fac4276

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

1 file

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page