Git Product home page Git Product logo

mcafee-epo's Introduction

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

mcafee-epo's People

Contributors

davidism avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.