Skip to main content

Python client for the CloudShell REST API

Project description

cloudshell-rest-api

https://travis-ci.org/QualiSystems/cloudshell-rest-api.svg?branch=master https://coveralls.io/repos/github/QualiSystems/cloudshell-rest-api/badge.svg?branch=master https://img.shields.io/pypi/v/cloudshell-rest-api.svg?maxAge=2592000

Python client for the CloudShell REST API

Features

  • Add Shell - adds a new Shell Entity (supported from CloudShell 7.2)

  • Update Shell - updates an existing Shell Entity (supported from CloudShell 7.2)

  • Delete Shell - removes an existing Shell Entity (supported from CloudShell 9.2)

  • Get Installed Standards - gets a list of standards and matching versions installed on CloudShell (supported from CloudShell 8.1)

Installation

Install cloudshell-rest-api Python package from PyPI:

pip install cloudshell-rest-api

Getting started

Make sure to include this line in the beginning of your file:

from cloudshell.rest.api import PackagingRestApiClient

Login to CloudShell:

client = PackagingRestApiClient('SERVER', 9000, 'USER', 'PASS', 'Global')

Add a new Shell to CloudShell:

client.add_shell('work//NutShell.zip')

License

  • Free software: Apache Software License 2.0

History

8.2.2.0 (2019-01-08)

  • Added delete shell method to rest-api

8.2.0.0 (2017-09-19)

  • newest addition to rest-api. please welcome get_shell - returns a requested shell information

8.1.1.0 (2017-08-27)

  • remodeling update_shell to also accept shell name

8.1.0.1 (2017-06-12)

  • Bug fix

8.1.0.0 (2017-06-04)

  • Query installed standards on CloudShell server

7.2.0.6 (2016-09-01)

  • First release of with Add Shell and Update Shell features

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

cloudshell-rest-api-8.2.3.2.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file cloudshell-rest-api-8.2.3.2.tar.gz.

File metadata

  • Download URL: cloudshell-rest-api-8.2.3.2.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.15

File hashes

Hashes for cloudshell-rest-api-8.2.3.2.tar.gz
Algorithm Hash digest
SHA256 1f1f0076205aa9e84706ae0be30e2404d52432f4b05d339cca49e696f74616fb
MD5 c112e6c5a49f2362e07d48cca2212a41
BLAKE2b-256 8fc241806b0f9ee1e5eeade8f238790300d82ffcaf8f3d71e2b3fff7ae36054a

See more details on using hashes here.

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