Skip to main content

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.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'])

# 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

## [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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iiblib-0.8.0-1.tar.gz (21.8 kB view details)

Uploaded Source

File details

Details for the file iiblib-0.8.0-1.tar.gz.

File metadata

  • Download URL: iiblib-0.8.0-1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.17

File hashes

Hashes for iiblib-0.8.0-1.tar.gz
Algorithm Hash digest
SHA256 09557b628087095367ffa8d47c2c87b4ce8db5a075f1b2cedebf82ad5fea17ee
MD5 7aeb93f849be2584f7cbc8df34e0c12c
BLAKE2b-256 bed795e8e44ec3ad8f463edcf3d1c0740640f3c974a6f9f654be40e793511c3b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page