Python client for the CloudShell REST API
Project description
cloudshell-rest-api
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)
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.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
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
Hashes for cloudshell-rest-api-8.2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3fa8c015e6ec1d732672979a69fb1a19c3e69b4a687787c48c001452daceabf |
|
MD5 | 5f77551940d97c366f635cab011a78d8 |
|
BLAKE2b-256 | 5f5a6dda98564802f7ac554fecc0cbbf9ff12c64d42bf5d600d7a189ee4c1ac8 |