Metadata-Version: 2.1
Name: resilient
Version: 42.1.2111
Summary: Resilient API
Home-page: https://developer.ibm.com/resilient
Author: IBM Resilient
Author-email: support@resilientsystems.com
License: MIT
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown

![IBM Security](https://raw.githubusercontent.com/ibmresilient/resilient-python-api/master/resilient-sdk/assets/IBM_Security_lockup_pos_RGB.png)

## resilient

This package is a Python client module for the Resilient REST API.

### Recent Changes
 2021-08: version 42.1
 
 * Bug fix removing pinned urllib3 dependency


### Installation  
Instructions for building and installing this package can be found in the 
[repository README](https://github.com/ibmresilient/resilient-python-api/blob/master/README.md).


### Tests  
python setup.py test [-a "<optional co3argparse args>"] [-c <config file>] [-p "<optional pytest args>"]  
e.g. `python setup.py test -a "--org=Test" -c ~/my.config -p "-s"`

### Code coverage
#### pytest-cov
First need to install pytest-cov
`pip install pytest-cov`
`pip3 install pytest-cov`
#### Make folder to store coverage data
`mkdir cov`
#### run test and collect code coverage data
You need the template_test.json file from the tests folder.
`python setup.py test -a "--org=TestOrg" -c ./app.config -p "-s --cov=./resilient --cov-report=html:./cov"`
#### View coverage data
`firefox ./cov/index.html`
   


