Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 635 Bytes

README.md

File metadata and controls

46 lines (27 loc) · 635 Bytes

gerrit-python

Gerrit Rest Api Library (not official)

Installation

pip install gerritpy

How to use

import gerritpy
import json


username = "{username}"

password = "{http password}"

url = "{url}"

path = "/projects/{project-name}}"


response = gerritpy.get_http(url, path, username, password)

print json.dumps(response, indent=4)

You can get http password from your gerrit account,settings-HTTP Password,and then generate your password.

TODO

POST api
PUT api

Contributors

[email protected]

LICENSE

MIT