Skip to content

lipoja/iiblib

 
 

Repository files navigation

iiblib

IIB lib is python IIB client library that allows user to operate with IIB service

Requirements

  • Python 3.7 over
  • Python 2.7 over

Setup

# pip install -r requirements.txt
$ python -m pip install --user iiblib
or
(venv)$ python -m pip install iiblib

Usage

Basic usage of IIBClient from iiblib is following

$ python
>>> from iiblib.iibclient import IIBClient, IIBKrbAuth
>>> krbauth = IIBKrbAuth()
>>> iibc = IIBClient('iib-host', krbauth)
>>> build iibc.add_bundles('index_image', 'binary_image', ['bundle1','bundle2'], ['x86_64'])
>>> iibc.wait_for_build(build)
>>>
>>> iibc.remove_operators('index_image', 'binary_image', ['operator1'], ['x86_64'])

About

IIB lib is python IIB client library that allows user to operate with IIB service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.6%
  • Shell 3.4%