Skip to content

diaojunxian/gerritPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

junxiandiao@gmail.com

LICENSE

MIT

Releases

No releases published

Packages

No packages published

Languages