Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygerrit-0.1.0.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file pygerrit-0.1.0.tar.gz.

File metadata

  • Download URL: pygerrit-0.1.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygerrit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 041e93ee5b309db8c243596addcc28e7f5488fe8086c744d89b78a0697e9c093
MD5 b8c64e15eac7d54a69551acd3eb545ea
BLAKE2b-256 49f84f777f348a1da60f9ad397f901a9ed488bdbb753a08400f37ee3144e38c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page