# cloudshell-rest-api
[](https://github.com/QualiSystems/cloudshell-rest-api/actions?query=branch%3Amaster) [](https://codecov.io/gh/QualiSystems/cloudshell-rest-api) [](https://badge.fury.io/py/cloudshell-rest-api) [](https://github.com/python/black)
## Features
Add Shell - adds a new Shell Entity (supported from CloudShell 8.0)
Update Shell - updates an existing Shell Entity (supported from CloudShell 8.0)
Delete Shell - removes an existing Shell Entity (supported from CloudShell 9.2)
Get Shell - get Shell’s information
Get Installed Standards - gets a list of standards and matching versions installed on CloudShell (supported from CloudShell 8.1)
Import Package - imports a package to CloudShell
Export Package - exports a package from CloudShell
## Installation
`bash pip install cloudshell-rest-api `
## Getting started
`python from cloudshell.rest.api import PackagingRestApiClient # Loging to CloudShell client = PackagingRestApiClient.login("HOST", "USERNAME", "PASSWORD", "DOMAIN") # Or connect with a token client = PackagingRestApiClient("HOST", "TOKEN") # Add a new Shell to CloudShell client.add_shell("SHELL_PATH.zip") `
## License
Free software: Apache Software License 2.0
History
9.0.0 (2023-05-04)
Added get_shell_as_model, get_installed_standards_as_model
Added the ability to connect with an existing token
Added progress bar for downloading/uploading files
Removed support of Python2
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
Release files for cloudshell-rest-api 9.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloudshell_rest_api-9.0.2.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudshell_rest_api-9.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / cloudshell_rest_api-9.0.2.tar.gz
| Download URL | cloudshell_rest_api-9.0.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45037a21fd2f2f0503c79db441009c0fa47c84f57a6b9d3d3f239c9a9b906216
|
|
BLAKE2b-256 checksum How to use checksums |
c192cfa274006141695976963d30b0bc35d020ce66cdb52bcda5aedf0af7673f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / cloudshell_rest_api-9.0.2-py3-none-any.whl
| Download URL | cloudshell_rest_api-9.0.2-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93ccacd981b3c649629f5e96c6d92b7c4cfbcde1374c744264e5e8b986ae34e3
|
|
BLAKE2b-256 checksum How to use checksums |
92578f0de83e7a53872d14c3a387456a5836168da97ae94a81b27800a3f2c491
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|