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.2.0.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

pwclient-2.2.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pwclient-2.2.0.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pwclient-2.2.0.tar.gz
Algorithm Hash digest
SHA256 1bf1db4676dc7b0695bb0e712f65dd6360f62f47200b9c56d876ef928ea16e5f
MD5 6332ddf09c767ccdbfc0456405a09625
BLAKE2b-256 f9f605beb72068739e9c9ee019be01494abcc8124a0838d2d46508edc4b0f6b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pwclient-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pwclient-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac351776bb4e5fdf2cf6b4c2f61d9a3996c4bd18af87e3eeef9a8c3ad952c41d
MD5 00740400372d744a32094156a45f5408
BLAKE2b-256 1c58183f2868709940d66dda8944d8ff2d815dcf2c077f5a8e0dc5c8a9ec8ea8

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