Skip to content

Repository files navigation

Kowabunga

Official Kowabunga SDK for Python

This is official Python SDK for Kowabunga API.

License: Apache License, Version 2.0PyPi page link -- versionpythonBuild Status

Current Releases

ProjectRelease Badge
KowabungaKowabunga Release
Kowabunga Python SDKKowabunga Python SDK Release

Installation

kowabunga-python can be installed like any other Python library through pip install:

$ pip install kowabunga

Check out the list of released versions.

Configuration

To use kowabunga-python, you’ll need to import the kowabunga package:

importkowabunga

Usage

Creating an API client and listing all Kompute instances can be done by:

importkowabungafromkowabunga.restimportApiExceptionfrompprintimportpprintcfg=kowabunga.Configuration(
host="https://your_kowabunga_kahuna_server/api/v1"
)
cfg.api_key['ApiKeyAuth'] =os.environ["API_KEY"]
withkowabunga.ApiClient(cfg) asclient:
kompute=kowabunga.KomputeApi(client)
try:
forkinkompute.list_komputes():
pprint(kompute.read_kompute(k))
exceptApiExceptionase:
print("Exception when calling KomputeApi->list_komputes: %s\n"%e)

where uri is https://your_kowabunga_kahuna_server and token is the associated API key.

Documentation for API

Refer to API documentation

License

Licensed under Apache License, Version 2.0, see LICENSE.

About

Official Python SDK for Kowabunga

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages