A client library for Jelastic
Project description
jelastic-client
A Jelastic API python library.
Installation
pip3 install jelastic-client
Usage
At the root of this repository, you can run
import jelastic_client
api_url = "https://[hoster-api-host]/1.0/"
api_token = "your-private-access-token"
factory = jelastic_client.JelasticClientFactory(api_url, api_token)
jps_client = factory.create_jps_client()
env_name = "my-jelastic-client-test"
jps_client.install_from_file("./test/data/valid_manifest.jps", env_name)
control_client = factory.create_control_client()
env_info = control_client.get_env_info(env_name)
assert env_info.is_running() is True
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
jelastic_client-1.3.31.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for jelastic_client-1.3.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20d35b9d690250f26d8b7fe73615f7958474840e6011c8765178099ad61a2a8 |
|
MD5 | a795f71f6abbb0f449b0368d27afd37f |
|
BLAKE2b-256 | 2c66abe2c73ab1ef9c23a5f15401738e8924169ebe846195d602ce3d8107fd47 |