Skip to main content

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

Project description

Patcher

A python library and CLI for Jamf patch reporting and analysis, backed by a community app catalog API.

MacAdmins Slack (#patcher) →   |   📘 Project Docs


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

Installation

$ python3 -m pip install 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.

API is public, no authentication is required. See project docs for curl and PatcherClient examples.

[!NOTE] On a corporate network that filters new or uncategorized domains, the catalog API may be blocked by a web gateway. See Catalog API Blocked by Web Filtering to confirm and resolve it.

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.3.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

patcherctl-3.3.1-py3-none-any.whl (123.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patcherctl-3.3.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for patcherctl-3.3.1.tar.gz
Algorithm Hash digest
SHA256 5de7a81c846b2e88e044a0ae29f2d8da75683ac96117ddbc9408569ba6e52ee0
MD5 3793745880d0292f5614f4c591935ba9
BLAKE2b-256 3e03f2a7a73c971c29870ae4ecb9f272eaeb5c9613266a6441bb474e8937feea

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherctl-3.3.1.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.3.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for patcherctl-3.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7873a1111147777b15d2c979d9ab004bbd3f86691d5d958615a102cb8c5566d0
MD5 ae408637b9b582d6b6f087599e8b8d44
BLAKE2b-256 e49fe27b244eaf3efd3c934ad4b167622129cf2c4484038ad6ec8b1acd468bae

See more details on using hashes here.

Provenance

The following attestation bundles were made for patcherctl-3.3.1-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