← Winnitude! Search  ·  Reader Mode (915 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 89 LINKS

GitHub - Pro/python-gitlab: Python wrapper for the GitLab API

Repository navigation

python-gitlab
Public
forked from python-gitlab/python-gitlab

About

Python wrapper for the GitLab API

python-gitlab.readthedocs.io/

Resources

Readme LGPL-3.0 license

Contributing

Contributing Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page    

Latest commit

 

History


2,272 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github .github    
docs docs    
gitlab gitlab    
tests tests    
.commitlintrc.json .commitlintrc.json    
.dockerignore .dockerignore    
.gitignore .gitignore    
.gitlab-ci.yml .gitlab-ci.yml    
.pre-commit-config.yaml .pre-commit-config.yaml    
.readthedocs.yml .readthedocs.yml    
.renovaterc.json .renovaterc.json    
AUTHORS AUTHORS    
CHANGELOG.md CHANGELOG.md    
CONTRIBUTING.rst CONTRIBUTING.rst    
COPYING COPYING    
Dockerfile Dockerfile    
MANIFEST.in MANIFEST.in    
README.rst README.rst    
codecov.yml codecov.yml    
docker-entrypoint.sh docker-entrypoint.sh    
pyproject.toml pyproject.toml    
requirements-docker.txt requirements-docker.txt    
requirements-docs.txt requirements-docs.txt    
requirements-lint.txt requirements-lint.txt    
requirements-test.txt requirements-test.txt    
requirements.txt requirements.txt    
setup.cfg setup.cfg    
setup.py setup.py    
tox.ini tox.ini    

Repository files navigation

Python GitLab

python-gitlab is a Python package providing access to the GitLab server API.

It supports the v4 API of GitLab, and provides a CLI tool (gitlab).

Installation

Requirements

python-gitlab depends on:

Install with pip

pip install python-gitlab

Using the python-gitlab docker image

How to build

docker build -t python-gitlab:TAG .

How to use

docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> -v /path/to/python-gitlab.cfg:/python-gitlab.cfg python-gitlab <command> ...

or run it directly from the upstream image:

docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> -v /path/to/python-gitlab.cfg:/python-gitlab.cfg registry.gitlab.com/python-gitlab/python-gitlab:latest <command> ...

To change the GitLab URL, use -e GITLAB_URL=<your url>

Bring your own config file: docker run -it --rm -v /path/to/python-gitlab.cfg:/python-gitlab.cfg -e GITLAB_CFG=/python-gitlab.cfg python-gitlab <command> ...

Bug reports

Please report bugs and feature requests at https://github.com/python-gitlab/python-gitlab/issues .

Gitter Community Chat

There is a gitter community chat available at https://gitter.im/python-gitlab/Lobby

Documentation

The full documentation for CLI and API is available on readthedocs .

Build the docs

You can build the documentation using sphinx:

pip install sphinx
python setup.py build_sphinx

Contributing

For guidelines for contributing to python-gitlab, refer to CONTRIBUTING.rst .

About

Python wrapper for the GitLab API

python-gitlab.readthedocs.io/

Resources

Readme LGPL-3.0 license

Contributing

Contributing Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks Report repository

Releases

Packages

Contributors

Languages