Herramienta para interactuar con la API del servidor de GitLab v4. El ejecutable se llama python-gitlab.
Configurar credenciales creando el archivo:
$ nano ~/.python-gitlab.cfg
[global]
default = gitlab.com
ssl_verify = true
timeout = 5
[gitlab.com]
url = https://gitlab.com
private_token = el_token_personal
api_version = 4
$ python-gitlab --help
$ python-gitlab project -h
$ python-gitlab current-user get
$ python-gitlab project list
$ python-gitlab group list
$ python-gitlab project get --id=username/project-name
$ python-gitlab project-issue list --project-id=username/project-name
$ python-gitlab project-issue create --project-id=username/project-name --title="Nuevo issue" --description="Descripción del issue"
$ python-gitlab project-access-request list --project-id=username/project-name
$ python-gitlab event list
$ python-gitlab project-variable list --project-id=username/project-name
$ python-gitlab project create --name="Nuevo Proyecto" --description="Descripción del proyecto"