Python 3 bindings for Juju
Project description
# macumba
python3 bindings for juju
# Usage
This example demonstrates how to deploy Openstack Keystone into Juju
```python
#!/usr/bin/env python3
import sys
import macumba
JUJU_URL = 'wss://localhost:17070/'
JUJU_PASS = 'pass'
if __name__ == "__main__":
j = macumba.JujuClient(url=JUJU_URL, password=JUJU_PASS)
j.login()
j.deploy('keystone')
```
## macumba-shell
Running `macumba-shell` will allow you to work with the api directly.
To get help with the library run
```
>>> help(j)
```
To deploy a charm
```
>>> j.deploy('mysql', 'mysql')
```
# Authors
2014 Adam Stokes <adam.stokes@ubuntu.com>
# Copyright
2014 Canonical, Ltd.
# License
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
python3 bindings for juju
# Usage
This example demonstrates how to deploy Openstack Keystone into Juju
```python
#!/usr/bin/env python3
import sys
import macumba
JUJU_URL = 'wss://localhost:17070/'
JUJU_PASS = 'pass'
if __name__ == "__main__":
j = macumba.JujuClient(url=JUJU_URL, password=JUJU_PASS)
j.login()
j.deploy('keystone')
```
## macumba-shell
Running `macumba-shell` will allow you to work with the api directly.
To get help with the library run
```
>>> help(j)
```
To deploy a charm
```
>>> j.deploy('mysql', 'mysql')
```
# Authors
2014 Adam Stokes <adam.stokes@ubuntu.com>
# Copyright
2014 Canonical, Ltd.
# License
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
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
macumba-0.3.1.tar.gz
(6.1 kB
view details)
File details
Details for the file macumba-0.3.1.tar.gz.
File metadata
- Download URL: macumba-0.3.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bcf971c4b17e94c4c1ef19c84cd0299ac46e05cb35317e6f3d4a0869879c99d
|
|
| MD5 |
629953d1edb390bf5f0d3923209fc9bf
|
|
| BLAKE2b-256 |
c734d1f0114efd0b397a2f2e9027526a303743d4e3539c1e4b20a5f9c0356ed4
|