https://github.com/release-engineering/iiblib
IIB lib is python IIB client library that allows user to operate with IIB service
https://github.com/release-engineering/iiblib
Last synced: 4 months ago
JSON representation
IIB lib is python IIB client library that allows user to operate with IIB service
- Host: GitHub
- URL: https://github.com/release-engineering/iiblib
- Owner: release-engineering
- License: gpl-3.0
- Created: 2020-02-21T09:45:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T01:03:53.000Z (almost 2 years ago)
- Last Synced: 2025-08-29T11:57:21.084Z (10 months ago)
- Language: Python
- Homepage:
- Size: 194 KB
- Stars: 2
- Watchers: 12
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
iiblib
======
IIB lib is python IIB client library that allows user to operate with IIB service
Requirements
------------
* Python 3.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.iib_client import IIBClient
>>> from iiblib.iib_authentication import IIBKrbAuth
>>> krbauth = IIBKrbAuth()
>>> iibc = IIBClient('iib-host', auth=krbauth)
>>> build = iibc.add_bundles('index_image', 'binary_image', ['bundle1','bundle2'], ['amd64'])
>>> iibc.wait_for_build(build)
>>>
>>> iibc.remove_operators('index_image', 'binary_image', ['operator1'], ['amd64'])