Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.34 KB

gerrit.py --- A Python Wrapper for the Gerrit REST API

License Python Build Status Coverage Status

🚧 [WIP] This project is still under development.

gerrit.py provides a simple interface to interact with Gerrit Code Review via the REST API.

Gerrit Version Compatibility

Install

Install from source code

python setup.py install

Usage

from gerrit.gerrit import Gerrit
from gerrit.config import Config

g = Gerrit('gerrit.example.com', 'username', 'password')
config = Config(g)
success, version = config.get_version()
print success
# True
print version
# 2.11.10

Acknowledgements

This project is inspired by CBitLabs/BitBucket-api.