pymdm Documentation¶
A cross-platform Python utility package for MDM deployment scripts, built for MacAdmins Python and Jamf Pro workflows. Windows/Intune support included for mixed-platform fleets.
Features¶
CommandRunner — Subprocess execution with credential sanitization and
check=FalsemodeMdmLogger — Structured logging with file output and rotation
SystemInfo — Serial number, console user, hostname across platforms
WebhookSender — Webhook delivery with optional custom headers
ParamParser — Jamf Pro script parameters 4-11
IntuneParamProvider — Env var and argv parsing for Intune
Dialog — swiftDialog integration (macOS)
DarwinDefaults — Read, write, delete
defaultsplist valuesDarwinServiceManager —
launchctlis_loaded, bootout, bootstrap
Win32Registry — Read, write, delete registry values via
winregWin32ServiceManager —
sc.exeis_running, start, stop, delete
Quick Links¶
Requirements¶
Python 3.12+ uv package manager (recommended) macOS with MacAdmins Python for Jamf Pro scripts Windows with Python 3.12+ for Intune scripts