Skip to main content

McAfee ePolicy Orchestrator API

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 required 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.

The official client used 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.0.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

mcafee_epo-1.0.3-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: mcafee-epo-1.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mcafee-epo-1.0.3.tar.gz
Algorithm Hash digest
SHA256 654d8c61b7959e028b4567e39066993f8f565914e987ad246846c1cbdf5a86d4
MD5 385077c767bb12672c45269e988fd6bc
BLAKE2b-256 e15fc416b9657d950c702efa6b0e03adf5daaf08913fe14ad1f613f42b1916e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcafee_epo-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 07cb02771908e9bb5cd8baeeec1a98d6c9ac5e55e48608ae67fbdd31a4ed5b85
MD5 07c017f877af5d697428c0ac4119f7b0
BLAKE2b-256 5cf59e1e0c5564022e2422f067b8721f213a31c59ee9f6a108edd62f3c52a48e

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