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
Metadata
Release files for jelastic-client 8.1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jelastic_client-8.1.1.1.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jelastic_client-8.1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.1 kB
Release files / jelastic_client-8.1.1.1.tar.gz
| Download URL | jelastic_client-8.1.1.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f9b93d288ac5e11ded6d4b4ca4ca7bbf7e2218e324a3b83319e2d53f8e0356e
|
|
BLAKE2b-256 checksum How to use checksums |
94bfed662c80c718ade0a3f6e8ff525da1424e3f9882431802512de62457f1c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.1 Linux/5.4.0
|
Release files / jelastic_client-8.1.1.1-py3-none-any.whl
| Download URL | jelastic_client-8.1.1.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6735ae3a1470477e1c6a3b65a24e239c5b21df5835795370d2591c9e3856c5be
|
|
BLAKE2b-256 checksum How to use checksums |
63f1e84045e543852e6a6e899e78d75e73dd3a86802499c03164d3d748b0af70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.1 Linux/5.4.0
|