Metadata-Version: 2.1
Name: pyisva
Version: 0.2.2
Summary: Python API for IBM Security Verify Access
Author: Lachlan Gleeson
Author-email: lgleeson@au1.ibm.com
License: MIT
Project-URL: Homepage, https://github.com/lachlan-ibm/pyisva
Project-URL: Documentation, https://lachlan-ibm.github.io/pyisva
Project-URL: Source, https://github.com/lachlan-ibm/pyisva
Project-URL: Tracker, https://github.com/lachlan-ibm/pyisva/issues
Description-Content-Type: text/markdown
License-File: LICENSE.txt
License-File: AUTHORS.md

# PyISVA

PyISVA is a Python library that wraps the IBM Security Verify Access RESTful Web services to provide a
quick and easy way to construct configuration scripts for appliances.

**Supported Versions**

- IBM Security Verify Access 10.0.6.0
- IBM Security Verify Access 10.0.5.0
- IBM Security Verify Access 10.0.4.0
- IBM Security Verify Access 10.0.3.1
- IBM Security Verify Access 10.0.3.0
- IBM Security Verify Access 10.0.2.0
- IBM Security Verify Access 10.0.1.0
- IBM Security Verify Access 10.0.0.0
- IBM Security Access Manager 9.0.7.0
- IBM Security Access Manager 9.0.6.0
- IBM Security Access Manager 9.0.5.0
- IBM Security Access Manager 9.0.4.0
- IBM Security Access Manager 9.0.3.0
- IBM Security Access Manager 9.0.2.1
- IBM Security Access Manager 9.0.2.0

## Installation

For Linux/macOS: if you clone the library to `~/repos/pyisva`, add this to `~/.profile`:
```sh
# add pyisva library to Python's search path
export PYTHONPATH="${PYTHONPATH}:${HOME}/repos/pyisva"
```

## From IBM Security Verify Access 10.0.0.0 onwards:
Module has been build into a package Currently hosted on PyPi that can be installed using pip:

```sh
pip install pyisva
```

## Usage

```python
>>> import pyisva
>>> factory = pyisva.Factory("https://isam.mmfa.ibm.com", "admin", "Passw0rd")
>>> web = factory.get_web_settings()
>>> resp = web.reverse_proxy.restart_instance("default")
>>> if resp.success:
...     print("Successfully restarted the default instance.")
... else:
...     print("Failed to restart the default instance. status_code: %s, data: %s" % (resp.status_code, resp.data))
...
Successfully restarted the default instance.
```

## Documentation
Documentation for using this library can be found on [pyisva GitHub pages](https://lachlan-ibm.github.io/pyisva/index.html).
