--- id: pygerrit2 version: "2.0.15" license: The MIT License license_treatment: permissive maintenance: dormant --- # pygerrit2 — Client library for interacting with Gerrit's REST API License: permissive · Maintenance: dormant · Downloads: 177.7K/mo ## What it is and what it does Pygerrit2 is a Python client library that wraps Gerrit Code Review's REST API, allowing developers to programmatically query and interact with Gerrit instances. It provides a straightforward interface for common operations like retrieving projects, changes, and reviews without having to construct raw HTTP requests. The library has no runtime dependencies, making it lightweight to install. However, it is in a dormant maintenance state—the last release was in June 2021, and while the repository received a commit in late 2023, there has been no active development for several years. It is classified as Production/Stable and supports Python 3.6 through 3.8, though actual compatibility with newer Python versions is unclear. Use it for: - Automate code review workflows by querying Gerrit changes and their status programmatically. - Build CI/CD integration tools that interact with Gerrit to fetch change metadata or post reviews. - Generate reports on Gerrit projects, changes, and review metrics for analysis. - Create custom tooling to manage Gerrit repositories and automate administrative tasks. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Pygerrit2 is a client library for interacting with Gerrit Code Review's REST API, enabling programmatic access to Gerrit instances from Python. Yes, if you need to interact with Gerrit's REST API from Python and can accept dormant maintenance. The library is stable, has no dependencies, and carries no known vulnerabilities. However, verify compatibility with your Gerrit version and Python release before adopting, and be prepared to maintain a fork if upstream does not respond to issues. ## Install pip install pygerrit2 uv add pygerrit2 poetry add pygerrit2 ## Installing pygerrit2 Before you install: High install friction with no runtime dependencies. The package is dormant—last release was 2021-06-03, over 1898 days ago, and the last commit was 2023-11-29. While the repository is not archived, the lack of recent activity suggests limited ongoing maintenance. License in practice: Licensed under the MIT License (permissive). You can use, modify, and distribute this package freely with minimal restrictions, provided you retain the license notice. Quickstart: pip install pygerrit2 from pygerrit2.rest import GerritRestAPI api = GerritRestAPI(url='https://gerrit.example.com') projects = api.get('/projects/') Verify before relying: - Whether the package works with Python versions beyond 3.8, given classifiers list only up to 3.8 but requires_python is unspecified. - Current compatibility with recent Gerrit REST API versions, given the dormant maintenance status since mid-2021. ## Package facts - License: The MIT License (permissive) - Python support: unspecified - Install friction: high - Maintenance: dormant - Downloads: 177.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags gerrit rest api client, gerrit code review python, gerrit automation library, gerrit rest client, code review api integration, gerrit http client, gerrit, rest-api-client, code-review [View on SkillFed](https://skillfed.io/packages/pygerrit2) · [View on PyPI](https://pypi.org/project/pygerrit2/)