Skip to main content

The command-line client for the Patchwork patch tracking tool

Project description

PyPi Status Documentation Status Build Status

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 Ubuntu, run:

$ sudo apt-get install python-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

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

pwclient-2.6.3.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

pwclient-2.6.3-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file pwclient-2.6.3.tar.gz.

File metadata

  • Download URL: pwclient-2.6.3.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pwclient-2.6.3.tar.gz
Algorithm Hash digest
SHA256 69c1b25c44589c07f6e2b74b06f16a7b5ef27859a5c859d93fceaeea9d917368
MD5 7ebcc150bf8f988729ad5ac8f158c552
BLAKE2b-256 35a6f0ae6dbee824372c7d89e38baa21007f6f209d5e9f426cf18370d4666292

See more details on using hashes here.

File details

Details for the file pwclient-2.6.3-py3-none-any.whl.

File metadata

  • Download URL: pwclient-2.6.3-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pwclient-2.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0013fcc1e014a0acee76401161e5608cd93135ef1eec0028cd88821b4b4b19d
MD5 1be4826ce532d8400d6786638797d984
BLAKE2b-256 9f9babb66c65d25d56cf780b7184709cfe31087c3bb736176c2ed903f92e4870

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