Metadata-Version: 2.4
Name: mcafee-epo
Version: 1.1.0
Summary: McAfee ePolicy Orchestrator API client
Home-page: https://github.com/davidism/mcafee-epo
Author: David Lord
Author-email: davidism@gmail.com
License: BSD-3-Clause
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Systems Administration
Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
Description-Content-Type: text/x-rst
License-File: LICENSE.rst
Requires-Dist: requests
Dynamic: license-file

Python client for McAfee ePolicy Orchestrator
=============================================

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 <http://python-requests.org/>`_ 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.


Links
-----

-   Releases: https://pypi.org/project/mcafee-epo/
-   Code: https://github.com/davidism/mcafee-epo
