IIB client library
Project description
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.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'])
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
N/A
## [1.0.0] - 2020-10-20
- ### Changed
Version set to 1.0.0 to indicate stable release
## [0.13.0] - 2020-10-14
- ### Changed
Rename file iibclient.py to iib_client.py
Create new files for classes from iib_client.py
## [0.12.0] - 2020-09-29
### Added
added support for ‘omps_operator_version’
### Changed
‘bundles’ is now an optional parameter in IIB requests
‘binary_image’ is now an optional parameter in IIB requests
## [0.11.0] - 2020-07-06
### Added
timout for getting build in final state (default 2 hours)
backoff factor for retrying data from API
### Changed
retry is now triggered for all 5xx HTTP status codes (500-511)
## [0.10.0] - 2020-06-25
### Fixed
usage in README
default location for keytab
### Added
support for “overwrite-from-index-token” when calling IIB
### Changed
password-based auth to token by replacing content-delivery-release-bot
## [0.9.0] - 2020-03-30
### Added
added overwrite_from_index param support
## [0.8.0] - 2020-03-04
### Changed
better error reporting for IIB errors
### Added
to_dict method for IIBBuildDetailsModel
## [0.7.0] - 2020-03-04
### Fixed
rhel 6 compatibility kerberos fixes
## [0.6.0] - 2020-03-01
### Fixed
requests-gssapi replaced with requests-kerberos
## [0.5.0] - 2020-02-29
### Fixed
kerberos auth fixed
## [0.4.0] - 2020-02-27
### Fixed
make client compatible with upstream IIB
## [0.3.0] - 2020-02-27
### Fixed
Fixed kerberos auth
added way how to configure insecure ssl connection to IIB
## [0.2.0] - 2020-02-26
### Fixed
Fixed incompatibilities with IIB
## [0.1.0] - 2020-02-21
### Added - First iiblib release with support of basic IIB operations
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iiblib-1.0.0.tar.gz
.
File metadata
- Download URL: iiblib-1.0.0.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8de2a4f9e88db6375231f978c09443754132725246875731923e541f1c9420e |
|
MD5 | 01d7cdf7e43578a89406467e483cfb1e |
|
BLAKE2b-256 | f2a277f348b5efd1a77ed3a3e17fb6ebb28004feab7786e0dd981f1a7a9f9a7b |