Skip to main content

Python wrapper for the Gerrit REST API.

Project description

https://img.shields.io/pypi/pyversions/python-gerrit-api.svg https://img.shields.io/pypi/v/python-gerrit-api.svg https://sonarcloud.io/api/project_badges/measure?project=shijl0925_python-gerrit-api&metric=alert_status https://img.shields.io/github/license/shijl0925/python-gerrit-api.svg https://img.shields.io/badge/code%20style-black-000000.svg

Python wrapper for the Gerrit V3.x REST API.

Installation

The easiest way to install the latest version is by using pip to pull it from PyPI:

pip install  --upgrade python-gerrit-api

You may also use Git to clone the repository from Github and install it manually:

git clone https://github.com/shijl0925/python-gerrit-api.git
cd python-gerrit-api
python setup.py install

Documentation

The full documentation for API is available on readthedocs.

Compatibility

  • This package is compatible Python versions 3.5+.

  • Tested with Gerrit Code Review (V3.3.0).

Usage

Example:

from gerrit import GerritClient
gerrit_client = GerritClient(gerrit_url="https://yourgerrit", username='******', password='xxxxx')

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

python-gerrit-api-1.0.0.tar.gz (33.2 kB view hashes)

Uploaded Source

Built Distribution

python_gerrit_api-1.0.0-py3-none-any.whl (54.2 kB view hashes)

Uploaded Python 3

Supported by

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