A Python package for extracting issues from GitLab repositories.
Project description
Get GitLab Issues
Get GitLab Issues
is a Python package designed to automate the extraction and management of issues from GitLab repositories. This tool is essential for developers looking to streamline their issue tracking processes directly through Python scripts.
Installation
To install Get GitLab Issues
, you can use pip:
pip install get-gitlab-issues
Usage
Get GitLab Issues
provides a straightforward API to interact with GitLab issues. Here is a basic example of how to use the package to retrieve issues:
Example
from get_gitlab_issues import GitLabIssueFetcher
# Initialize the issue fetcher for a specific repository
fetcher = GitLabIssueFetcher(repo_id='123456', private_token='YOUR_PRIVATE_TOKEN')
# Fetch issues
issues = fetcher.fetch_all_issues()
for issue in issues:
print(issue.title, issue.description)
Input Parameters
The main function fetch_all_issues
in GitLabIssueFetcher
class accepts several parameters:
- repo_id (
str
): The unique identifier for the GitLab repository. - private_token (
str
): Your GitLab personal access token for authentication.
Features
- Easy to install and use.
- Efficiently fetches issues from GitLab repositories.
- Suitable for developers and teams looking to automate their development workflows.
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
License
This project is licensed under the MIT License.
Project details
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
Hashes for get_gitlab_issues-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d6c3bf47fbdbd8046db0a823908d8d2ecb4eb8fb403952d286bce0a1d076166 |
|
MD5 | 78859866e101c83b26e502c649df9584 |
|
BLAKE2b-256 | 2d70c15e7c29181ea4fe218392723fd28c90b69f0154b6aee6728d0b0ca6d32f |