Python wrapper for Jamf Pro API
Project description
python-jamf
Programmatic Automation, Access & Control of Jamf Pro
Introduction
python-jamf
is a Python 3 module to access the Jamf Pro Classic API. The Classic API is the primary tool for programmatic access to data on a Jamf Pro server to allow integrations with other utilities or systems. The concept behind it is to have a class or simply a collection of data (variables) and methods (functions) that maps directly to the API (https://example.com:8443/api).
The python-jamf
API class doesn't hide anything from you. It handles the URL requests, authentication, and converts between XML/JSON to Python dictionaries/lists.
The python-jamf
module also provides undocumented access to Jamf Admin functionality used for uploading items to Jamf Distribution Points.
Supported Jamf Records
Currently, the python-jamf
supports 56 Jamf records like Buildings, Categories, Computers, OSXConfigurationProfiles, and Policies for example.
Each record is a Python object, but they are generic. Objects do not have member variables for Jamf data. All Jamf Pro data is stored as a Python dictionary that is accessed with the data() method. Lists of records and individual records use the same object type as well. So all class names are plural, regardless if they represent a list of objects or one object.
Getting Help
Wiki
For further in-depth details please check out the wiki.
MacAdmin Slack Channel
If you have additional questions, or need more help getting started, post a question on the MacAdmin's Slack jctl channel.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python_jamf-0.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16cca0fd751615d8ce88553cf4650817946af032e534c5eddf230e51b4834e1b |
|
MD5 | 0fdd6cbc656b624f97854aad48ec05fb |
|
BLAKE2b-256 | 9c73aa25b203b3eb26c58bc64a5894ab01efaabb74553ab492262bdded9152ab |