pwclient is a VCS-agnostic tool for interacting with Patchwork, the web-based patch tracking system.
Installation
The easiest way to install pwclient and its dependencies is using pip. To do so, run:
$ python3 -m pip install pwclient
You can also install pwclient manually. First, install the required dependencies. On Fedora, run:
$ sudo dnf install python-pbr
On Debian/Ubuntu, run:
$ sudo apt-get install python3-pbr
On openSUSE, run:
$ sudo zypper in -y python3-pbr
Once dependencies are installed, clone this repo and run setup.py:
$ 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.
Development
If you’re interested in contributing to pwclient, first clone the repo:
$ git clone https://github.com/getpatchwork/pwclient
$ cd pwclient
Create a virtualenv, then install the package in editable mode:
$ virtualenv .venv
$ source .venv/bin/activate
$ python3 -m pip install --editable .
Documentation
Documentation is available on Read the Docs
Metadata
Release files for pwclient 2.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pwclient-2.10.0.tar.gz | 46.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pwclient-2.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.9 kB
Release files / pwclient-2.10.0.tar.gz
| Download URL | pwclient-2.10.0.tar.gz |
|---|---|
| Size | 46.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa9ae1aeb915c5b8b96af01b61ce11216ea51532cf740f7300e16a560af48965
|
|
BLAKE2b-256 checksum How to use checksums |
cdd9fe5209d1be0f5f68c64b13727e0fba04fd3e1a2851746159b759be766a24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / pwclient-2.10.0-py3-none-any.whl
| Download URL | pwclient-2.10.0-py3-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df3dd8d828cbc7f1186f1473b284914c18ce6c791c0b8607e5557372399301fe
|
|
BLAKE2b-256 checksum How to use checksums |
e0488e73eff3553b4133710df25468132484b7ec95815faef0c54d0bb9bead4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency log