Skip to main content

Fetch patch management data from Jamf Pro to generate comprehensive reports in both Excel and PDF formats

Project description

Patcher

Find us in the #patcher channel in the MacAdmins Slack


A python library and CLI for turning patch reports into something other than a spreadsheet you'll never open again. Read the full project documentation on our project homepage.

Sample Patcher PDF report
An exported PDF report for "AnyOrg". See Customization in the project docs for more.

Installation

$ python3 -m pip install --upgrade patcherctl

Usage

Full library and CLI references plus assembled recipes live in the Guides section of the docs. The two quick examples below cover the common case of fetching Jamf's patch-management view and exporting reports.

Library

import asyncio
from patcher import PatcherClient

async def main():
    async with PatcherClient(
        client_id="...",
        client_secret="...",
        server="https://yourorg.jamfcloud.com",
    ) as patcher:
        titles = await patcher.fetch_patches()
        await patcher.export(titles, output_dir="./reports", formats={"pdf"})

asyncio.run(main())

CLI

$ patcherctl --client-id="..." --client-secret="..." --url="https://yourorg.jamfcloud.com" export --path="./reports" --format=pdf

Patcher API

Patcher's API is a community catalog of macOS app patching metadata stitched from Installomator, Homebrew Cask, AutoPkg (and more) into a single queryable surface.

Read endpoints are public, there is no authentication required. See project docs for curl and PatcherClient examples.

Contributing

Contributions to Patcher are welcome! We have set up templates for submitting issues, feature requests, and feedback. Please be sure to utilize these templates when contributing to the project.

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

patcherctl-3.1.0.tar.gz (137.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patcherctl-3.1.0-py3-none-any.whl (116.1 kB view details)

Uploaded Python 3

File details

Details for the file patcherctl-3.1.0.tar.gz.

File metadata

  • Download URL: patcherctl-3.1.0.tar.gz
  • Upload date:
  • Size: 137.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for patcherctl-3.1.0.tar.gz
Algorithm Hash digest
SHA256 9b273286c9ff7701ce702e1b6c99f63c482871a771dd6a281b74f83076c6f21e
MD5 f8f34c433c5a099c5a0382f8f80b9460
BLAKE2b-256 b50a488f4cbe38f632bda406461ba75ee51ede26e9944a0bf6284791ed9f876e

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherctl-3.1.0.tar.gz:

Publisher: build-release-publish.yml on liquidz00/Patcher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file patcherctl-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: patcherctl-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 116.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for patcherctl-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3c90fa2466248653e06f37f27778a3ab4f5b0068a4d79d3653c3611dda96ecc
MD5 e632cf81d5f196b2feea95426a2ab339
BLAKE2b-256 8daabcd8f54cbe9c76b8189f6cb947d4ce2c138a14673575fa9a968047fd8c02

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherctl-3.1.0-py3-none-any.whl:

Publisher: build-release-publish.yml on liquidz00/Patcher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page