Skip to main content

A client library for Jelastic

Project description

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

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

jelastic_client-8.1.1.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

jelastic_client-8.1.1.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file jelastic_client-8.1.1.1.tar.gz.

File metadata

  • Download URL: jelastic_client-8.1.1.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.4.0

File hashes

Hashes for jelastic_client-8.1.1.1.tar.gz
Algorithm Hash digest
SHA256 3f9b93d288ac5e11ded6d4b4ca4ca7bbf7e2218e324a3b83319e2d53f8e0356e
MD5 fb5107e26f1898a8f3162b5a190a5100
BLAKE2b-256 94bfed662c80c718ade0a3f6e8ff525da1424e3f9882431802512de62457f1c9

See more details on using hashes here.

File details

Details for the file jelastic_client-8.1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jelastic_client-8.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6735ae3a1470477e1c6a3b65a24e239c5b21df5835795370d2591c9e3856c5be
MD5 f9c691b618d65772598a9c2fba534d05
BLAKE2b-256 63f1e84045e543852e6a6e899e78d75e73dd3a86802499c03164d3d748b0af70

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