PyPatchwork
PyPatchwork is a Python library to access the Patchwork REST API.
Installation
This package can be installed from Python Package Index (PyPi):
$ pip install PyPatchwork
Usage
from patchwork import Patchwork
# Create Patchwork object
pw = Patchwork('https://patchwork.kernel.org')
# Create Patchwork object with access token
pw = Patchwork('https://patchwork.kernel.org', 'access_token')
Examples
from patchwork import Patchwork
pw = Patchwork('https://patchwork.kernel.org')
# Get projects
project = pw.get_project(395)
# Get Series
series = pw.get_series(565705)