LlamaIndex Readers Integration: Gitlab
pip install llama-index-readers-gitlab
The gitlab readers package leverages python-gitlab to fetch contents from gitlab projects. It consists of two separate readers:
- Repository Reader
- Issues Reader
Access token or oauth token is required for private groups and projects.
Repository Reader
This reader will read through files in a repo based on branch or commit.
import gitlab
from llama_index.readers.gitlab import GitLabRepositoryReader
gitlab_client = gitlab.Gitlab("https://gitlab.com")
project_repo_reader = GitLabRepositoryReader(
gitlab_client=gitlab_client,
project_id=project_id,
verbose=True,
)
docs = project_repo_reader.load_data(file_path="README.rst", ref="develop")
Issues Reader
import gitlab
from llama_index.readers.gitlab import GitLabIssuesReader
gitlab_client = gitlab.Gitlab("https://gitlab.com")
# load issues by project id
project_issues_reader = GitLabIssuesReader(
gitlab_client=gitlab_client,
project_id=project_id,
verbose=True,
)
docs = project_issues_reader.load_data(
state=GitLabIssuesReader.IssueState.OPEN
)
# load issues by group id
group_issues_reader = GitLabIssuesReader(
gitlab_client=gitlab_client,
group_id=group_id,
verbose=True,
)
docs = group_issues_reader.load_data(state=GitLabIssuesReader.IssueState.OPEN)
Metadata
Release files for llama-index-readers-gitlab 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_gitlab-0.7.0.tar.gz | 6.3 kB | Without provenance | Details for llama_index_readers_gitlab-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_gitlab-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_gitlab-0.7.0-py3-none-any.whl |
Total release size: 13.2 kB
Release files / llama_index_readers_gitlab-0.7.0.tar.gz
| Download URL | llama_index_readers_gitlab-0.7.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d808c32ff1d2490b0aa0c8c40fc08d3e1f43e2aee7554814c902b1c8e4c5c2ae
|
|
BLAKE2b-256 checksum How to use checksums |
4c0c4ef737ba1b1c1cdc8d13f8a9a4a7e7c319de84694128387618f2b14b52d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / llama_index_readers_gitlab-0.7.0-py3-none-any.whl
| Download URL | llama_index_readers_gitlab-0.7.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a5a51b0e023de93f9aae65a15fbd211899f545069d84076caedcefd206ab76c
|
|
BLAKE2b-256 checksum How to use checksums |
4c389cdaec87bd8ed2f43c4dd611e0a3bbbf383f46c0ab7f79eccbe6f980446c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for llama-index-readers-gitlab 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.