Skip to content

softozor/jelastic-client

Repository files navigation

Build Status

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages