Skip to main content

McAfee ePolicy Orchestrator API client

Project description

A straightforward wrapper around the ePO API. Manages authentication, building requests, and interpreting responses. Simply treat the client object as a callable function, passing the command name and parameters.

Install:

$ pip install mcafee-epo

Use:

>>> from mcafee_epo import Client
>>> client = Client('https://localhost:8443', 'user', 'password')
>>> systems = client('system.find', '')

Differences from “official” client

This library was created in response to the fairly poor client distributed by McAfee, which didn’t support Python 3 and was generally a mess. (You can find a cleaned up version of their client with Python 3 support in the first few commits.)

The official library requires copying files into the Python location to “install” it. This library is an actual package installed using pip.

The official client uses low level url libraries and numerous workarounds to make http requests. This library uses the requests library to greatly simplify the work the previous code was doing while offering better security.

The official client uses a dynamic command discovery and dispatch mechanism to make API calls seem like a nested set of objects. This library forgoes that complexity (which wasn’t understood by IDEs anyway) for a more straightforward approach that just accepts command names when calling.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcafee-epo-1.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

mcafee_epo-1.1.0-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mcafee-epo-1.1.0.tar.gz.

File metadata

  • Download URL: mcafee-epo-1.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for mcafee-epo-1.1.0.tar.gz
Algorithm Hash digest
SHA256 df2f9775dbeb79a42cce11312c2187be526c3498604f30284b9311c74cf09657
MD5 fae84de01b425b3c1840bab55b201d92
BLAKE2b-256 5d02791e949bf27ca38b9d46c343d4484445e2453b0d9a7d857020c0fd0bd36e

See more details on using hashes here.

File details

Details for the file mcafee_epo-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mcafee_epo-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for mcafee_epo-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d2970c7488aaac168f2cf9e230838493b11448dd1b0438fff2f5b22dd4518fe
MD5 c6909abff99d5c823ab1c056e21b44b0
BLAKE2b-256 d0a12ab5766f7ef73c902c0622b35650b9340c1e013af9ba733ae8c5dd64b49f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page