https://github.com/ryzn0518/gerritPython
gerritpy library
https://github.com/ryzn0518/gerritPython
ci gerrit python
Last synced: 5 months ago
JSON representation
gerritpy library
- Host: GitHub
- URL: https://github.com/ryzn0518/gerritPython
- Owner: ryzn0518
- License: mit
- Created: 2017-03-02T05:59:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T05:44:00.000Z (almost 8 years ago)
- Last Synced: 2024-11-18T07:38:13.643Z (about 1 year ago)
- Topics: ci, gerrit, python
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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](https://github.com/diaojunxian/gerritPython/blob/master/LICENSE)