Skip to main content

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', 'your_access_token')

Examples

from patchwork import Patchwork

pw = Patchwork('https://patchwork.kernel.org')

# Search project
projects = pw.get_all_projects()
for project in projects:
    if project.name == "Bluetooth":
        break

# Get Project
project = pw.get_project(395)

# Get Series
series = pw.get_series(565705)

Class references

See Patchwork Classes for the details of class

Note

  • Only support the basic GET method
  • Need to improve the Pagination such as slice and get page
  • Need to support query parameters
  • Need to support more methods like PUT, and PATCH
  • more to come

Metadata

Release files for PyPatchwork 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyPatchwork 0.1.2
File Size Uploaded Provenance
pypatchwork-0.1.2.tar.gz 27.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for PyPatchwork 0.1.2
File Interpreter ABI Platform
pypatchwork-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 77.6 kB

Release files / pypatchwork-0.1.2.tar.gz

Download URL pypatchwork-0.1.2.tar.gz
Size 27.4 kB
Tags Source
SHA-256 checksum
How to use checksums
21924c513a7e9ea248450c86d518a91d6ec93d93a70c781693d08a6e22db65d8
BLAKE2b-256 checksum
How to use checksums
431e815d426c68961b798795883aed2c798ca2181e1b626804774d94fd1cfee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / pypatchwork-0.1.2-py3-none-any.whl

Download URL pypatchwork-0.1.2-py3-none-any.whl
Size 50.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8b7ff214476bcee84eace8e99fa55309c13a4c985bd8b65708f6b588430bf82
BLAKE2b-256 checksum
How to use checksums
6e7abd67bd4f7efa77d499fe4f20225c167fecd22db56cede502de43b2ed8ebd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for PyPatchwork 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page