Skip to main content

A Python package for extracting issues from GitLab repositories.

Project description

PyPI version License: MIT Downloads LinkedIn

Get GitLab Issues

Get GitLab Issues is a Python package designed to facilitate 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. Below is an example of how to use the package to retrieve issues and check user access:

Example

from get_gitlab_issues import check_access, get_gitlab_issues, get_gitlab_issue

# Check user access
if check_access('YOUR_PRIVATE_TOKEN', 'https://gitlab.example.com'):
    print("Access verified")

# Fetch issues for a specific group
issues = get_gitlab_issues('YOUR_PRIVATE_TOKEN', 'https://gitlab.example.com', '123456')
for issue in issues:
    print(issue.title, issue.description)

# Fetch a specific issue
issue_detail = get_gitlab_issue('YOUR_PRIVATE_TOKEN', 'https://gitlab.example.com', '123456', '1')
print(issue_detail.title, issue_detail.description)

Functions

  • check_access(token, url): Checks if the provided token has access to the GitLab API.
  • get_gitlab_issues(token, url, group_id, labels=None, iteration_id=None): Retrieves a list of issues from a specified group.
  • get_gitlab_issue(token, url, project_id, issue_id): Retrieves details for a specific issue.

Features

  • Simple installation and easy usage.
  • Efficient access to GitLab issues through the API.
  • Ability to check user access and retrieve specific issues or lists of issues.

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

get_gitlab_issues-2025.5.180909.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

get_gitlab_issues-2025.5.180909-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file get_gitlab_issues-2025.5.180909.tar.gz.

File metadata

File hashes

Hashes for get_gitlab_issues-2025.5.180909.tar.gz
Algorithm Hash digest
SHA256 2dad26a324552dfceccc36f9a1562d1b3feda1a841443a669ef9fb5a2fddb914
MD5 1c0bc64ada8d4a437b6b7265159b897f
BLAKE2b-256 30dffcb4dc6f8532b1e0e9c33ea09084c2c8009cce757b2c64f44f875e95af81

See more details on using hashes here.

File details

Details for the file get_gitlab_issues-2025.5.180909-py3-none-any.whl.

File metadata

File hashes

Hashes for get_gitlab_issues-2025.5.180909-py3-none-any.whl
Algorithm Hash digest
SHA256 14f63b236832293fa58fe7740b68c07dca1914ef886e9b0e58afa26371074557
MD5 46fe5374b5f531a7be9e2b0082dcb21f
BLAKE2b-256 8b649f284e642953048cd9671252f665ed089d69508c7d1bf82f582ae71f4ba6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page