jujuclient 0.0.9
pip install jujuclient==0.0.9
Newer version available (0.54.0)
Released:
A juju-core/gojuju simple synchronous python api client.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: UNKNOWN
- Author: Kapil Thangavelu
Classifiers
- Development Status
- Intended Audience
- Programming Language
- Topic
Project description
A simple synchronous python client for the juju-core/gojuju websocket api.
Example Usage:
from jujuclient import Environment env = Environment("wss://instance-url:17070") env.login('secret') watcher = env.watch() env.deploy('loadbalancer', 'cs:precise/haproxy') env.deploy('db', 'cs:precise/mysql') env.deploy('blog', 'cs:precise/wordpress') env.add_relation('blog', 'db') env.add_relation('blog', 'loadbalancer') env.expose('loadbalancer') env.set_config('blog', {'engine': 'apache'}) env.get_config('blog') env.set_constraints('blog', {'cpu-cores': 4}) env.add_units('blog', 4) env.remove_units(['blog/0']) env.destroy_service('blog') for change_set in watcher: print change_set
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: UNKNOWN
- Author: Kapil Thangavelu
Classifiers
- Development Status
- Intended Audience
- Programming Language
- Topic
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
File details
Details for the file jujuclient-0.0.9.tar.gz
.
File metadata
- Download URL: jujuclient-0.0.9.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc9de2fd10c32b1cc998ae0618b7c8c96f44abf5f052b7efecc82b0b0baf18c |
|
MD5 | 9d3677ac14fcb65d1bbeae934744432b |
|
BLAKE2b-256 | 9ccacecf57c500f88f3747cf4d6a9d49b8339f56df6c38c3ef163c2ec7c0b0ff |