Skip to main content

# python-jss

## Introduction: This project aims to offer simple, elegant, pythonic access to the Jamf Casper JSS API.

Jamf provides access to the JSS and most of its object types through a REST API. python-jss allows you interact with the API to create new objects, list or edit the existing ones, and to upload files to configured distribution points.

The level of coverage for convenience methods and properties is primarily centered on Computer management, and specifically, those aspects which factor into policy and package management.

Automating policy creation is streamlined; however, class MobileDeviceInvitations provides nothing beyond basic JSSObject methods and properties to the API. Those aspects which I use heavily in our organization, and in support of [JSSImporter](https://www.github.com/sheagcraig/JSSImporter), tend to be more fleshed out, whereas aspects of the JSS API that I never use tend to be minimalistic. However, based on the code here, it should be easy for anyone wishing to do so to implement a new() method for those objects they’re interested in, and I would be happy to include them. Send me your pull requests!

## Installing: The easiest method is to use pip to grab python-jss: $ pip install python-jss

However, if you use JSSImporter, its package installer uses easy_install since that is included on pre-10.10.5 OS X. You may want to use easy_install instead: $ easy_install -U python-jss.

If you don’t have pip, you should probably get it: https://pip.pypa.io/en/latest/installing.html

Alternately, download the source and copy the python-jss package wherever you normally install your packages.

Behind the scenes, python-jss requires the requests, pyasn1, and ndg-httpsclient packages. If you install using easy-install or pip, these dependencies are handled for you. Otherwise, you’ll have to acquire them yourself: easy_install -U pyasn1 ndg-httpsclient requests

## Linux: python-jss on Linux has some extra dependencies if you need to be able to mount distribution points. - AFP distribution points require the fuse-afp package. - SMB distribution points require the cifs-utils package.

As I’m currently developing on Fedora, these requirements are specific to RedHat-based distros. Feel free to test and comment on Debian so I can update!

## Usage: Please see [the wiki](https://github.com/sheagcraig/python-jss/wiki) for complete documentation.

Also, [my blog](http://sheagcraig.github.io) has a series of posts about using [python-jss](https://github.com/sheagcraig/python-jss), [JSSImporter](https://github.com/sheagcraig/JSSImporter), and [jss_helper](https://github.com/sheagcraig/jss_helper), and solving unique problems using these tools.

Metadata

Release files for python-jss 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-jss 2.1.0
File Size Uploaded
python-jss-2.1.0.tar.gz 79.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-jss 2.1.0
File Interpreter ABI Platform
python_jss-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 188.5 kB

Release files / python-jss-2.1.0.tar.gz

Download URL python-jss-2.1.0.tar.gz
Size 79.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c7e238456413c145dcad44d71fb2601bc97233d1f61f8a49f68cbdf5d16eaa28
BLAKE2b-256 checksum
How to use checksums
22eeb59041d8a7f6bbc4d476fd0e6fb57b5fd4f42235eed440a8404e43f6c1da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.10

Release files / python_jss-2.1.0-py3-none-any.whl

Download URL python_jss-2.1.0-py3-none-any.whl
Size 109.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1d9f845af02d2e2112ebeacfbad71cddf7a79e3593dc66469e3f1653ee07677
BLAKE2b-256 checksum
How to use checksums
71d77c33f97c45a921dce03d598952beda74e69e22c6deb4cd3d25019633dc32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.10

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

1 release file

0.4.0

1 release file

0.3.11

1 release file

0.3.10

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

1 release file

0.2.1

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page