SkillAgentSearch skills...

Pwclient

The command-line client for the patchwork patch tracking tool

Install / Use

/learn @getpatchwork/Pwclient
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

======== pwclient

.. NOTE: If editing this, be sure to update the line numbers in 'doc/index'

.. image:: https://badge.fury.io/py/pwclient.svg :target: https://badge.fury.io/py/pwclient :alt: PyPi Status

.. image:: https://readthedocs.org/projects/pwclient/badge/?version=latest :target: https://pwclient.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://github.com/getpatchwork/pwclient/actions/workflows/ci.yaml/badge.svg :target: https://github.com/getpatchwork/pwclient/actions/workflows/ci.yaml :alt: Build Status

pwclient is a VCS-agnostic tool for interacting with Patchwork__, the web-based patch tracking system.

__ http://jk.ozlabs.org/projects/patchwork/

Installation

The easiest way to install pwclient and its dependencies is using pip. To do so, run:

.. code-block:: bash

$ python3 -m pip install pwclient

You can also install pwclient manually. First, install the required dependencies. On Fedora, run:

.. code-block:: bash

$ sudo dnf install python-pbr

On Ubuntu, run:

.. code-block:: bash

$ sudo apt-get install python-pbr

Once dependencies are installed, clone this repo and run setup.py:

.. code-block:: bash

$ git clone https://github.com/getpatchwork/pwclient $ cd pwclient $ python3 -m pip install --user .

Getting Started

To use pwclient, you will need a .pwclientrc file, located in your home directory ($HOME or ~). You can point to another path with the environment variable PWCLIENTRC. Patchwork itself provides sample .pwclientrc files for projects at /project/{projectName}/pwclientrc/. For example, here__ is the .pwclientrc file for Patchwork itself.

__ https://patchwork.ozlabs.org/project/patchwork/pwclientrc/

Development

If you're interested in contributing to pwclient, first clone the repo:

.. code-block:: bash

$ git clone https://github.com/getpatchwork/pwclient $ cd pwclient

Create a virtualenv, then install the package in editable__ mode:

.. code-block:: bash

$ virtualenv .venv $ source .venv/bin/activate $ python3 -m pip install --editable .

__ https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs

Documentation

Documentation is available on Read the Docs__

__ https://pwclient.readthedocs.io/

Related Skills

View on GitHub
GitHub Stars55
CategoryDevelopment
Updated2mo ago
Forks23

Languages

Python

Security Score

95/100

Audited on Jan 28, 2026

No findings