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
Metadata
Release files for mcafee-epo 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcafee-epo-1.1.0.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcafee_epo-1.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / mcafee-epo-1.1.0.tar.gz
| Download URL | mcafee-epo-1.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df2f9775dbeb79a42cce11312c2187be526c3498604f30284b9311c74cf09657
|
|
BLAKE2b-256 checksum How to use checksums |
5d02791e949bf27ca38b9d46c343d4484445e2453b0d9a7d857020c0fd0bd36e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / mcafee_epo-1.1.0-py2.py3-none-any.whl
| Download URL | mcafee_epo-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5d2970c7488aaac168f2cf9e230838493b11448dd1b0438fff2f5b22dd4518fe
|
|
BLAKE2b-256 checksum How to use checksums |
d0a12ab5766f7ef73c902c0622b35650b9340c1e013af9ba733ae8c5dd64b49f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for mcafee-epo 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.