Install python-gitlab by entering the following commands in the terminal:
sudo apt update sudo apt install python-gitlab
Description:
Python GitLab API client library
Provides access to the GitLab v3 and v4 server API. This package contains the Python 2 library.
Homepage: https://github.com/python-gitlab/python-gitlab
Version: 1:1.3.0-2
Section: universe/python