Client library for interacting with Gerrit
Project description
pygerrit is a python library that can be used to process the data from events generated by the Gerrit code review system.
Gerrit offers a “stream-events” command that is run over ssh, and returns back a stream of events (new change uploaded, change merged, comment added, etc) as JSON text.
This library handles the parsing of the JSON text from the event stream, encapsulating the data in event objects (Python classes), and allowing the client to fetch them from a queue. It also allows users to easily add handling of custom event types, for example if they are running a customised Gerrit installation with non-standard events.
For examples of usage, please refer to example.py
Copyright 2011 Sony Ericsson Mobile Communications. All rights reserved. Copyright 2012 Sony Mobile Communications. All rights reserved.
Licensed under The MIT License. Please refer to the LICENSE file for full license details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pygerrit-0.0.7.tar.gz
.
File metadata
- Download URL: pygerrit-0.0.7.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b23f46ce7f16369eeb65f0915587efd77ae16196f8c11ae8199c4b168fc13940 |
|
MD5 | c0c5d155bb2aafa549df5ea67fc56cf7 |
|
BLAKE2b-256 | e4088439176c2847c6081cbf7bc1c9551b7ec885dfad8d73573e0e7a23ad47bd |