Hey, I am looking ideas to use Python to accomplish various tasks with Jamf. I am not sure where to get started or how powerful Python is with Jamf Pro.
What do you use Python scripting in Jamf Pro to accomplish?

Best answer by nstrauss
This list is slightly out of date, but is a still a very good list of Mac/Apple admin tools built with Python. https://github.com/timsutton/python-macadmin-tools
Some of the best known are Munki, AutoPkg, dockutil, and outset. There are a ton of others.
Python also gives you access to PyObjC which extends your scripting possibilities even further if you're interested in experimenting with Apple frameworks. Something like this - https://github.com/gregneagle/macaduk2017
Bash is still great and useful in many situations. You'll notice though that most open source Apple management projects aren't written in it. Instead they prefer Python, Ruby, Swift, etc. Guess I can't provide a definitive answer as to why, but in my opinion it's because those languages handle data processing much better than bash and have built in functions/modules for common tasks. Things like text manipulation, reading/writing JSON, looping over lists, etc. are just way easier.
Think ultimately it's good to use the tool that works for your situation. If bash is that tool then go for it.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.