Installation¶
Install pymdm for development or deployment.
Install from PyPI¶
$ uv pip install pymdm
With webhook support (requests):
$ uv pip install pymdm[requests]
$ pip install pymdm
With webhook support (requests):
$ pip install pymdm[requests]
For environments using MacAdmins Python (/usr/local/bin/managed_python3):
$ /usr/local/bin/managed_python3 -m pip install --force-reinstall --upgrade pymdm
Note
MacAdmins Python includes requests in its standard library, so the [requests] extra is not needed.
Install from Source¶
$ git clone https://github.com/liquidz00/pymdm.git
$ cd pymdm
$ uv pip install -e .
$ git clone https://github.com/liquidz00/pymdm.git
$ cd pymdm
$ pip install -e .
Development¶
$ git clone https://github.com/liquidz00/pymdm.git
$ cd pymdm
$ make install # Install with dev dependencies (includes docs tooling)
$ make test # Run tests
$ make format # Format code with ruff
$ make docs # Build documentation locally
Fleet Deployment¶
To deploy pymdm to managed Macs via Jamf Pro policy:
/usr/local/bin/managed_python3 -m pip install --force-reinstall --upgrade pymdm
This command can be added as a script payload in a Jamf Pro policy scoped to your managed endpoints.